Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-17 Thread Scott Silva
on 5/16/2012 1:03 PM John R. Dennison spake the following: > On Wed, May 16, 2012 at 02:57:03PM -0500, Gilbert Sebenste wrote: >> >> No, it was the same reason I couldn't get Apache to work: >> >> Selinux was enabled. >> >> I disabled Selinux. Now, both work fine. > > Um, both work out of the box

Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, Gilbert Sebenste wrote: > On Wed, 16 May 2012, John R. Dennison wrote: > >> Um, both work out of the box with selinux set to enforcing. There are >> other issues at play. >> >> Disabling selinux is never a fix. Found the issue. /var/spool/mail permission wasn't set correc

Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, William Hooper wrote: > Did you relabel after copying? I believe you want to look at > restorecon (or just relabel the whole filesystem). No, I didn't. And that's where the problem lies. :-) Bingo. Thanks! Gilbert ***

Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread William Hooper
On Wed, May 16, 2012 at 2:50 PM, Gilbert Sebenste 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/m

Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, John R. Dennison wrote: > Um, both work out of the box with selinux set to enforcing. There are > other issues at play. > > Disabling selinux is never a fix. What other issues should I look for? I used apache out of the box with the default config, changed it to my server n

Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread John R. Dennison
On Wed, May 16, 2012 at 02:57:03PM -0500, Gilbert Sebenste wrote: > > No, it was the same reason I couldn't get Apache to work: > > Selinux was enabled. > > I disabled Selinux. Now, both work fine. Um, both work out of the box with selinux set to enforcing. There are other issues at play. Dis

Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, Steve Thompson wrote: > 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 No,

Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Steve Thompson
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 ___ CentOS mail

[CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
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/p