[ntp:questions] slowly gaining time

Steve Kostecke kostecke at ntp.isc.org
Fri Dec 22 20:09:19 UTC 2006


On 2006-12-23, Jammer <ask.me at mail.com> wrote:

> The main problem is that ntpd doesn't keep the time updated.

<snip>

> # more  /var/lib/ntp/ntp.drift
> 0.000

This is likely the problem. Please try deleting this file and restarting
ntpd. You may wish to make the change suggested below, too.

<snip>

> #/etc/ntp.conf
>
> driftfile /var/lib/ntp/ntp.drift
>
> server 0.ca.pool.ntp.org
> server 1.ca.pool.ntp.org
> server 2.ca.pool.ntp.org

Append iburst to those server lines to speed up ntpd's initial
synchronization from ~ 8 minutes to 15-30 seconds.

-- 
Steve Kostecke <kostecke at ntp.isc.org>
NTP Public Services Project - http://ntp.isc.org/




More information about the questions mailing list