Subject: xntpd won't synchronize with time servers
To: None <netbsd-help@netbsd.org>
From: Trevin Beattie <trevin@eyring.com>
List: netbsd-help
Date: 06/07/2000 11:06:41
--=====================_960419201==_
Content-Type: text/plain; charset="us-ascii"
I just checked the xntpd daemon on my company's server and noticed that it
isn't communicating with any time servers. I tried fiddling with the
configuration file, but that didn't help. Running the daemon in debug
mode, I found that it is receiving response packets from the time servers,
but it is ignoring them all!
bash-2.03# xntpd -d -p /var/run/xntpd.pid
tick = 10000, tickadj = 40, hz = 100
kernel vars: tickadj = 40, tick = 10000
adj_precision = 40, tvu_maxslew = 3960, tsf_maxslew = 0.010385c6
create_sockets(123)
bind() fd 4, family 2, port 123, addr 00000000, flags=1
bind() fd 5, family 2, port 123, addr c04d0aca, flags=1
bind() fd 6, family 2, port 123, addr 7f000001, flags=0
init_io: maxactivefd 6
peer_config: addr 127.127.1.0 mode 3 version 3 minpoll 6 maxpoll 10 flags 0
ttl 0 key 0
resolving tick.cs.unlv.edu
resolving tock.cs.unlv.edu
resolving ntp.ucsd.edu
resolving ntp.tmc.edu
resolving ntp5.tamu.edu
loop_config 1 47.698
report_event: system event 'event_restart' (0x01) status 'sync_alarm,
sync_unspec, 1 event, event_unspec' (0xc010)
refclock_receive: 127.127.1.0 0.000000 0.00000 0.00999)
peer LOCAL(0) event 'event_reach' (0x84) status 'unreach, conf, 1 event,
event_reach' (0x8014)
clock_filter(127.127.1.0, 0.000000, 0.00000, 0.01001)
clock_update(127.127.1.0)
input_handler: fd=6 length 68 from 7f000001 127.0.0.1
peer_config: addr 131.216.16.9 mode 3 version 3 minpoll 6 maxpoll 10 flags
0 ttl 0 key 0
sendpkt(fd=6 127.0.0.1, 127.0.0.1, ttl=-1, 8)
input_handler: fd=6 length 68 from 7f000001 127.0.0.1
peer_config: addr 131.216.18.4 mode 3 version 3 minpoll 6 maxpoll 10 flags
0 ttl 0 key 0
sendpkt(fd=6 127.0.0.1, 127.0.0.1, ttl=-1, 8)
input_handler: fd=6 length 68 from 7f000001 127.0.0.1
peer_config: addr 132.239.254.5 mode 3 version 3 minpoll 6 maxpoll 10 flags
0 ttl 0 key 0
sendpkt(fd=6 127.0.0.1, 127.0.0.1, ttl=-1, 8)
input_handler: fd=6 length 68 from 7f000001 127.0.0.1
peer_config: addr 128.249.1.10 mode 3 version 3 minpoll 6 maxpoll 10 flags
0 ttl 0 key 0
sendpkt(fd=6 127.0.0.1, 127.0.0.1, ttl=-1, 8)
input_handler: fd=6 length 68 from 7f000001 127.0.0.1
peer_config: addr 165.91.52.110 mode 3 version 3 minpoll 6 maxpoll 10 flags
0 ttl 0 key 0
sendpkt(fd=6 127.0.0.1, 127.0.0.1, ttl=-1, 8)
input_handler: fd=6 length 48 from 7f000001 127.0.0.1
sendpkt(fd=6 127.0.0.1, 127.0.0.1, ttl=-1, 48)
input_handler: fd=6 length 48 from 7f000001 127.0.0.1
sendpkt(fd=6 127.0.0.1, 127.0.0.1, ttl=-1, 184)
sendpkt(fd=4 131.216.16.9, 0.0.0.0, ttl=-8, 48)
ignore on 0(10) fd=4 from 131.216.16.9
sendpkt(fd=4 131.216.18.4, 0.0.0.0, ttl=-8, 48)
ignore on 0(10) fd=4 from 131.216.18.4
sendpkt(fd=4 132.239.254.5, 0.0.0.0, ttl=-8, 48)
ignore on 0(10) fd=4 from 132.239.254.5
sendpkt(fd=4 128.249.1.10, 0.0.0.0, ttl=-8, 48)
ignore on 0(10) fd=4 from 128.249.1.10
sendpkt(fd=4 165.91.52.110, 0.0.0.0, ttl=-8, 48)
ignore on 0(10) fd=4 from 165.91.52.110
Why is xntpd ignoring time replies?
--=====================_960419201==_
Content-Type: text/plain; name="ntp.conf";
x-mac-type="54455854"; x-mac-creator="74747874"
Content-Transfer-Encoding: x-uuencode
Content-Disposition: attachment; filename="ntp.conf"
begin 600 ntp.conf
M(PHC(%5N9&ES8VEP;&EN960@3&]C86P@0VQO8VLN(%1H:7,@:7,@82!F86ME
M(&1R:79E<B!I;G1E;F1E9"!F;W(@8F%C:W5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