[ntp:questions] linux ntp problem
Mike Zupan
mzupan at meso.com
Mon Nov 10 21:10:05 UTC 2003
I'm setting up a ntp server for a few servers we have that need to be
synced with the time but do not have access to the internet out of
their default gateway. So I'm trying to setup ntp on a localhost here
that has access to the internet but the internal servers can also
access that machine.
Here is my ntp.conf
server 199.165.76.11 # ntp.alaska.edu
server 204.152.184.72 # clock.isc.org
server 192.12.19.20 # montpelier.ilan.caltech.edu
server 207.200.81.113 # nist1.aol-ca.truetime.com
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 13
#restrict default notrust nomodify
#restrict 127.0.0.1
logfile /var/log/ntp/ntp.log
driftfile /etc/ntp.drift
Here is the ntpq -p on the server
[root at monitor ntp]# ntpq -p
remote refid st t when poll reach delay offset
jitter
==============================================================================
ntp.alaska.edu tick.usnogps.na 2 u 6 64 1 137.891 177.946
0.015
clock.isc.org gps.laguna.vix. 2 u 16 64 1 89.710 183.408
0.015
montpelier.ilan 0.0.0.0 1 u 17 64 1 125.177 167.961
0.015
nist1.aol-ca.tr .ACTS. 1 u 14 64 1 86.821 188.877
0.015
LOCAL(0) LOCAL(0) 13 l 21 64 0 0.000 0.000
4000.00
And here is the result when trying to run ntpdate on the client
root at homer:~# ntpdate -qdv monitor
10 Nov 15:57:28 ntpdate[18715]: ntpdate 4.1.2 at 1.892 Thu Sep 11
23:47:05 PDT 2003
(1)
transmit(66.193.31.12)
receive(66.193.31.12)
transmit(66.193.31.12)
receive(66.193.31.12)
transmit(66.193.31.12)
receive(66.193.31.12)
transmit(66.193.31.12)
receive(66.193.31.12)
transmit(66.193.31.12)
66.193.31.12: Server dropped: strata too high
server 66.193.31.12, port 123
stratum 16, precision -16, leap 11, trust 000
refid [0.0.0.0], delay 0.02583, dispersion 0.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000
originate timestamp: c35a7a38.f171f362 Mon, Nov 10 2003 15:57:28.943
transmit timestamp: c35a7a39.189efd86 Mon, Nov 10 2003 15:57:29.096
filter delay: 0.02588 0.02583 0.02585 0.02583
0.00000 0.00000 0.00000 0.00000
filter offset: -0.15315 -0.15316 -0.15314 -0.15315
0.000000 0.000000 0.000000 0.000000
delay 0.02583, dispersion 0.00000
offset -0.153160
10 Nov 15:57:29 ntpdate[18715]: no server suitable for synchronization
found
I don't understand why its not working.
More information about the questions
mailing list