Gilbert Sebenste
2012-May-16 18:50 UTC
[CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86
Hello everyone, I cannot get the Postfix service to start on my pristine copy of CentOS 6.2 (installed straight from a DVD, and 6.2 directly, not 6.0 with upgrades...not thatit should matter). Anyway, I copied over /var/spool/mail to this system by using tar, as well as /etc/services and /etc/passwd, etc. Now, it doesn't want to start. I get permission errors like: postfix/master: warning: /usr/libexec/postfix/pickup pid 2006 exit 1 postfix/master:warning /usr/libexec/postfix/pickup: bad command startup -- throttling postfix/pickup: fatal: scan_dir_push: open directory maildrop: permission denied warning: the postfix sendmail command has set-uid root file permissions warning: or the command is run from a set-uid root process warning: the Postfix sendmail command must be installed without set-uid root file permissions Now, I Googled these errors, and didn't see any good specific help for CentOS. So, I did a yum erase postfix, which also erased dependencies. After I did that, I erased the /etc/postfix directory. I then reinstalled postfix with all the dependencies...and got the same errors. Then I googled the CentOS mailing list for help...nothing that applied to me turned up that I saw. I'm stumped. Does anyone have any ideas what the issue could be? Gilbert ******************************************************************************* Gilbert Sebenste ******** (My opinions only!) ****** *******************************************************************************
Steve Thompson
2012-May-16 18:53 UTC
[CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86
On Wed, 16 May 2012, Gilbert Sebenste wrote:> I'm stumped. Does anyone have any ideas what the issue could be?Yes, you overwrote /etc/passwd and who knows what else, so it is no wonder that it is completely broken. Start again. Steve
William Hooper
2012-May-16 20:24 UTC
[CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86
On Wed, May 16, 2012 at 2:50 PM, Gilbert Sebenste <sebenste at weather.admin.niu.edu> wrote:> Hello everyone, > > I cannot get the Postfix service to start on my pristine copy of CentOS > 6.2 (installed straight from a DVD, and 6.2 directly, not 6.0 with > upgrades...not thatit should matter). > > Anyway, I copied over /var/spool/mail to this system by using tar, > as well as /etc/services and /etc/passwd, etc. Now, it doesn't want to > start. I get permission errors like:Did you relabel after copying? I believe you want to look at restorecon (or just relabel the whole filesystem). http://wiki.centos.org/HowTos/SELinux -- William Hooper
Maybe Matching Threads
- Postfix question: How to reject email with a certain subject header
- Centos 6.8 GDM possible bug: can't log into another user
- CentOS 5.6 will not install due to Firefox error
- Cannot print on Centos 6.7 [***NOT*** SOLVED]
- OSS DSP sound card input on CentOS 6.2?