[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: time is always 10 minutes fast!
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: time is always 10 minutes fast!
- From: Darrin Chandler <dwchandler_(_at_)_stilyagin_(_dot_)_com>
- Date: Tue, 18 Apr 2006 08:38:44 -0700
On Tue, Apr 18, 2006 at 08:22:55AM -0700, Darrin Chandler wrote:
> You have both "server" *and* "servers" active in your config? Hmm. In
> any case ntpd should be logging to /var/log/daemon by default. Messages
> there will be a great clue as to what's going on, hopefully.
> I'd comment out the single server commands and go with "servers
> pool.ntp.org" and see what happens.
Also, if your clock is too far off it'll never sync. In syslog you'll
see entries like "Adjusting time by 1000 secs", then "Adjusting time by
1002 secs", etc. It'll continue to creep farther off. I'm not sure where
the point is, but if you get your clock within, say, 5 minutes then it
will sync fine if everything else is set up properly. You can use the -s
flag for ntpd to initially set the time (as opposed to adjusting) if
it's off very far.
Darrin Chandler | Phoenix BSD Users Group
dwchandler_(_at_)_stilyagin_(_dot_)_com | http://bsd.phoenix.az.us/
Visit your host, monkey.org