system clock running 2h early although ntpd enabled
rwmaillists at googlemail.com
Fri Feb 11 22:01:11 UTC 2011
On Fri, 11 Feb 2011 12:13:43 -0800
David Brodbeck <gull at gull.us> wrote:
> On Fri, Feb 11, 2011 at 1:16 PM, Christopher J. Ruwe <cjr at cruwe.de>
> > Since some weeks my local clock runs two hours early.
> > My /etc/localtime is a copy of /usr/share/zoneinfo/Europe/Berlin
> > and I have set both ntpd_enable="YES" and ntpd_sync_on_start="YES".
> ntpd has a sanity check -- if the clock is out by more than 1000
> seconds it will give up. So you may have to manually set the clock to
> something close to correct before ntpd will handle it. Or pass ntpd
> the "-g" flag to disable the initial sanity check,
That's what ntpd_sync_on_start="YES" does.
More information about the freebsd-questions