How to restart a service via WHM interface

cPanel/WHM offers a nice graphic interface to restart important services like Apache, FTP, MySQL etc.
First, you should log in to WHM as root. Go to the Restart Services menu like in the image below.
restart services

From here just select the service you want to restart and click the “Yes” button like in the following image.
restart services 2
The example is for the pure-ftpd service, but the interface is the same for all other services.

After the service is successfully restarted you will get a message like :

Waiting for ftpserver to restart………finished.
pure-ftpd (pure-ftpd (PRIV)) running as root with PID 4062 (process table check method)
pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/local/cpanel/bin/pureauth) running as root with PID 4050 (pidfile check method)
ftpserver started ok

The exact image is
restart services 3

For more details please visit the official support page at cPanel Documentation

Leave a Reply