Paul W. Abrahams wrote:
My reading of the online description of ntp seems to indicate that the drift file is updated hourly, but when I did an ls on it I found that it hadn't been modified for over a day. And the only place I could find a file named ntp.drift was in
/var/lib/ntp/drift/ntp.drift
rather than the expected
/etc/drift/ntp.drift
The former is the right place. Check your /etc/ntp.conf and see what it specifies for 'driftfile'.
So after attempting to understand the ntpd description, I still have several questions:
1. How often are the external servers consulted? 2. What happens when they are consulted? 3. How often is the drift file updated? 4. When and how is the data in the drift file used?
I would have to go study the NTP reference documentation. Why are those particularly interesting questions? If you really want some quick answers, try comp.protocols.time.ntp.
suillus:~ # ntptrace /usr/sbin/ntpq: read: Connection refused
Is your xntpd actually running? It doesn't look like it. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution.