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

Hal Murray hal-usenet at ip-64-139-1-69.sjc.megapath.net
Thu May 19 21:53:54 UTC 2011

In article <35FCD513-E8EA-4FEB-A33B-6D47D6556049 at mac.com>,
 Chuck Swiger <cswiger at mac.com> writes:
>On May 19, 2011, at 10:01 AM, M. Giertzsch wrote:
>> To run into the problem that the client is not syncing to the server I
>> --> stopped the NTP service on both client and server
>> --> changed the time on the client back to january of 1975
>> --> started the NTP service on the client
>> --> started the NTP service on the server a little later
>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.

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.

These are my opinions, not necessarily my employer's.  I hate spam.

More information about the questions mailing list