RE: TIME loss



On Thu, 2006-07-13 at 17:35 -0400, Chris Hill wrote:
On Thu, 13 Jul 2006, Jean-Paul Natola wrote:

But as I mentioned earlier

ntpd is running , when I do top

...?

Anyway, make sure your drift file exists and is writeable. Mine looks
like this:

$ ls -l /var/db/ntpd.drift
-rw-r--r-- 1 root wheel 6 Jul 13 17:01 /var/db/ntpd.drift

If it's not there, just
# touch /var/db/ntpd.drift
...and verify permissions. ntpd should be able to take over from there.



Another thing: (assuming you don't want to use ntpdate) ntpd may not
sync to the time server if the local clock is "very" different from the
server's clock. To sync the clock on boot, you can add

ntpd_sync_on_start="NO" # Sync time on ntpd startup, even if offset is high

...to /etc/rc.conf.



HTH.

--
Chris Hill chris@xxxxxxxxxxxxxx
** [ Busy Expunging <|> ]
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"

Wouldn't 'ntpd_sync_on_start="YES"' work better? Or is it a very
non-intuitive parameter? Refer to
http://www.qnd-guides.org/qnd-ntpd.html


_______________________________________________
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: Quick sync between two computers not connected to the internet
    ... bunch of truly & completely isolated machines which happen to stay in sync. ... and then run time in standalone mode against their local clock. ... ntpd, thinking of power saving and spread-spectrum clocking woes) have ...
    (comp.protocols.time.ntp)
  • Re: losing time fast
    ... I am using ntp version 4.2.4p7 which was installed with Slackware ... Stop ntpd using whatever means is normal for your OS. ... the system software clock at the wrong rate and the clock was rapidly ... If he is really loosing minutes par day, then there is no drift file ...
    (comp.protocols.time.ntp)
  • Re: losing time fast
    ... You may be right about the drift file. ... I don't know for sure what caused the runaway clock I experience in the ... are correcting by using the national time standard. ... ntpd is absolutely incapable of correcting errors like that or ...
    (comp.protocols.time.ntp)
  • Re: Accuracy of NTP - Advice Needed
    ... requires ptp or direct connection to gps clock'. ... suggest that highly accurate synchronisations are possible, ... Our internal testing to this point is that a stock ntpd pointed against ... and client less than 1ms apart) reports its own accuracy at approx 200 ...
    (comp.protocols.time.ntp)
  • Re: Accuracy of NTP - Advice Needed
    ... requires ptp or direct connection to gps clock'. ... suggest that highly accurate synchronisations are possible, ... Our internal testing to this point is that a stock ntpd pointed against ... If you can possibly site a GPS antenna and receiver at your location, ...
    (comp.protocols.time.ntp)