Httpd dead but subsys locked error
S. Seshadri Raja
s.seshadri.raja at gmail.com
Tue Apr 5 23:21:10 UTC 2011
Hi all,
I'm facing a problem with the apache server. The httpd service automatically
going down. When, I check the status it giving the error "httpd dead but
subsys locked". To resolve the problem, I Google and found the below
solution.
#ipcs -s | grep httpd
Output:
0x00000000 3145728 apache 600 1
0x00000000 3178497 apache 600 1
0x00000000 3276802 apache 600 1
0x00000000 3309571 apache 600 1
#ipcs -s | grep httpd | perl -e 'while (<STDIN>) { @a=split(/\s+/);
print `ipcrm sem $a[1]`}'
Output:
resource(s) deleted
resource(s) deleted
resource(s) deleted
resource(s) deleted
# cd /var/lock/subsys
# rm httpd
# service httpd status
But, Still the httpd service getting down automatically. Can anyone help me.
Linux Flavor : Cent OS
Apache Version : Apache/1.3.41
*
Thanks & Regards
S. Seshadri Raja | System Engineer
*
More information about the redhat-list
mailing list