PDA

View Full Version : How to control the daemon in RedHat



mitto
10-29-2006, 11:43 AM
Hi,


From a command line type:

/etc/rc.d/init.d/[name of service] restart [enter]

You can also type /etc/rc.d/init.d/[name of service] [enter]

This will give you a list of the commands that can follow the service name. Typically these are


start, stop, and status.
start - starts a service
stop - stops a service
status - displays the current status of a running service

If there is an error while restarting a service, the error will typically be displayed. You may need to first stop, then start the service for a complete error message.

You can use these commands for any service listed in the /etc/rc.d/init.d directory

Thanks!

HosTechS
01-09-2007, 01:47 AM
Hello,

the main demons can be restarted using the service command to.

service <daemon name> restart

Thank you.

Regards,