How to Restart cPanel Service on a Server via SSH?
The Restarting process of cPanel service is very straightforward, but it needs sudo or root privileges. This is essential particularly when troubleshooting bugs, updating or when making changes to configurations.
This guide explains how to restart cPanel service on server via SSH
Steps to Restart cPanel Service
Rebooting server services are important after you change the core settings or if the service faces some issues.
To Restart cPanel Service
1. Log in to your SSH access using the credentials
2. Run the below command
/scripts/restartsrv_cpsrvd
By using the above command, the SSH command successfully activates the service reboot for cPanel on your server.
FAQ’s
How to restart the cPanel using the command prompt
- Firstly, Log in to the WHM Server’s root directory.
- Type the following command, to restart the cPanel service:
- service cpanel restart. cd /etc/rc.d/init.d. ./cpanel restart.
The cPanel service will be restarted successfully.
How to restart the server from SSH?
- Login to SSH to access your server.
- Execute the command by typing it in: sudo reboot.
- The session will automatically stop and the interface will exit once SSH starts the server reboot.
Experience Improved Security and High Performance from Cantech
With Cantech’s cPanel VPS Hosting you can enjoy full control on multiple sites, and user friendly intuitive interface. Avail high speed 1 gbps connectivity with improved security and storage powered by KVM technology for maximum performance.
Contact us today and elevate your hosting experience !