How to Fix cPanel Calendar and Contacts Server (cpanel-ccs) Failed


This article provides a guide for how to fix cPanel Calendar and Contacts Server (cpanel-ccs) failed issues. This guide requires root or root-equivalent access to the cPanel VPS or cPanel dedicated server.

What is cPanel Calendar and Contacts Server (cpanel-ccs)?

The Calendar and Contacts Server (CCS) plugin allows cPanel users to manage their CalDAV (calendar) and CardDAV (contacts) accounts from cPanel & WHM server.

cPanel Calendar and Contacts Server Failed

If an error arises where the cPanel Calendar and Contacts server has failed to start, the server will dispatch error notices if this service is installed via WHM Contact Manager. 

If this issue does not resolve by running Calendar and Contacts Server restart script, check the logs to identify the output of the restart script. You will notice the following message at the top of the Service Check Raw Output of the notification:

(XID 5gjbzk) The “cpanel_ccs” service is down.

The subprocess “/usr/local/cpanel/scripts/restartsrv_cpanel_ccs” reported error number 255 when it ended.

This indicates that the server's automated attempts to restart the Calendar and Contacts Server have failed.

How to Fix cpanel-ccs Failed

Check the output from "/usr/local/cpanel/scripts/restartsrv_cpanel_css" command for the following:

ccs_init[19307]: Pidfile /opt/cpanel-ccs/data/Logs/state/caldavd.pid contains non-numeric value

If this message exists, this indicates that the "caldav.pid" file may be empty.

Verify the cPanel CalDAV server status by running the following:

sudo systemctl status cpdavd

If the output from the above command indicates the server is not active, this would cause the cpanel-ccs server failure. To fix this issue and attempt to resolve the cpanel-ccs failed error, run the following commands:

/scripts/restartsrv_cpdavd —restart
sudo mv -v /opt/cpanel-ccs/data/Logs/state/caldavd.pid
‘/opt/cpanel-ccs/data/Logs/state/caldavd.pid’ -> ‘/opt/cpanel-ccs/data/Logs/state/caldavd.pid-bak’
/scripts/restartsrv_cpanel_ccs --start

This will restart the CalDav server, move the empty Pid file, and restart the Calendar and Contacts Server.

Conclusion

You now know how to fix cPanel Calendar and Contacts Server (cpanel-ccs) Failed error.

Launch 100% SSD VPS from $2.49/mo!

  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

How to Uninstall Installatron in WHM cPanel Server

This guide will show you how to quickly uninstall Installatron software from WHM/cPanel server....

How to Install Installatron in WHM cPanel Server

This guide will show you how to download and install Installatron on your cPanel/WHM server. To...

How to Install Softaculous with cPanel/WHM

This guide will show you how to download and install Softaculous on your cPanel/WHM server. To...