[ntp:questions] ntp not updating the time

Evandro Menezes evandro at mailinator.com
Wed Apr 14 17:32:02 UTC 2010


I'd suggest soem sanity changes to the configuration file:

>  31 # Undisciplined Local Clock. This is a fake driver intended for backup
>  32 # and when no outside source of synchronized time is available.
>  33 server  127.127.1.0 # local clock
>  34 fudge   127.127.1.0 stratum 10

Remove these lines.  Using your own host time as time reference for
itself doesn't make sense in most situations.

>  36 # Drift file.  Put this in a directory which the daemon can write to.
>  37 # No symbolic links allowed, either, since the daemon updates the file
>  38 # by creating a temporary in the same directory and then rename()'ing
>  39 # it to the file.
>  40 driftfile /var/lib/ntp/drift

Sometimes, while playing with NTP configuration, you may end up with a
bad driftfile.  Stop NTP, delete /var/lib/ntp/drift and start NTP
again.

HTH




More information about the questions mailing list