hi
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
how to fix this???
when i run top d 1 i see a few Zombie process of httpd
12198 apache 16 0 0 0 0 Z 3.0 0.0 0:00.09 httpd <defunct>
Os Centos 4.2 X86_64 bit
Apache 2.0.52
below i am attaching the output of test.php which is in test.zip
how can i fix this problem ..
thanx & regards
kishore chowdary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.zip
Type: application/zip
Size: 7529 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20060622/64464b8b/attachment-0004.zip>