Web Hosting Talk







View Full Version : HELP. Apache cant restart


scorpiox
05-24-2004, 11:30 AM
I try to do a netstat -n to see who might be attacking the server, but it doesnt say much.. just ips.. What can i do.. HELP

nickn
05-24-2004, 11:41 AM
What do you see when you attempt to restart it? We don't read minds ;)

scorpiox
05-24-2004, 11:50 AM
Waiting for httpd to restart.... . . . . . . . . . . finished.

httpd status



httpd has failed, please contact the sysadmin.

sprintserve
05-24-2004, 11:52 AM
/usr/local/apache/bin/apachectl configtest

What's the output?

Try

/etc/init.d/httpd stop
ps -aux | grep httpd

What's the output? sometimes some hung processes may prevent you from restarting. If you still see some httpd processes, do

kill -9 <process id>

Then try

/etc/init.d/httpd start

Burhan
05-24-2004, 11:58 AM
What about the server logs? You aren't giving us much information here.

telnettro
05-24-2004, 01:16 PM
just do what it says and contact your sysadmin. I'm sure a server administrator would be able to fix it.