This guide shows you how to restart the cPanel service (cpsrvd) on your server using SSH. Restarting the cPanel service can resolve issues with the cPanel interface or apply configuration changes without rebooting the entire server.
How to do it
-
Step 1: Connect to your server via SSH
Use your SSH client to connect to your server with root or sudo privileges.
-
Step 2: Run the restart command
Execute the following command to restart the cPanel service:
/scripts/restartsrv_cpsrvdThis command will initiate the restart of the cPanel service (cpsrvd).
-
Step 3: Verify the service has restarted
The command will output status messages indicating that the service is stopping and starting. Once complete, the cPanel service should be running normally.