HTTP Dead

http dead but subsys locked

If there is no httpd processes and already tried to restart the services, somehow below output is given for httpd status.

http dead but subsys locked

This solution might help you :

First, check running processes :

 ipcs -s | grep apache

Next, kill all of the processes :

ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'

Then, remove httpd lock file :

cd /var/lock/subsys
rm httpd

Finally, restart the httpd services.

Last updated

Was this helpful?