system clock running 2h early although ntpd enabled
gull at gull.us
Fri Feb 11 20:13:45 UTC 2011
On Fri, Feb 11, 2011 at 1:16 PM, Christopher J. Ruwe <cjr at cruwe.de> wrote:
> 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, if you're sure you
trust your clock servers not to do something silly.
More information about the freebsd-questions