RE: [CentOS] Apache problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 2006-06-22 at 12:14 +1200, Miskell, Craig wrote:
> > I maintain 10 webservers which is used for add delivery using 
> > PHP.sometimes 
> > when the load is high my apache process suddenly dies & i 
> > restart apache.
> > 
> > 
> > i find the following errors in my /var/log/messages/
> > 
> > server1 kernel: audit(1150892521.827:18474474): avc: denied { 
> > write } for 
> > pid=28135 comm="httpd" name="php-mmcache" dev=sda7 ino=2146317 
> > scontext=root:system_r:httpd_t 
> > tcontext=system_u:object_r:var_t tclass=dir
> > 
> > i think the above one is something related to selinux.so i 
> > disabled selinux 
> > stopped iptables & disabled firewall.
> > 
> > /sbin/fixfiles restore
> > 
> > but still i get the above error message in my /var/log/messages
> I would suggest that if you are still getting this message, then you
> haven't disabled selinux properly.

That would be to edit the file /etc/sysconfig/selinux and to set this:

SELINUX=disabled

Then ... reboot

>   Also, there should be no reason to
> stop/disable the firewall to stop these messages - I strongly recommend
> you re-enabled it ASAP.

Good idea :)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux