hi

> I just tried to restart Apache, but get:
> 
> # service httpd status
[...]
> but, every time I tried to start it, it would go back to 
> 'httpd dead but subsys locked'

if the service-command is a bash-script, use the "x" option to debug it.

$ bash -x `which service` httpd start

> ps -ax |grep httpd showed nothing

$ ps -axww | grep apache

try to grep for "apache" instead for "httpd". on my machine (debian) the
process is called apache.

> netstat | grep http showed a number of opened sockets

as root try to use a "netstat -anp | grep -i LISTEN". this command shows
you all processes that have an open port and the corresponding process
and PID.

hth, gottfried

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to