Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

httpd dead but subsys locked

Status
Not open for further replies.

axman505

Technical User
Jun 20, 2001
489
US
I am getting this error on httpd. I tried deleteing the lock file, but then when i start httpd back up i get this


[root@Bravo init.d]# ./httpd start
Starting httpd: [ OK ]
[root@Bravo init.d]# ./httpd status
httpd (pid 1779) is running...
[root@Bravo init.d]# ./httpd status
httpd (pid 1779) is running...
[root@Bravo init.d]# ./httpd status
httpd dead but subsys locked
[root@Bravo init.d]#

What causes this?
 
Hi,



Ordinarily, the start-up script would create the lock file ('touch /var/lock/subsys/httpd') at the same time as starting the server and would 'rm' it when stopping. It looks like you are using the sysv init script (/etc/rc.d/init.d/httpd) so I can't immediately see why removing a lock file would cause any ongoing problem.



There have been a few reports of this error that seem to be related to mod_perl. If you are not using mod_perl you could try and see if these lines are active and, if so, comment them out in your httpd.conf :



LoadModule perl_module modules/libperl.so

AddModule mod_perl.c



Otherwise, has anything else changed recently ?



Regards
 
just recompilied the kernel .. but nothing else has changed
 
I removed the listen 80 from the ssl section of the httpd.conf and now it works great. Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top