Crond keeps dying on me. Is there a way to make chkservd restart it?
Crond keeps dying on me. Is there a way to make chkservd restart it?
there a way to make chkservd restart it?
use: /sbin/service chkservd restart
Probably. You'd need to look how chkservd works with the configuration files in /etc/chkservd.d/ and /usr/sbin/chkservdOriginally Posted by rapidot
What would, of course, be better would be to fix the issue that is causing crond to fail. Have you checked the /var/log/cron and /var/log/messages files for when crons dies to see if it gives out errors.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Support for monitoring crond will be added to chkservd in the near future.
Excellent![]()
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
When will support for monitoring cron be added?
I just found out that crond was not running on one of my servers. I was able to manually restart it. However, it was 2 days before I noticed it. This happened on the same server about a month ago. I guess it is time to figure out why it is failing.
Any suggestions as to how to figure out what is causing crond to stop running?
Web Hosting Flash Tutorials for your hosting clients at OnlyDemos.com.
Here's how you can monitor cron daemon using Chkservd of Cpanel:
- go in /etc/chkserv.d and add a file named crond with this content:
service[crond]=x,x,x,/etc/init.d/crond restart,crond,root
- edit chkservd.conf and add the line crond:1
- restart chkserv service with /scripts/restartsrv_chkservd
That's it.