Re: system date using ntp client is drifting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 06/04/12 1:27 PM, Nate Duehr wrote:
> Additionally, ntp will refuse to sync if it's too far out.  Use ntpdate [server IP] to force the issue first. If the machines have a bad CMOS battery and won't keep time, ntpdate package can be configured to force time sync (which is a bad hack) at boot-time.

the standard EL5 /etc/rc.d/init.d/ntpd script does this automatically, 
unless its been disabled via /etc/sysconfig/ntpd

> After getting the clock in sync, "hwclock --systohc" to push it into the CMOS clock.

setting SYNC_HWCLOCK=yes  in said above config file will do this, too.


-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux