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!

DNSonly cronjobs overwritten

Discussion in 'Bind/DNS/Nameserver' started by HostedPro, Aug 17, 2012.

  1. HostedPro

    HostedPro Member

    Joined:
    Sep 8, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    East Texas
    cPanel Access Level:
    Root Administrator
    I'm running a couple DNSonly machines and one of them has the root cronjobs overwritten daily.

    I'll setup the two setup with crons like this
    Code:
    2,17,32,47 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
    0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
    19 21 * * * /usr/local/cpanel/scripts/upcp --cron
    35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
    30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
    0 1 * * * /usr/local/cpanel/scripts/cpbackup
    
    and the second machine's cron ends up looking like this
    Code:
    2,17,32,47 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
    0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
    35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
    30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
    31 4 * * 1 sleep $((RANDOM \% 7100)); /bin/nice -n +19 /usr/local/cpanel/scripts/upcp --cron --force
    0 1 * * * sleep $((RANDOM \% 6100)); /bin/nice -n +19 /usr/local/cpanel/scripts/cpbackup
    
    And the second machine fails to send email of the upcp cronjobs. It will email on security issues or process hangs & the like though.
    I've searched but haven't found an answer. If this has been covered please point me in the right direction.

    Thanks
    Karl
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. HostedPro

    HostedPro Member

    Joined:
    Sep 8, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    East Texas
    cPanel Access Level:
    Root Administrator
    Figured it out, apparently crond was a little wonky. A daemon reinstall fixed...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. HostedPro

    HostedPro Member

    Joined:
    Sep 8, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    East Texas
    cPanel Access Level:
    Root Administrator
    Well, I spoke too soon. It was working OK for a few days then it started again. The root cron is overwritten as

    Code:
    2,17,32,47 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
    0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
    35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
    30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
    31 4 * * 1 sleep $((RANDOM \% 7100)); /bin/nice -n +19 /usr/local/cpanel/scripts/upcp --cron --force
    0 1 * * * sleep $((RANDOM \% 6100)); /bin/nice -n +19 /usr/local/cpanel/scripts/cpbackup
    
    no matter what I change it to.

    Any help with this?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. HostedPro

    HostedPro Member

    Joined:
    Sep 8, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    East Texas
    cPanel Access Level:
    Root Administrator
    A little help anyone??
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,885
    Likes Received:
    1,814
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Feel free to submit a support ticket so we can take a closer look:

    Submit A Ticket

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. HostedPro

    HostedPro Member

    Joined:
    Sep 8, 2006
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    East Texas
    cPanel Access Level:
    Root Administrator
    Thanks, just done
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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