[ntp:questions] Ntp not syncing after powerfail of server

Chuck Swiger cswiger at mac.com
Thu May 19 23:36:48 UTC 2011


On May 19, 2011, at 2:53 PM, Hal Murray wrote:
>> By default, ntpd will not try to correct a clock which is insanely far off.
>> The -g flag can be used to change this; otherwise run ntpdate -b at boot
>> to get the clock close and then run ntpd afterwards to keep the clock in sync.
> 
> Running ntpdate at boot time won't work if the server isn't ready yet.

True, but I think you can specify multiple servers to ntpdate if that is likely to be a problem.

> I think the -g switch to ntpd will do the right thing, that is allow
> one big jump the first time it sets the clock.

Agreed...

Regards,
-- 
-Chuck




More information about the questions mailing list