All,
I am having great difficulty getting xntp (4.1.1-121) to work on a SuSE Linux 8 (2.4.19-64GB-SMP). The hardware clock seems to maintain the proper time but the system clock drifts upwards over the course of the day upwards of six seconds.
The drift file never updates and continually shows a 0.000. Never changing out of that.
This is the output from an ntpq -c rv -p.
status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
version="ntpd 4.1.1@1.786 Wed Oct 16 12:55:05 UTC 2002 (1)",
processor="i686", system="Linux2.4.19-64GB-SMP", leap=11, stratum=16,
precision=-17, rootdelay=0.000, rootdispersion=371.775, peer=0,
refid=0.0.0.0, reftime=00000000.00000000 Thu, Feb 7 2036 0:28:16.000,
poll=4, d"clock=ce7a18ee.befa5093 Fri, Oct 9 2009 15:17:50.746, state=0,
offset=0.000, frequency=0.000, jitter=0.008, stability=0.000
remote refid st t when poll reach delay offset jitter
==============================================================================
dc01.strat_nt.s .LOCL. 1 u 5 64 377 73.216 -512.48 14.547
The clock frequency, jitter, and stability never change. We have other servers that clock off of the same server we are running and they do not have problems.
Below is the ntp.conf for this system.
# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
# Permit all access over the loopback interface. This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1
restrict -6 ::1
# Hosts on local network are less restricted.
#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
restrict default ignore
restrict 10.0.45.1 mask 255.255.255.0 nomodify notrap
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (
http://www.pool.ntp.org/join.html).
# server 0.rhel.pool.ntp.org
# server 1.rhel.pool.ntp.org
# server 2.rhel.pool.ntp.org
#broadcast 192.168.1.255 key 42 # broadcast server
#broadcastclient # broadcast client
#broadcast 224.0.1.1 key 42 # multicast server
#multicastclient 224.0.1.1 # multicast client
#manycastserver 239.255.254.254 # manycast server
#manycastclient 239.255.254.254 key 42 # manycast client
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
# server 127.127.1.0 # local clock
# fudge 127.127.1.0 stratum 10
server 10.0.10.15
restrict 10.0.10.15 nomodify
# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
driftfile /var/lib/ntp/drift
# Key file containing the keys and key identifiers used when operating
# with symmetric key cryptography.
keys /etc/ntp/keys
# Specify the key identifiers which are trusted.
#trustedkey 4 8 42
# Specify the key identifier to use with the ntpdc utility.
#requestkey 8
# Specify the key identifier to use with the ntpq utility.
#controlkey 8
I have ensured that the drift file was accessible and moved it to /tmp for testing. It has rw permissions across the board. I have tried both with and without the restrictions and with different flags on the restrictions with no luck.
Any assistance you can provide on this would be welcome.