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!

rdate cron problems

Discussion in 'General Discussion' started by Snowman30, May 31, 2006.

  1. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    679
    Likes Received:
    0
    Trophy Points:
    316
    cPanel Access Level:
    DataCenter Provider
    ive got a server runnins centos 3.7 on a 2.6 kernale and the latest Stable of cpanel and every day the server is half an hour ahead of itself resulting in my having to resync the server in WHM

    anyone have any ideas what could be causing this? and how can i fix it?

    Ive had a good read back thru old posts but no one seesm to give any example son ways to fix this

    I assume a daily cron to rdate.cpanel.net would work but what would be the correct cron line to do this without causing any issues?
     
  2. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    679
    Likes Received:
    0
    Trophy Points:
    316
    cPanel Access Level:
    DataCenter Provider
    anyone know a suitable cron line i can add to the server to resync the server?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Does it drift or is it always 30 minutes out? If it drifts it could be a kernel bug.

    /scripts/upcp does a daily call to rdate anyway, so it should be doing this unless you disabled upcp from running.

    Otherwise the following crontab line would do it at 01:00:

    0 1 * * * rdate -s rdate.cpanel.net
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    679
    Likes Received:
    0
    Trophy Points:
    316
    cPanel Access Level:
    DataCenter Provider
    Thanks

    It drifts each day.

    Im runnning the 2.6.9-34.ELsmp #1 SMP which i think you compiled ( or at least checked when you did the server up for us)
     
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