CENTOS 5 httpd dead but subsys locked [RESOLVE]

stop processes

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

Remove httpd lock file:

cd /var/lock/subsys

rm httpd

Restart httpd:

/etc/init.d/httpd restart