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!

Server time incorrect after reboot

Discussion in 'General Discussion' started by TDP, May 6, 2019.

Tags:
  1. TDP

    TDP Member

    Joined:
    May 6, 2019
    Messages:
    10
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hello,

    I have cPanel/WHM 78.0.21 installed on a CloudLinux 7.6 VPS. The CloudLinux installation is a conversion from a CentOS 7 minimal installation. However, every time I reboot the server, the time is incorrect, and I must sync it with the time server through WHM. Is there a reason why this is occurring? Is there a NTP package I must install, or should cPanel/WHM be doing this automatically?

    Thanks
     
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,464
    Likes Received:
    180
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    This is often the case if the time is wrong on the vm host node.

    You can run

    yum install ntp
    service ntpd start
    chkcofig ntpd on

    To keep the time synced automatically.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. TDP

    TDP Member

    Joined:
    May 6, 2019
    Messages:
    10
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Thanks for your reply GOT. I tried installing NTP and disabling Chronyd however the time still would not sync. I reverted back to using Chrony and it appears that it is unable to reach any time servers even after disabling the firewall on the VPS. I'm beginning to believe this is an issue on my VPS providers end and have opened a ticket with them. I'll post back here though if I continue having difficulty after ruling out my VPS provider's network as the issue.
     
    cPanelMichael likes this.
  4. httpdocs

    httpdocs Member

    Joined:
    Mar 9, 2018
    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    78
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    This is because of the attack on the ntp port.
    Most of the time this port is closed by hosting/server provider.
    Your issue is from the server node.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,299
    Likes Received:
    2,155
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @TDP,

    Let us know the outcome once your VPS provider responds.

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

    TDP Member

    Joined:
    May 6, 2019
    Messages:
    10
    Likes Received:
    5
    Trophy Points:
    3
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Hi,

    Sorry for the late reply. I did get an update from my hosting provider. They said as the main IP for my VPS is going over Voxility for DDoS protection, the NTP port is indeed closed.
     
    cPanelMichael likes this.
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