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.

Server time drifted back by approximately 90 mins

Discussion in 'General Discussion' started by akust0m, Jun 10, 2016.

  1. akust0m

    akust0m Active Member

    Joined:
    Feb 19, 2016
    Messages:
    44
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Melbourne
    cPanel Access Level:
    Root Administrator
    Hello,

    It appears that my cPanel server time drifted back by approximately 90 minutes which started causing problems for mail delivery.

    I had the correct timezone set in "Server Configuration" > "Server Time".

    Once I was made aware of the problem, I clicked the button "Sync Time with Time Server" and all was back to normal.

    What could cause this to occur? What can I check to ensure it doesn't happen again?
     
  2. Kailash1

    Kailash1 Well-Known Member

    Joined:
    Nov 27, 2006
    Messages:
    252
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    I believe this is VPS. Clock drift is common issue in VPS. You should contact your service provider. Depending on the virtulization environment, they should be able to help you to fix this.
     
  3. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    538
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    While this can happen on a dedicated server, this is likely a VPS, correct.
    Unfortunately, if it is a vps, you likely won't be able to resolve this issue on your own due to hardware/software restrictions.
    Try to run the following inside SSH as root. If it works, great. If not, you'll need to contact your provider

    Code:
    rdate -s rdate.cpanel.net
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, as mentioned, this often happens on a VPS when the hardware node time is out of sync. Check with your hosting provider to ensure this is addressed.

    Thank you.
     
  5. akust0m

    akust0m Active Member

    Joined:
    Feb 19, 2016
    Messages:
    44
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Melbourne
    cPanel Access Level:
    Root Administrator
    Thanks for the comments!

    My VPS went through a live migration between hardware nodes, apparently a few clients noticed on certain Linux kernels that their system clock drifted after this event.

    As a short term measure I set up a cron to sync the time every minute until I could restart the server at an appropriate time. Everything is okay now :)
     
  6. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    538
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Are you sure that the time synced appropriately? I would double check, since VPS' have problems in most cases running rdate
     
  7. akust0m

    akust0m Active Member

    Joined:
    Feb 19, 2016
    Messages:
    44
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    Melbourne
    cPanel Access Level:
    Root Administrator
    Hi @twhiting9275

    Yeah as mentioned in my previous post, everything is fine now. A restart of the VPS was required and has been in sync for a number of days.
     
  8. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    538
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    fair enough, you got an easy VPS then ;) . Consider yourself lucky :)
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page