3.1 Configuration files

If you don’t see the name of the process listed, you probably had a problem starting up the process due to configuration file issues. You can check /var/log/syslog (a plain text file) for system messages. Most daemons can be restarted using a script located at /etc/init.d. For example, the LDAP server can be restarted using the following command:

/etc/init.d/slapd restart  
    

If this command returns an error message, you should definitely check the system log file(s) located in /var/log. Even if the command does not return an error, you should still check the system log files to confirm everything is okay. After a daemon is restarted, run ps -Af | less again to see if the daemon is running.

If the daemon still does not run due to configuration file issues, you need to read extra information regarding the configuration file syntax to fix problems. If you install a daemon package, it usually includes the man pages associated with the daemon itself and also the configuration file format.