Service httpd status, results in httpd dead but subsys locked

Issue:

If you are receiving following error while restarting apache on Linux server:

Error:
service httpd status, results in httpd dead but subsys locked

That error usally means that have a broken LoadModule in the httpd.conf.

Following are the possible fixes for this error:

tried deleting the /var/lock/subsys/httpd file .
Also try commenting out this line in your httpd.conf

LoadModule unique_id_module modules/mod_unique_id.so

Also check if it is running as default

chkconfig --list | grep httpd

Share on Twitter
Share on Facebook