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.

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:
    681
    Likes Received:
    0
    Trophy Points:
    16
    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:
    681
    Likes Received:
    0
    Trophy Points:
    16
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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
     
  4. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    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