Web Hosting Talk







View Full Version : How do I stop and restart script like htttpd?


ClusterMania
04-09-2002, 03:11 PM
How do I stop and restart script like htttpd?

killall -9 httpd

Tha't works great for stopping it but how do I restart it?

ClusterMania
04-09-2002, 03:17 PM
Oh yeah, how do I check if the kernel is really set to 2048. I am running plesk. Could this be crashing my server?

priyadi
04-09-2002, 03:52 PM
Originally posted by ClusterMania
How do I stop and restart script like htttpd?

killall -9 httpd

Tha't works great for stopping it but how do I restart it?

That depends on how you installed apache. You might want to try some of these commands:

apachectl start
/etc/rc.d/init.d/httpd start
/etc/init.d/start

It is also a good idea to use those scripts if you need to stop apache too. Just replace the starts above with stop.