Linux - Error httpd dead but subsys locked, Daemon dead but subsys locked

Error httpd dead but subsys locked

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

If you are receiving the error httpd dead but subsys locked, while restarting apache on Linux server then the error usally means that it has broken LoadModule in the httpd.conf.

Following are the possible fixes for this error:

1) Delete the file /var/lock/subsys/httpd
  # rm /var/lock/subsys/httpd file 

2) Comment out the below line in your httpd.conf
# LoadModule unique_id_module modules/mod_unique_id.so

# /etc/init.d/httpd restart

The topic on Linux - Error httpd dead but subsys locked is posted by - Math

Hope you have enjoyed, Linux - Error httpd dead but subsys lockedThanks for your time

Tech Bluff