[ntp:questions] ntp not updating the time

Chuck Swiger cswiger at mac.com
Wed Apr 14 00:47:42 UTC 2010


On Apr 13, 2010, at 4:13 PM, Marc Fromm wrote:
[ ... ]
> The server loses 1 second per minute.
> I've been checking it since I manually updated the time and after 2 hours it is 2 minutes and 1 second behind.


adjtime() used by ntpd and others typically won't correct more than about 2 seconds per hour, so, barring extreme measures, your hardware is too busted to keep reliable time.  Sorry.  :-/

> ntpq -p produces the following:
>     remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
> 131.107.13.100  .ACTS.           1 u  858 1024  374    4.431  62588.8 21305.0
> *LOCAL(0)        .LOCL.          10 l   16   64  377    0.000    0.000   0.001
> 
> My ntp.conf file is all defaults except for the time server entry on line 13.

If you add a server line, then you also need to add a restrict line like:

  restrict time-nw.nist.gov

...otherwise it lacks permission to change your clock, because of the paranoid "restrict default" line.

Regards,
-- 
-Chuck




More information about the questions mailing list