FreeBSD date drifts significantly
neshort at yahoo.com
Tue Nov 21 15:34:35 PST 2006
--- Eric <heli at mikestammer.com> wrote:
> Neil Short wrote:
> > my FreeBSD date drifts out of sync with the system
> > date.
> > When I set it, it is absolutely correct and
> > the system (CMOS) date. I then reboot and -
> > it's jumped 12 hours forward. Reboot again -
> > 12 hour jump ... until the FreeBSD date is about 2
> > a half days beyond today's date - and the CMOS
> > When I set up the system I said that the system
> > is NOT set to UTC - but just to be sure, I went
> > into sysinstall and re-set the time zone the same
> > (MST - Arizona).
> > I suspect this has something to do with maybe the
> > server that is synchronizing my time; but I don't
> > recall how to synchronize my time with an
> > server. Can't find documentation on it either.
> > Any pointers?
> man ntpd
> has your answers. my /etc/ntp.conf looks like:
> server us.pool.ntp.org
> server 0.pool.ntp.org
> server 1.pool.ntp.org
> driftfile /var/db/ntp.drift
> things stay synced up tight on my machine
This is very helpful information. I have been wanting
to synchronize my date.
It didn't really stop the problem; but I ran a bunch
of test and have narrowed it down to the following -
although I cannot dependably reproduce it.
It has something to do with rebooting from windows (a
dual-boot system) straight into FreeBSD (using my boot
manager of choice: GAG.)
It seems that if I boot into windows, log in and enter
the windows time/date tool -- make no changes and
reboot into FreeBSD, the FreeBSD date will lurch
forward 10 to 12 hours. The CMOS date is still right.
It's a puzzle; but since Windows seems to be required
to duplicate this weirdness I'm not going to worry
about it -- at least until I can duplicate it without
Thanks for the input, guys.
Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all his works are truth, and his ways are justice; and he is able to bring low those who walk in pride.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the freebsd-questions