[ntp:questions] Question: Why does ntpd keeps a fixed difference from localhost ??

Ray Kao cr.kao at ever.com.tw
Mon Nov 10 10:10:06 UTC 2003


My system runs solaris 8 and xntpd to maintain system time-to-date.
There's now a problem, the server keeps a fixed difference from
localhost (and the ntp servers) after a reboot at few days ago.

Here is the output of ntptrace, ntpdate -q localhost, and ntp.conf.

# ntptrace
localhost: stratum 6, offset -6.868806, synch distance 0.41951
sc0-t: stratum 5, offset -6.904502, synch distance 0.37885
sf12k-admin-p: stratum 4, offset -6.900407, synch distance 0.36856
10.20.41.221: stratum 3, offset -6.884880, synch distance 0.22878
203.69.197.150: 	*Timeout*


# ntpdate -qd localhost
 4 Nov 12:41:39 ntpdate[28721]: ntpdate 3-5.93e Mon Sep 20 15:45:30
PDT 1999 (1)
transmit(127.0.0.1)
receive(127.0.0.1)
transmit(127.0.0.1)
receive(127.0.0.1)
transmit(127.0.0.1)
receive(127.0.0.1)
transmit(127.0.0.1)
receive(127.0.0.1)
transmit(127.0.0.1)
server 127.0.0.1, port 123
stratum 6, precision -18, leap 00, trust 000
refid [192.168.2.183], delay 0.02580, dispersion 0.00000
transmitted 4, in filter 4
reference time:	   c351ac69.5be02000  Tue, Nov  4 2003 12:41:13.358
originate timestamp: c351ac7c.90e22000  Tue, Nov  4 2003 12:41:32.565
transmit timestamp:  c351ac83.6f2d9000  Tue, Nov  4 2003 12:41:39.434
filter delay:  0.02611  0.02596  0.02580  0.02580 
		   0.00000  0.00000  0.00000  0.00000 
filter offset: -6.86860 -6.86867 -6.86865 -6.86865
		   0.000000 0.000000 0.000000 0.000000
delay 0.02580, dispersion 0.00000
offset -6.868658

 4 Nov 12:41:39 ntpdate[28721]: step time server 127.0.0.1 offset
-6.868658 sec

# more /etc/inet/ntp.conf
server sc0-p prefer
server sc1-p
server sc0-t
server sc1-t
server 127.127.1.0
disable pll
slewalways yes

peer clusternode1-priv prefer
peer clusternode2-priv

driftfile /var/ntp/ntp.drift

filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable

And.. ntpq

# ntpq -p
     remote           refid      st t when poll reach   delay   offset
   disp
==============================================================================
 LOCAL(0)        LOCAL(0)         3 l   67   64  377     0.00    0.000
  10.01
 sc0-p           sf12k-admin-t    5 u  245 1024    0     0.66  -254.66
16000.0
+sc1-p           sf12k-admin-p    5 u   30   64  377     0.63  -36.496
   0.40
*sc0-t           sf12k-admin-p    5 u   26   64  377     0.61  -35.541
   0.44
-sc1-t           sf12k-admin-p    4 u 1021 1024  375     1.39  -194.76
 225.16
 clusternode1-pr 0.0.0.0         16 -    - 1024    0     0.00    0.000
16000.0
+clusternode2-pr sc0-t            6 u   52   64  376     0.32  -32.947
   1.14



More information about the questions mailing list