The term cpsrvd refers to cPanel Service Daemon, which is a core component of cPanel & WHM (Web Host Manager). This service handles HTTP and HTTPS requests for the cPanel and WHM interfaces, including webmail and APIs.
Key Points About cpsrvd:
- Essential service for cPanel/WHM functionality
- Manages web-based control panel access
- Runs on ports 2082, 2083, 2086, 2087, 2095, and 2096
- Separate from Apache/NGINX web servers
What is cpsrvd?
- cpsrvd acts as a lightweight web server specifically designed for managing the cPanel interfaces and services.
- It is not a general-purpose web server like Apache or NGINX; instead, it is built to serve requests for cPanel, WHM, and webmail functionality.
Common Tasks Involving cpsrvd
Restart cpsrvd
Sometimes, if cPanel or WHM is not responding, restarting cpsrvd can help.
Command to Restart cpsrvd:
/scripts/restartsrv_cpsrvd
This command is safe to run and only restarts the cpsrvd service without affecting other cPanel services.
Check the Status of cpsrvd
To verify if cpsrvd is running properly:
systemctl status cpsrvd
You should see an output indicating that the service is active (running).
Logs for Debugging
If there are issues with cpsrvd, check its logs for more details:
tail -f /usr/local/cpanel/logs/error_log
Update cPanel to Fix cpsrvd Issues
If cpsrvd is not starting or behaving unexpectedly, updating cPanel might resolve the issue:
/usr/local/cpanel/scripts/upcp --force
This forces a cPanel update and ensures all components, including cpsrvd, are up-to-date.
Common Errors Related to cpsrvd
Error 1: cpsrvd Not Starting
Cause: Configuration issues, corrupted files, or low system resources.
Fix:
- Check for errors in the cPanel logs:
tail -f /usr/local/cpanel/logs/error_log - Restart the service:
/scripts/restartsrv_cpsrvd
Error 2: High CPU Usage by cpsrvd
Cause: Too many concurrent requests to cPanel/WHM.
Fix:
- Check active connections:
netstat -an | grep cpsrvd - Limit access to cPanel during peak times using IP restrictions or firewalls.
Error 3: SSL Issues with cpsrvd
Cause: Incorrect or expired SSL certificate for cPanel services.
Fix:
- Regenerate the SSL certificate for cPanel:
/usr/local/cpanel/bin/checkallsslcerts - Restart cpsrvd to apply changes:
/scripts/restartsrv_cpsrvd
When to Contact Support
If cpsrvd continues to fail despite these troubleshooting steps:
- Contact your hosting provider or server administrator.
- Provide relevant log entries from
/usr/local/cpanel/logs/error_log.
By following these steps, most cpsrvd issues can be resolved efficiently.


