How do I restart a daemon ? To restart them from the shell, must be logged in as root to do this.
Just type,
root@host [~]# ls /etc/init.d/
It will display which are all the services running in the server.
For Eg: named, exim, nfs, ypbind, iptables are the few daemons.Let's say
that named/bind is down and we need to restart it. As root, simply type
/etc/init.d/named start
It will start the named service.To restart the web service, just type
/etc/init.d/httpd start
/etc/init.d/cpanel restart ==> It will restart the cpanel. |