New ntp install from tarball

C de-Avillez hggdh2 at ubuntu.com
Mon Dec 22 16:50:26 UTC 2014


On Sun, Dec 21, 2014 at 1:42 PM, Gene Heskett <gheskett at wdtv.com> wrote:
> On Sunday 21 December 2014 11:58:17 Tom H did opine
> And Gene did reply:
>> On Sun, Dec 21, 2014 at 8:26 AM, Gene Heskett <gheskett at wdtv.com> wrote:
>> > I just installed ntp-4.2.8 in the default /usr/local prefix, and
>> > adjusted the stuff in /etc/init.d/ntp, and in /etc/defaults/ntp, and
>> > its working, but neither I nor my watch script seem to be able to
>> > locate a "drift" or "ntp.drift" file that the default 10.04.4 LTS
>> > version kept in the /var/lib/ntp subdir.
>>
>> Check "{,/usr/local}/etc/ntp.drift".
>

There are two ways of specifying the drift file:

* the driftfile keyword in the NTP configuration;
* the "-f <driftfile>" parameter to the NTP daemon, where <driftfile>
is the full path to the drift file desired location.

Drift files should be created automagically if they do not exist --
but it takes some time for the file to be created. When NTPd starts
(and absent a driftfile) it will start monitoring the time variances
more intensively. Once it decides it has enough data about the drift,
it will write a driftfile to the location specified in either of the
two locations above, and slow down drift calculations. Usually this
process takes from many minutes to one hour or so.

So... check your drift file location; verify it is owned by the userid
running the daemon; wait a few hours.

This should be it.

Cheers,

-- 
..hggdh..




More information about the ubuntu-users mailing list