Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    41

    Default chkservd and crond

    Crond keeps dying on me. Is there a way to make chkservd restart it?

  2. #2
    Member
    Join Date
    Jun 2004
    Posts
    80

    Default

    there a way to make chkservd restart it?
    use: /sbin/service chkservd restart

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by rapidot
    Crond keeps dying on me. Is there a way to make chkservd restart it?
    Probably. You'd need to look how chkservd works with the configuration files in /etc/chkservd.d/ and /usr/sbin/chkservd

    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

  4. #4
    Staff Member cpanelben's Avatar
    Join Date
    Feb 2004
    Location
    Houston, Texas USA
    Posts
    598
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Support for monitoring crond will be added to chkservd in the near future.

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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

  6. #6
    Member
    Join Date
    Feb 2004
    Posts
    46

    Default

    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.

  7. #7
    Registered User
    Join Date
    Jan 2007
    Posts
    1

    Default Monitoring Crond

    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.

Similar Threads & Tags
Similar threads

  1. Crond always stop by itself
    By hbhb in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-30-2009, 05:24 AM
  2. Crond Not Working
    By Millar in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-09-2008, 10:36 AM
  3. chkservd not monitoring clamd set at chkservd.conf
    By gflamerich in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-10-2008, 09:23 AM
  4. runaway crond ?
    By jols in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-23-2008, 07:51 PM
  5. Is there anyway to monitor crond?
    By jols in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-18-2006, 08:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube