Apache Fails to Start - Fedora 5

Alastair Neil ajneil at gmail.com
Fri Sep 7 21:05:53 UTC 2007


selinux is preventing the daemon from opening the error_log file.  You
probably have to relabel the file with the httpd_log_t  tcontext.  You could
try touching /.relabel and reboot.



On 9/7/07, Nate McLain <natemclain at gmail.com> wrote:
>
> Im having some problems getting Apache to run.
> When I use /etc/rc.d/init.d/httpd start
> I get Failed on the process.
> When I tail the /var/log/messages file I get:
>
> Sep  7 13:12:07 tenacity kernel: audit(1189188727.890:1168): avc:
> granted  { execstack } for  pid=20060 comm="monitor.pl"
> scontext=root:system_r:unconfined_t:s0-s0:c0.c255tcontext=root:system_r:unconfined_t:s0-s0:
> c0.c255 tclass=process
> Sep  7 13:12:07 tenacity kernel: audit(1189188727.890:1169): avc:
> granted  { execmem } for  pid=20060 comm="monitor.pl"
> scontext=root:system_r:unconfined_t:s0-s0:c0.c255tcontext=root:system_r:unconfined_t:s0-s0:
> c0.c255 tclass=process
> Sep  7 13:14:07 tenacity kernel: audit(1189188847.642:1170): avc:
> granted  { execstack } for  pid=20085 comm="monitor.pl"
> scontext=root:system_r:unconfined_t:s0-s0:c0.c255tcontext=root:system_r:unconfined_t:s0-s0:
> c0.c255 tclass=process
> Sep  7 13:14:07 tenacity kernel: audit(1189188847.642:1171): avc:
> granted  { execmem } for  pid=20085 comm="monitor.pl"
> scontext=root:system_r:unconfined_t:s0-s0:c0.c255tcontext=root:system_r:unconfined_t:s0-s0:
> c0.c255 tclass=process
> Sep  7 13:14:29 tenacity kernel: audit(1189188869.627:1172): avc:  denied
> { search } for  pid=20108 comm="httpd" name="www" dev=dm-0 ino=1798758
> scontext=root:system_r:httpd_t:s0 tcontext=system_u:object_r:file_t:s0
> tclass=dir
> Sep  7 13:14:29 tenacity kernel: audit(1189188869.627:1173): avc:  denied
> { getattr } for  pid=20108 comm="httpd" name="html" dev=dm-0 ino=2878402
> scontext=root:system_r:httpd_t:s0 tcontext=system_u:object_r:file_t:s0
> tclass=dir
> Sep  7 13:14:29 tenacity kernel: audit(1189188869.703:1174): avc:  denied
> { append } for  pid=20108 comm="httpd" name="error_log" dev=dm-0 ino=1807242
> scontext=root:system_r:httpd_t:s0 tcontext=root:object_r:file_t:s0
> tclass=file
>
> Can anyone shed any light on this situation so that I might be able to
> learn how to fix the problem?
>
> TIA
>
> Nate
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070907/93f2ad95/attachment-0001.htm>


More information about the fedora-list mailing list