I'm running a small home LAN with a single NTP relay (SuSE 9.0) pointing to a public server. The other machines on the LAN point to the relay. Watching the ntp log on the relay though I see that it hasn't been updated by the public server for almost 48 hours. Since my last restart of xntpd it looks like: ################ 15 Jun 18:21:16 ntpd[1543]: ntpd exiting on signal 15 15 Jun 18:24:24 ntpd[4438]: signal_no_reset: signal 17 had flags 4000000 15 Jun 18:24:24 ntpd[4437]: running as uid(74)/gid(65534) euid(74)/egid(65534). 15 Jun 18:24:24 ntpd[4437]: frequency initialized -218.502 from /var/lib/ntp/drift/ntp.drift 15 Jun 18:28:46 ntpd[4437]: time reset -0.390628 s 15 Jun 18:28:46 ntpd[4437]: kernel time discipline status change 41 15 Jun 18:28:46 ntpd[4437]: synchronisation lost ################ However, the drift file is being updated hourly and from ntptime I get: linux:/var/log # ntptime ntp_gettime() returns code 0 (OK) time c47ca1a8.7c1e5000 Thu, Jun 17 2004 18:03:04.484, (.484838), maximum error 605501 us, estimated error 27527 us ntp_adjtime() returns code 0 (OK) modes 0x0 (), offset -1404.000 us, frequency -217.925 ppm, interval 4 s, maximum error 605501 us, estimated error 27527 us, status 0x1 (PLL), time constant 6, precision 1.000 us, tolerance 512 ppm, pps frequency 0.000 ppm, stability 512.000 ppm, jitter 200.000 us, intervals 0, jitter exceeded 0, stability exceeded 0, errors 0. But I admit I don't know what this is telling me. How can I tell if my local relay is working correctly? TIA, Pete
On Thu, Jun 17, 2004 at 06:05:34PM -0500, Pete Simko wrote:
How can I tell if my local relay is working correctly?
What does command "/usr/sbin/ntpdc -c peers" report on your relay? If there are any unreachable time servers, you will see it in the output. Regards, -Kastus
On Thu, 2004-06-17 at 19:24, Kastus wrote:
On Thu, Jun 17, 2004 at 06:05:34PM -0500, Pete Simko wrote:
How can I tell if my local relay is working correctly?
What does command "/usr/sbin/ntpdc -c peers" report on your relay?
If there are any unreachable time servers, you will see it in the output.
Regards, -Kastus
They all look good: linux:~ # /usr/sbin/ntpdc -c peers remote local st poll reach delay offset disp ======================================================================= =ntp-1.gw.uiuc.e 192.168.x.xx 2 1024 377 0.03102 0.004129 0.01486 *dr-zaius.cs.wis 192.168.x.xx 2 1024 377 0.02768 0.002538 0.01486 =milo.mcs.anl.go 192.168.x.xx 2 1024 377 0.06924 -0.023302 0.01485 But I still don't understand why my relay is going several days between updates from the remote server(s). Pete
On Thu, Jun 17, 2004 at 08:07:21PM -0500, Pete Simko wrote:
They all look good:
linux:~ # /usr/sbin/ntpdc -c peers remote local st poll reach delay offset disp ======================================================================= =ntp-1.gw.uiuc.e 192.168.x.xx 2 1024 377 0.03102 0.004129 0.01486 *dr-zaius.cs.wis 192.168.x.xx 2 1024 377 0.02768 0.002538 0.01486 =milo.mcs.anl.go 192.168.x.xx 2 1024 377 0.06924 -0.023302 0.01485
But I still don't understand why my relay is going several days between updates from the remote server(s).
Why do you think it's been several days? Check your peers status with /usr/sbin/ntpdc -c 'pstats ntp-1.gw.uiuc.edu dr-zaius.cs.wisc.edu milo.mcs.anl.gov' Regards, -Kastus
participants (2)
-
Kastus
-
Pete Simko