Knowledgebase: cPanel
Restart Various Services Commands Cheat Sheet
Posted by CTX Admin on 05 January 2015 11:28 AM

Sometimes, you need to restart Apache (after making a configuration change) or your POP3 service is not working properly. WHM has some quick links to restart services, but what if cPanel needs to be restarted?

SSH into your server using an SSH client (PuTTY is free for Windows as is Xshell, MacOS has the built-in "ssh" command in Terminal.app).

Here are some of the various services you can restart:

cPanel/WHM - service cpanel restart
Apache (Web Server) - service httpd restart
Exim (SMTP Server) - service exim restart
Courier (IMAP/POP3 Server) - service courier-imap restart
FTP Server - service pure-ftpd restart
MySQL (Database Server) - service mysql restart
BIND (DNS Server) - service named restart
The whole VPS (when not able to reach Virtuozzo) - init 6 (or shutdown -r now)

Webmail is part of the cPanel service, and uses the authentication services of the currently setup IMAP service such as Courier-IMAP or Dovecot.

service cpanel restart
service courier-imap restart
service dovecot restart
‚Äč

Depending on the nature of the issue, there are other 'quick fix' scripts that can be run. Contact Support for help with these.

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion