Re: FreeBSD date drifts significantly



On 11/21/06, Eric <heli@xxxxxxxxxxxxxxx> wrote:
Neil Short wrote:
> my FreeBSD date drifts out of sync with the system
> date.
>
> When I set it, it is absolutely correct and matches
> the system (CMOS) date. I then reboot and - shezam!
> it's jumped 12 hours forward. Reboot again - another
> 12 hour jump ... until the FreeBSD date is about 2 and
> a half days beyond today's date - and the CMOS date.
>
> When I set up the system I said that the system clock
> is NOT set to UTC - but just to be sure, I went back
> into sysinstall and re-set the time zone the same way
> (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 up-stream
> 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

us.pool.ntp.org is just a meta pointer to one of the servers in the us
pool - so you could be pointing/asking 0.pool.ntp.org twice. Usually
just us.pool.ntp.org is good enough. Unless your obsessive like me
and list, 0,1,2 and 3.us.pool.ntp.org

++1 on http://www.pool.ntp.org/ -- great redundancy and you don't end
up hard coding time servers that may go away or drop their public
access. If you don't have your own cesium clock it's a cheap
replacement <g>.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: utc date set back to cdt by ntpd
    ... > with the trimble driver setting the system clock and using that 1pps time ... correctly on your local server. ... another factor is that you shouldn't set your stratum within the NTP ... > UTC and the system clock advances by the 5 hours as it should. ...
    (linux.redhat.misc)
  • Re: getutcdate() issues
    ... If your server has incorrect local time, ... I still fail to understand why this is the database engine's fault. ... them with the correct system clock. ...
    (microsoft.public.sqlserver.programming)
  • Reference Clock / shared memory driver
    ... I have a server 127.127.28.2 prefer minpoll 4 entry in my ntp.conf ... entry creates a shared memory segment on startup with a defined shared ... I use a system clock time from another application via a 1553 bus from ... The problem is do NOT see my system clock being updated after the ntpd ...
    (comp.protocols.time.ntp)
  • Re: SNTP Client on Windows CE 5.0
    ... Our SNTP client is indeed simple -- whatever time the server gives it, ... immediately updates the system clock with that, so it doesn't try to be ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windowsce.embedded)
  • Re: Daylight Saving Time not working
    ... > noted the down the system clock time which was 1.55 AM. ... > server once. ... >>Mike Walsh, Helsinki, Finland ...
    (microsoft.public.sharepoint.windowsservices)