in Basic All Posts ~ read.
httpd dead but subsys locked

httpd dead but subsys locked

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

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/subsysrm httpd

Finally, restart the httpd services.

// reference //Initialize ghostHunter