Linux: Dienste neu starten

Restart services after reconfiguration or update

There are a good number of services and daemons, within Linux, that
must be restarted after a reconfiguration (or upgrade or hiccup).
Many times the method for restarting these services is a bit hidden
from the untrained eye. Fret no longer. Here is a simple guide for
restarting many of those services.

- Networking :
/etc/rc.d/init.d/network {start|stop|restart|reload|status|probe}

- Samba :
/etc/rc.d/init.d/smb {start|stop|restart|status}
- Printer Daemon
/etc/rc.d/init.d/lpd {start|stop|restart|reload|status}
- Postfix :
/etc/rc.d/init.d/postfix {start|stop|restart|reload|(status})
- NFS :
To get NFS started there are three services to run:

* Portmap - /etc/rc.d/init.d/portmap {start|stop|status|restart|reload}

* rpc.mountd - /etc/rc.d/init.d/nfs {start|stop|status|restart|reload}

* nfsd - /etc/rc.d/init.d/nfs {start|stop|status|restart|reload}

- rc.local : Should you have certain services that load from the rc.local file:

/etc/rc.d/rc.local


Note: Try also (as root) 'rcinitd restart' or switch from the current runlevel to runlevel 1 
(init 1, single user mode) and back to the previous runlevel. The command 'rcinitd' 
at least works for SuSE Linux up to 8.1, the xinitd is used instaed since v.8.2.