/usr/local/cpanel/scripts/restartsrv $service. Replace $service with one of the entries in the column on the left below:
| Input Value for $service | Service Name/Type |
|---|---|
| exim |
Exim mail transfer agent (MTA). |
| named |
BIND nameserver daemon. |
| proftpd |
|
| pureftpd |
|
| httpd |
|
| courier |
|
| dovecot |
|
| syslogd |
System logs daemon. |
| clamd |
Clam Antivirus software daemon. |
| sshd |
|
| inetd |
Common Unix superserver daemon responsible for managing Internet services. |
| cppop |
cPanel’s version of POP3 mail downloading service. Similar to IMAP. |
| imapd |
|
| mysql |
MySQL database server. |
| postgresql |
PostgreSQL database server. |
| interchange |
Interchange e-commerce server. |
| tomcat |
Java servlet container and HTTP server. |
| entropychat |
Chat service. |
/etc/init.d/ directory.
To search for the init.d directory, try one of the following commands: locate init.d
ff init.d
find / -name init.d
restart command. For example: /etc/rc.d/init.d/$service restart $service with the name of the daemon, such as exim, named, proftpd, httpd, etc.
ff, locate, or find command to locate the service you would like to restart.
| Service (Daemon) Name | Error Log Location | Notes |
|---|---|---|
| Apache web server (httpd) |
|
Details errors encountered during Apache requests. |
| BIND nameserver (named) |
|
|
| ProFTP server (proftpd) |
|
|
| Pure-FTP server (pureftpd) |
|
|
| Exim mail transfer agent (exim) |
|
Details all Exim transactions. |
| Exim mail transfer agent (exim) |
|
Details rejected messages and reasons. |
| Exim mail transfer agent (exim) |
|
Details configuration and similar errors. |
| |
|
|
| |
|
|
| MySQL database server (mysqld) |
|
Substitute |
| OpenSSH secure shell service (sshd) |
|
Log location depends on the configuration of the syslog service.
|
Copyright © cPanel 2000–2011.