Hi,
sys: Centos 5.2 x86_64
Trying to switch from sendmail to postfix I did:
# yum remove sendmail
which resulted in erasing of: mdadm sendmail-doc sendmail sendmail-cf mutt fetchmail redhat-lsb
I did then:
yum -y install redhat-lsb.x86_64 postfix
and got this error:
Installing: postfix ######################### [1/2] postfix: fatal: file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root Installing: redhat-lsb ######################### [2/2]
I checked and indeed there is no group postdrop on the system. On an El5 system I see the group.
Thx Rainer
Rainer Traut wrote:
I checked and indeed there is no group postdrop on the system. On an El5 system I see the group.
Are you using any sort of network authentication system like NIS or LDAP? Or just standard local files?
nate
nate schrieb:
Rainer Traut wrote:
I checked and indeed there is no group postdrop on the system. On an El5 system I see the group.
Are you using any sort of network authentication system like NIS or LDAP? Or just standard local files?
No NIS or LDAP, plain local files.
Rainer
Rainer Traut wrote:
No NIS or LDAP, plain local files.
I haven't tried CentOS 5.2 yet(keep seeing reports of issues), postfix in 5.1 worked fine for me and in 4.x. I suggest just adding the group manually and removing/re-installing the postfix rpm. Perhaps there is a bug in the 5.2 RPM that doesn't add the group correctly for some reason.
What I'd probably do is just copy/paste the postdrop entry from the other system's /etc/group file to the system that doesn't have it.
I use the same password/group/shadow files across CentOS 4, 5, and FC8 (and in the past FC4, and FC5) so the UIDs/GIDs are pretty compatible.
nate
Rainer Traut wrote:
Hi,
sys: Centos 5.2 x86_64
Trying to switch from sendmail to postfix I did:
# yum remove sendmail
which resulted in erasing of: mdadm sendmail-doc sendmail sendmail-cf mutt fetchmail redhat-lsb
I did then:
yum -y install redhat-lsb.x86_64 postfix
and got this error:
Installing: postfix ######################### [1/2] postfix: fatal: file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root Installing: redhat-lsb ######################### [2/2]
I checked and indeed there is no group postdrop on the system. On an El5 system I see the group.
Thx Rainer
You don't need to remove sendmail, you can just use system-switch-mail to set postfix as the MTA.
There is documentation on setting up a basic postfix server (on CentOS 5) on the Wiki here:
Thx for your answer.
Ned Slider schrieb:
Rainer Traut wrote:
Trying to switch from sendmail to postfix I did:
# yum remove sendmail
which resulted in erasing of: mdadm sendmail-doc sendmail sendmail-cf mutt fetchmail redhat-lsb
I did then:
yum -y install redhat-lsb.x86_64 postfix
and got this error:
Installing: postfix ######################### [1/2] postfix: fatal: file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root Installing: redhat-lsb ######################### [2/2]
You don't need to remove sendmail, you can just use system-switch-mail to set postfix as the MTA.
I knew that thx. I tested the exact same steps on our internal testmachine. Must admit it has EL5.2 x86_64 on it but did not show this behaviour.
Rainer
Ok, think I found the cause...
The server I try to install to has heartbeat/cluster software installed. I already has a group with GID 90: # grep 90 /etc/group haclient:x:90:
The postfix rpm has hardcoded: /usr/sbin/groupadd -g 90 -r postdrop 2>/dev/null
So that's the reason I get the messages...
Thx for all your help Rainer
Rainer Traut schrieb:
Thx for your answer.
Ned Slider schrieb:
Rainer Traut wrote:
Trying to switch from sendmail to postfix I did:
# yum remove sendmail
which resulted in erasing of: mdadm sendmail-doc sendmail sendmail-cf mutt fetchmail redhat-lsb
I did then:
yum -y install redhat-lsb.x86_64 postfix
and got this error:
Installing: postfix ######################### [1/2] postfix: fatal: file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root warning: group postdrop does not exist - using root Installing: redhat-lsb ######################### [2/2]
You don't need to remove sendmail, you can just use system-switch-mail to set postfix as the MTA.
I knew that thx. I tested the exact same steps on our internal testmachine. Must admit it has EL5.2 x86_64 on it but did not show this behaviour.
Rainer Traut wrote:
Ok, think I found the cause...
The server I try to install to has heartbeat/cluster software installed. I already has a group with GID 90:
Makes sense then, where did heartbeat/cluster software come from? If it's a supported package on RHEL-based systems it shouldn't add a user or group with a conflicting ID.
nate
nate schrieb:
Rainer Traut wrote:
Ok, think I found the cause...
The server I try to install to has heartbeat/cluster software installed. I already has a group with GID 90:
Makes sense then, where did heartbeat/cluster software come from? If it's a supported package on RHEL-based systems it shouldn't add a user or group with a conflicting ID.
It's from the LinuxHA/Pacemaker project which has its own repo build by OpenSuse build service.
repo here: http://download.opensuse.org/repositories/server:/ha-clustering/
Rainer