ntp and time sync
Eric R.
rossiter at discoverynet.com
Thu Jan 23 19:21:35 CST 2003
Hey LugNuts,
A while back, I asked for input on NTP. I had to go away from that
task, but it has now returned. At this point, I'm stuck and lost. So....
Is anyone synching their network using ntp? I have my ws synched, (our
stratum 2?) I have a cron job entered that keeps it in sync. My problem
is I can't get the other Lin boxes (stratum 3?) to sync from this one.
I've tried using ntpdate -q to the ip and name of this box, to no avail.
I recieve the following:
ntpdate -q 192.168.10.55
server 192.168.10.55, stratum 0, offset 0.000000, delay 0.00000
23 Jan 12:58:48 ntpdate[3690]: no server suitable for synchronization found
the ntp.conf file for our stratum 2 (name jupiter, IP 192.168.10.55)
server 128.9.176.30 # US CA timekeeper.isi.edu
server 192.5.41.40 # US DC tick.usno.navy.mil
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp/drift
multicastclient # listen on default 224.0.1.1
broadcastdelay 0.008
authenticate no
ntpdate -q 128.9.176.30 returns:
server 128.9.176.30, stratum 1, offset 0.026086, delay 0.08362
23 Jan 13:00:30 ntpdate[16432]: adjust time server 128.9.176.30 offset
0.026086 sec
which I believe is pretty good? offset of 0, is pretty close right?
ntp.conf file for one of the proposed stratum 3's (name appserv, IP
192.168.10.33
server 192.168.10.55 # jupiter, our stratum 2
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp/drift
multicastclient # listen on default 224.0.1.1
broadcastdelay 0.008
authenticate no
any idea why I'm getting the above error? any idea why it thinks
jupiter is a stratum 0?
if I use ntpdate -q 128.9.176.30 on appserv it returns:
server 128.9.176.30, stratum 1, offset -211.413466, delay 0.08354
23 Jan 13:07:36 ntpdate[4314]: step time server 128.9.176.30 offset
-211.413466 sec
an offset of -211 is almost 4 minutes right? that's the difference
between these two boxes...
I've also tried using SNTS found here :
http://www.redshift.com/~yramin/atp/snts/
I thought that one would be easy.... I have sntsd running on jupiter. I
have snts running on appserv.... these don't appear to be working at
all, as the boxes are still 4 minutes appart, and the SNTS stuff has
been running for over 30 minutes.
jupiter is RH 7.0 with ntp-4.0.99k-15
appserv is RH 7.1 with ntp-4.0.99k-15
I don't know what else I could tell you....
I know this is long, thanks for your time,
E
More information about the Kclug
mailing list