Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2006 14:56:00 -0800
From:      "Peter A. Giessel" <pgiessel@mac.com>
To:        Derek Ragona <derek@computinginnovations.com>
Cc:        Zbigniew Szalbot <zbyszek@szalbot.homedns.org>, freebsd-questions@freebsd.org
Subject:   Re: ntpd not adjusting the clock?
Message-ID:  <45355F80.3@mac.com>
In-Reply-To: <6.0.0.22.2.20061017173933.021d56c8@mail.computinginnovations.com>
References:  <20061018000853.O49453@192.168.11.51> <6.0.0.22.2.20061017173933.021d56c8@mail.computinginnovations.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006/10/17 14:40, Derek Ragona seems to have typed:
> ntpd won't correct the clock if the difference is too large.  So you need 
> to kill ntpd, run ntpdate to set the clock, then start ntpd up again.
> 
>          -Derek
> 
> 
> At 05:13 PM 10/17/2006, Zbigniew Szalbot wrote:
>> ntpd_flags="-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntp.drift"

>From "man ntpd":
     -g      Normally, ntpd exits if the offset exceeds the sanity limit,
             which is 1000 s by default.  If the sanity limit is set to zero,
             no sanity checking is performed and any offset is acceptable.
             This option overrides the limit and allows the time to be set to
             any value without restriction; however, this can happen only
             once.  After that, ntpd will exit if the limit is exceeded.  This
             option can be used with the -q option.

With the "-g" flag in there, it shouldn't matter if the difference is
too large.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45355F80.3>