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.

autorepair Alarm clock?!?

Discussion in 'General Discussion' started by sehh, Jun 12, 2012.

  1. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    Today one of the cPanel/WHM cronjobs returned the following:

    Code:
    /bin/sh: line 1:  3339 Alarm clock             /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
    
    Anyone knows what it is all about?
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Was this in an email or a log? Which version of cPanel & WHM?
     
  3. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    It came via email, the ones produced by cron jobs when they output anything in stdout or stderr.

    I'm using STABLE version: 11.32.2.28

    Never seen this before in all the years that I've been using cPanel. Is it serious Doc? :)
     
  4. sehh

    sehh Well-Known Member

    Joined:
    Feb 11, 2006
    Messages:
    579
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Europe
    Out of curiosity, I tried to run the script by hand:

    Code:
    # /usr/local/cpanel/scripts/autorepair recoverymgmt
    Requesting script ... Problem downloading script recoverymgmt! Please verify the script's name.
    
    weird eh?
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    From a quick google search it appears the 'Alarm clock' aspect of the message is simply the kernel telling you something timed out. We do set alarms in many of our scripts and modules. It's probable when the cron job executed the utility had a problem connecting to one of our mirrors, which caused it to hit one of the alarms.

    The recoverymgmt script not existing on our mirrors is intentional, which is why the cron job redirects output to /dev/null. Its sole purpose would be if something went dreadfully wrong with the update system and we needed a way to provide a fix to cPanel & WHM servers. Until such a need arises the script will not exist.


    Update:

    Ur, since I didn't answer your question: I suspect nothing is wrong with the job or your server. However if you see an increase in this error occurring please do raise the alarm.
     
    #6 cPanelKenneth, Jun 12, 2012
    Last edited: Jun 12, 2012
  7. srider

    srider Registered

    Joined:
    Sep 13, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Palm Springs, CA USA
    Thank you for this very useful reply. It helped me too :)
     
  8. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    I am getting too the same error everyday:

    /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1

    /bin/sh: line 1: 8267 Alarm clock /usr/local/cpanel/scripts/autorepair recoverymgmt > /dev/null 2>&1

    Any answers on how to fix this?

    Regards
     
  9. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I can verify that I am too receiving these e-mails (for about 10 servers) every 6 hours (00:16, 06:16, 12:16, 18:16). This happened the last 3 days.
     
  10. jvgn

    jvgn Registered

    Joined:
    Jan 20, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I have the same alarm.

    Alarm clock /usr/local/cpanel/scripts/autorepair recoverymgmt > /dev/null 2>&1

    I run the script by hand : Requesting script ... Alarm clock
     
  11. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I've gotten these from my EDGE server in recent days. Can any of you post back what Tier you're on? (EDGE, CURRENT..)

    Thanks!
     
  12. gvard

    gvard Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2003
    Messages:
    195
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Athens/GREECE
    cPanel Access Level:
    DataCenter Provider
    All my servers are on the RELEASE tier.
     
  13. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thank you. I've opened an internal case on this. #61211
     
  14. jvgn

    jvgn Registered

    Joined:
    Jan 20, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    My Server ... Stable Tier / Daily Updates Automatic
     
  15. Misiek

    Misiek Well-Known Member

    Joined:
    Feb 23, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    I've got the same problem
    WHM 11.32.4 (build 15) RELEASE
     
  16. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Based on case 61211, the issue might well be that the first resolver in /etc/resolv.conf cannot resolve httpupdate.cpanel.net and is sending this email due to the cron job in /var/spool/cron/root that runs every 6 hours.

    Check your /etc/resolv.conf file to see the contents. If you'd like, you could just switch to the Google public resolvers, which do work to resolve httpupdate.cpanel.net

    Code:
    nameserver 8.8.4.4
    nameserver 8.8.8.8
    Thanks!
     
  17. jvgn

    jvgn Registered

    Joined:
    Jan 20, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    nslookup httpdupdate.cpanel.net 8.8.4.4
    Server: 8.8.4.4
    Address: 8.8.4.4#53

    ** server can't find httpdupdate.cpanel.net:

    nslookup httpdupdate.cpanel.net 8.8.8.8
    Server: 8.8.8.8
    Address: 8.8.8.8#53

    ** server can't find httpdupdate.cpanel.net

    nslookup cpanel.net 8.8.8.8
    Server: 8.8.8.8
    Address: 8.8.8.8#53

    Non-authoritative answer:
    Name: cpanel.net
    Address: 208.74.121.57
    Name: cpanel.net
    Address: 208.74.123.93
    Name: cpanel.net
    Address: 208.74.125.13

    ???
     
  18. ethix

    ethix Active Member

    Joined:
    Dec 21, 2004
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Australia
    You need to remove the "d"
     
  19. jvgn

    jvgn Registered

    Joined:
    Jan 20, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    ethix, Thanks
     
  20. Mr. Anderson

    Mr. Anderson Member

    Joined:
    Feb 25, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Serbia
    cPanel Access Level:
    Root Administrator
    I have the same problem (I'm on release channel):
    Code:
    /bin/sh: line 1: 24875 Alarm clock            /usr/local/cpanel/scripts/autorepair recoverymgmt > /dev/null 2>&1

    Is it safe to change DNS just like that in resolv.conf? I currently have nameservers there provided by my dedicated server provider, aren't they supposed to work better?
     

Share This Page