[ntp:questions] Can't get time to sync with local time server
Arty
arty-nospam at domain.tld
Thu Dec 14 21:37:06 UTC 2006
Using Freebsd 6.1
My time server is running ntpd and does not appear to have trouble
syncing with the public time servers.
My local boxes cannot seem to set the time off of my server, but they
can query it...
Example. (from my client)
# ntpdate
14 Dec 16:07:44 ntpdate[94134]: no servers can be used, exiting
# ntpdate 192.168.1.1
14 Dec 16:08:07 ntpdate[94135]: no server suitable for synchronization found
# ntpdate -q 192.168.1.1
server 10.1.16.2, stratum 16, offset 177.266135, delay 0.02588
14 Dec 16:08:42 ntpdate[94136]: no server suitable for synchronization found
# /etc/rc.d/ntpd start
ntpdc> listpeers
client ntpbox
ntpdc> showpeer ntpbox
remote 192.168.1.1, local 192.168.1.2
hmode client, pmode unspec, stratum 16, precision -18
leap 11, refid [73.78.73.84], rootdistance 0.00000, rootdispersion 0.00000
ppoll 10, hpoll 6, keyid 0, version 4, association 50172
reach 000, unreach 2, flash 0x0000, boffset 0.00400, ttl/mode 0
timer 0s, flags config, bclient, prefer
reference time: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000
originate timestamp: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000
receive timestamp: 00000000.00000000 Thu, Feb 7 2036 1:28:16.000
transmit timestamp: c92c3c59.04571611 Thu, Dec 14 2006 16:10:49.016
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
filter order: 7 6 5 4
3 2 1 0
offset 0.000000, delay 0.00000, error bound 0.00000, filter error 4.00000
Why can't I set my time???
server ntp.conf-------------
server time.nist.gov prefer
server pool.ntp.org
server clock.isc.org
driftfile /var/db/ntp.drift
restrict default ignore
#restrict 192.168.1.0 mask 255.255.255.0 nomodify
restrict 192.168.1.0 mask 255.255.255.0
client ntp.conf-----------------------
server 192.168.1.1 prefer
driftfile /var/db/ntp.drift
More information about the questions
mailing list