Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Crond always stop by itself

Discussion in 'General Discussion' started by hbhb, May 30, 2009.

  1. hbhb

    hbhb Well-Known Member

    Dec 1, 2006
    Likes Received:
    Trophy Points:
    I just notice a problem in my server where the crond always stop by itself in the server when I do a weekly backup maintenance, I found out that my daily backup is outdate and my crond status is not running

    root@pserver [~]# service crond status
    crond dead but pid file exists

    So I had to restart crond to make it run. This happen to same last 2 weeks ago as well. what/how do I check from the server, as I am not familiar, is there a log or something to trace this?

    Or anybody with such experience can explain and give a solution directly..

    Thanks a lot!
  2. JPC-Shaun

    JPC-Shaun Well-Known Member

    Oct 29, 2008
    Likes Received:
    Trophy Points:

    Verify from ps aux do you see the crond as a zombie. The /etc/init.d/crond and service crond aren't much reliable, you should first "killall crond", and then manually delete the crond pid file, usually /var/run/ or /var/run/crond/, if you can't find it in either location, try "cat /etc/init.d/crond" and read the script where it puts the pid file in, start the crond and "ps aux" to see if there's a process named [crond] with user crond.

    The cron logs are located at /var/spool/cron.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice