Knowledge Base | Centova Cast v3 | Troubleshooting
Diagnosing cron job problems
My cron job is not running, or does not appear to be completing successfully. How can I diagnose this problem?
Please check the following in order:
Has your Centova Cast cron job been removed or altered? Login to your server via SSH as root and verify that
The cron job is automatically set up by the installer, so if it does not exist then someone or something has removed it and you'll need to replace it.
Is your cron daemon actually running the cron job? Even if the Centova Cast cron job is correctly configured in
/etc/cron.d/centovacast, other mistakes in your
/etc/crontabfile (or other unrelated problems) may cause the cron daemon to fail to run the cron job.
Check your cron log (usually
/var/log/cronon Red Hat-based Linuxes, or
/var/log/syslogon Debian-based Linuxes) and search for the words
ccmanage cronjob. Find the most recent entry (near the bottom), check the date stamp and make sure it has been running within the past hour.
Is your Centova Cast cron job working correctly? Try running the following command:
/usr/local/centovacast/bin/ccmanage cronjob all --debug
If any of the output lines begin with "ERR", then there is a problem with your cron job which will need to be resolved.
If you see errors regarding
cronjob.lck, this likely indicates that your filesystem permissions/ownerships have been damaged, and you should run
/usr/local/centovacast/sbin/fixpermsto correct them.
If you see an
Another cron job instance is already runningerror, wait a few minutes and try again. If the problem persists, it's likely that a past cron job has frozen up for some reason. This can usually be fixed by logging in via SSH as root and running
killall -9 ccmanage
If you have run all of the above tests and cannot determine the problem, please contact the support department and provide the output from the above two steps, and we will be pleased to assist.