I added the following line to $ date ; sudo service ntp stop ; sudo ntpdate -s gov ; sudo service ntp start ; date Thu Jan 1 UTC 1970 * Stopping NTP server ntpd [ OK ] * Starting NTP server [ OK ] Thu Feb 14 UTC 2013 notice the '-b' flag on ntpdate.
From ntpdate's man page: "Force the time to be stepped using the settimeofday() system call, rather than slewed (default) using the adjtime() system call.
I also heard of Xen VMs clocks misbehaving before, but not like that and nothing that ntpd running wouldn't solve.Thanks for the idea hwclock gave me an error : As well as in other hardware machines I had.I am running Ubuntu on an ARM based embedded system that lacks a battery backed RTC. Thus, I use the NTP service to update the time to the current time.Click Here to receive this Complete Guide absolutely free.20 Feb ntpdate: step time server 220.127.116.11 offset -2770.341672 sec [[email protected] ~]# ntpdate 18.104.22.168 20 Feb ntpdate: step time server 22.214.171.124 offset -2770.341754 sec [[email protected] ~]# ntpdate 0.20 Feb ntpdate: step time server 1.202 offset -2770.345091 sec [[email protected] ~]# ntpdate 0.20 Feb ntpdate: step time server 1.202 offset -2770.345357 sec [[email protected] ~]# service ntpd status ntpd is stopped OBS:126.96.36.199 is the campus NTP server, disguised. Let me know if can give any clue, ommited it to not send a lot of junk to the thread at first. Jan 8 .826 CST: rtdel 0000 (0.000), rtdsp 10001 (1000.015), refid 00000000 (0.0.0.0). Jan 8 .822 CST: org 00000000.00000000 (.000 CST Thu Dec 31 1899). Jan 8 .822 CST: NTP: rcv packet from 1.1 to 10.19.0.111 on Vlan1:. Jan 8 .819 CST: rtdel 0B73 (44.724), rtdsp 1AC6 (104.584), refid AC1C9605 (1.5).