httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: [users@httpd] Starting httpd: httpd: bad user name apache [FAILED]
Date Thu, 25 Nov 2004 10:54:47 GMT
On Mon, Nov 22, 2004 at 10:57:12PM -0700, Phil Hutchinson wrote:
> I find that I am unable to start the server.  The message that pops up in
> the Service Configuration dialog and that is left in the Boot Log is:
> 
>      httpd failed.  The error was:  Stopping httpd: [FAILED]
>      Starting httpd:  httpd: bad user name apache [FAILED]
> 
> Also in the System Log I see associated messages reading:
> 
>      Nov 21 14:11:23 monorail kernel:  audit(1101071483.955.0): avc: denied
> { read } for pid=4217 exe=/usr/sbin/httpd name=passwd dev=dm-0 ino=3899473
> scontext=root:system_r:httpd_t tcontext=root:object_r:tmp_t tclass=file
> 
> ... which appears just ahead of a "bad user name apache" entry.

This looks like an SELinux audit error due to bad labelling of
/etc/passwd.  Try running: "/sbin/fixfiles restore" as root.

If you still have issues please mail fedora-selinux-list@redhat.com.

Note that httpd is covered by the SELinux policy in FC3, so you might
like to review the SELinux/Apache guide:
http://fedora.redhat.com/docs/selinux-apache-fc3/

or for general SELinux/FC3 info:
http://fedora.redhat.com/docs/selinux-faq-fc3/

Regards,

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message