Cannot set time on server after emergency reboot - ntp dies
Every time ntp tries to update it dies:
time correction of 18001 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time.
Tried:
ntpdate -b 0.us.pool.ntp.org 1.us.pool.ntp.org 2.us.pool.ntp.org 3.us.pool.ntp.org
10 Mar 16:08:42 ntpdate[28568]: step time server 184.105.192.247 offset 18003.254890 sec
when the time should have been 21:08.
If I remove the /etc/localtime link, and report UTC time it is off also, so nothing converting to local.
Please help. I have been at this for over 16hours with no joy.
Gary
6 Replies
I am just trying to figure out what this apparently indiced issue could be and how to resolve it. And NTP is running but dies on every attempt to update. This server has been keeping perfect time with no NTP errors.
It's not like ntpd is "dying". It's intentionally committing suicide because your clock is so wildly wrong it isn't sure the system is sane. If ntpd is passed the -g argument, it will be willing to set the clock no matter how wrong it is, once.