The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

crontab stopped working after last cpanel update

Discussion in 'General Discussion' started by naguib2000, Jun 2, 2005.

  1. naguib2000

    naguib2000 Member

    Joined:
    May 12, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    the crontab is no more running from 10 days ago , and after investigating the cron log , i found that the last thing the cron ran was /scripts/upcp

    here is a part of the cron log
    May 20 21:58:00 host CROND[6323]: (root) CMD (/usr/local/bandmin/bandmin)
    May 20 22:00:00 host CROND[8500]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 22:00:00 host CROND[8501]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:00:00 host CROND[8503]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    May 20 22:01:00 host CROND[10556]: (root) CMD (run-parts /etc/cron.hourly)
    May 20 22:02:00 host CROND[10984]: (root) CMD (/usr/local/bandmin/bandmin)
    May 20 22:05:00 host CROND[12046]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:10:00 host CROND[14492]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 22:10:00 host CROND[14494]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:15:00 host CROND[18086]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    May 20 22:15:00 host CROND[18084]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:20:00 host CROND[22321]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 22:20:00 host CROND[22322]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:25:01 host CROND[27336]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:30:00 host CROND[2182]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 22:30:00 host CROND[2184]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:30:00 host CROND[2186]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    May 20 22:35:00 host CROND[10207]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:40:00 host CROND[13268]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 22:40:00 host CROND[13269]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:45:00 host CROND[21821]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:45:00 host CROND[21823]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    May 20 22:50:00 host CROND[25402]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 22:50:00 host CROND[25404]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:55:00 host CROND[30398]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 22:58:00 host CROND[13516]: (root) CMD (/usr/local/bandmin/bandmin)
    May 20 23:00:00 host CROND[19939]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 23:00:00 host CROND[19941]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 23:00:00 host CROND[19945]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    May 20 23:01:00 host CROND[20250]: (root) CMD (run-parts /etc/cron.hourly)
    May 20 23:02:00 host CROND[20478]: (root) CMD (/usr/local/bandmin/bandmin)
    May 20 23:05:00 host CROND[22660]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 23:10:00 host CROND[2067]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 23:10:00 host CROND[2069]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 23:15:00 host CROND[4866]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 23:15:00 host CROND[4868]: (root) CMD (/usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1)
    May 20 23:20:00 host CROND[9456]: (root) CMD (/usr/lib/sa/sa1 1 1)
    May 20 23:20:00 host CROND[9458]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 23:25:00 host CROND[12555]: (root) CMD (/usr/local/cpanel/bin/dcpumon >/dev/null 2>&1)
    May 20 23:26:01 host CROND[12698]: (root) CMD (/scripts/upcp)
    May 20 23:26:22 host crontab[12811]: (root) LIST (root)
    May 20 23:26:22 host crontab[12813]: (root) LIST (root)
    May 20 23:26:22 host crontab[12814]: (root) LIST (root)
    May 20 23:26:22 host crontab[12815]: (root) REPLACE (root)
    May 20 23:27:10 host crond[2042]: (root) RELOAD (cron/root)
    May 20 23:28:42 host crond[13416]: (CRON) STARTUP (fork ok)
    May 26 22:08:50 host crontab[7907]: (root) BEGIN EDIT (root)
    May 26 22:09:16 host crontab[7907]: (root) REPLACE (root)
    May 26 22:09:16 host crontab[7907]: (root) END EDIT (root)
    May 27 06:38:38 host crontab[20242]: (root) BEGIN EDIT (root)
    May 27 06:38:52 host crontab[20242]: (root) REPLACE (root)
    May 27 06:38:52 host crontab[20242]: (root) END EDIT (root)
    May 27 19:28:36 host crontab[2168]: (root) BEGIN EDIT (root)
    May 27 19:28:41 host crontab[2168]: (root) REPLACE (root)
    May 27 19:28:41 host crontab[2168]: (root) END EDIT (root)
    May 27 19:33:28 host crontab[3316]: (doookne) LIST (doookne)
    May 27 19:33:28 host crontab[3318]: (doookne) LIST (doookne)
    May 27 19:33:54 host crontab[3420]: (doookne) REPLACE (doookne)
    May 28 02:44:28 srv2 crontab[4191]: (root) BEGIN EDIT (root)
    May 28 02:44:51 srv2 crontab[4191]: (root) REPLACE (root)
    May 28 02:44:51 srv2 crontab[4191]: (root) END EDIT (root)
    May 30 17:02:46 srv2 crontab[1353]: (root) BEGIN EDIT (root)
    May 30 17:03:08 srv2 crontab[1353]: (root) REPLACE (root)
    May 30 17:03:08 srv2 crontab[1353]: (root) END EDIT (root)
    May 30 17:09:50 srv2 crontab[1883]: (root) BEGIN EDIT (root)
    May 30 17:10:01 srv2 crontab[1883]: (root) REPLACE (root)
    May 30 17:10:01 srv2 crontab[1883]: (root) END EDIT (root)
    May 30 17:43:54 srv2 crontab[11057]: (root) LIST (root)
    May 30 17:47:53 srv2 crontab[11816]: (root) LIST (root)
    May 30 18:14:18 srv2 crontab[16740]: (root) LIST (root)
    May 30 18:14:18 srv2 crontab[16743]: (root) LIST (root)
    May 30 18:14:18 srv2 crontab[16744]: (root) LIST (root)
    May 30 18:14:18 srv2 crontab[16745]: (root) REPLACE (root)
    May 30 18:33:35 srv2 crontab[30209]: (root) REPLACE (mailman)
    May 30 18:34:10 srv2 crontab[2913]: (root) REPLACE (mailman)
    May 31 11:25:30 srv2 crontab[3532]: (root) BEGIN EDIT (root)
    May 31 11:25:42 srv2 crontab[3532]: (root) END EDIT (root)
    May 31 11:26:27 srv2 crontab[3575]: (root) BEGIN EDIT (root)
    May 31 11:26:41 srv2 crontab[3575]: (root) END EDIT (root)
    May 31 11:33:05 srv2 crontab[3993]: (root) BEGIN EDIT (root)
    May 31 11:33:25 srv2 crontab[3993]: (root) END EDIT (root)
    May 31 11:33:32 srv2 crontab[4012]: (root) BEGIN EDIT (root)
    May 31 11:33:40 srv2 crontab[4012]: (root) REPLACE (root)
    May 31 11:33:40 srv2 crontab[4012]: (root) END EDIT (root)
    May 31 11:33:49 srv2 crontab[4036]: (root) BEGIN EDIT (root)
    May 31 11:33:59 srv2 crontab[4036]: (root) REPLACE (root)
    May 31 11:33:59 srv2 crontab[4036]: (root) END EDIT (root)
    Jun 2 18:36:10 srv2 crontab[7506]: (root) BEGIN EDIT (root)
    Jun 2 18:36:16 srv2 crontab[7506]: (root) END EDIT (root)
    Jun 2 18:40:54 srv2 crontab[7800]: (root) BEGIN EDIT (root)
    Jun 2 18:41:10 srv2 crontab[7800]: (root) END EDIT (root)
    Jun 2 18:45:31 srv2 crontab[8075]: (root) LIST (root)
    Jun 2 18:47:46 srv2 crontab[8347]: (root) LIST (root)
    Jun 2 18:49:56 srv2 crontab[8626]: (root) BEGIN EDIT (nahedh)
    Jun 2 18:49:57 srv2 crontab[8626]: (root) REPLACE (nahedh)
    Jun 2 18:49:57 srv2 crontab[8626]: (root) END EDIT (nahedh)
    Jun 2 18:50:32 srv2 crontab[8728]: (root) BEGIN EDIT (root)
    Jun 2 18:50:36 srv2 crontab[8728]: (root) END EDIT (root)



    Is the update of cpanel the reason for this problem , and how do i restart , or make the cron run again as before.
     
  2. naguib2000

    naguib2000 Member

    Joined:
    May 12, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hope any body can help
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You can restart cron (on Linux) with:

    /etc/init.d/crond restart
     
  4. rprix

    rprix Member

    Joined:
    Oct 27, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    did you had up2date to update kernel?

    im having some troubles with audit / crond ... not starting and failing because kernel update.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you've removed laus (audit) recently, you will probably need to do the following to stop the crond errors, if that's what you're suffering:

    echo alias "char-major-10-224 off" >> /etc/modules.conf
    service crond stop
    rmmod audit
    service crond start
     
  6. naguib2000

    naguib2000 Member

    Joined:
    May 12, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Thank u very much guys

    service cron restart solved the problem
     
  7. rprix

    rprix Member

    Joined:
    Oct 27, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    If you reboot you probably will have crond problem again
     
  8. DIYHosting

    DIYHosting Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Saskatoon, SK, Canada
    you will need to add it again to chkconfig

    this happened to me on 2 of my RHEL servers.
     
  9. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    I have a similar issue, but my cron seems to have gone missing completely.

    Here is what is says:

    root@*** [/]# service crond start
    Starting crond: execvp: No such file or directory [FAILED]

    Anyone seen that before?
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    What OS are you running?
     
  11. cretu

    cretu Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I am having crond issue on one of the server - it just fails suddenly and irregularly and does not restart itself.

    Can anybody advise on how to resolve this. I am running RHE 3 with latest CPanel release.

    Cretu
     
Loading...

Share This Page