[CentOS] Apache problem

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



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

<<attachment: test.zip>>

_______________________________________________
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