HPCHOST

Client Login Client Login

How do I start/stop services on my RedHat server?

Most services on your server can be started with the following commands:
/etc/init.d/ start (assuming an init.d script for the service is present)

service start

/etc/rc.d/init.d/ start

This same command structure will also work for displaying the status of a process, restarting a process, or stopping a process.
/etc/init.d/ status
/etc/init.d/ restart
/etc/init.d/ stop

All services should respond to the start/stop/restart commands, however the status command may not work depending on the service.

If your service does not stop with the init.d script, you can kill the service manually by running
#kill -HUP

To obtain the pid number of the service, run
#ps -aux |grep



Was this answer helpful?

Add to Favourites
Print this Article

Also Read



Close Chat
HPC Host Live Chat