Httpd dead but subsys locked, but pid exists

1) Kill all the Apache process

# ipcs -s apahe

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

# cd /var/lock/subsys

# rm httpd

# service httpd restart

2) If the above is not fixing then try the following.

comment out the following module in your httpd.conf and restart apache

# LoadModule unique_id_module modules/mod_unique_id.so

 

Leave a Reply

Your email address will not be published. Required fields are marked *