Hi
How soon does ntpd sync ?
I’ve just started the xntpd daemon on a Solaris 9 server as follows :-
[sudan]/ $ ./usr/lib/inet/xntpd -l /tmp/fred -d
tick = 10000, tickadj = 5, hz = 100
kernel vars: tickadj = 5, tick = 10000
adj_precision = 1, tvu_maxslew = 495, tsf_maxslew = 0.002070b9
create_sockets(123)
bind() fd 20, family 2, port 123, addr 00000000, flags=1
bind() fd 21, family 2, port 123, addr 7f000001, flags=0
bind() fd 22, family 2, port 123, addr 0a02415d, flags=1
init_io: maxactivefd 22
resolving dc-har-coda1.coda.com
report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
input_handler: fd=21 length 68 from 7f000001 127.0.0.1
peer_config: addr 10.2.65.216 mode 3 version 2 minpoll 6 maxpoll 10 flags 0 ttl 0 key 0
sendpkt(fd=21 127.0.0.1, 127.0.0.1, ttl=-1, 8)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
However as yet the time on the server is still 15mins out and has not synced with the time server.
Here are the details in the log file :-
[sudan]/ $ more /tmp/fred
8 Jun 12:06:41 xntpd[1619]: logging to file /tmp/fred
8 Jun 12:06:41 xntpd[1619]: xntpd 3-5.93e Mon Sep 20 15:47:11 PDT 1999 (1)
8 Jun 12:06:41 xntpd[1619]: tickadj = 5, tick = 10000, tvu_maxslew = 495, est. hz = 100
8 Jun 12:06:41 xntpd[1619]: precision = 12 usec
8 Jun 12:06:41 xntpd[1619]: using kernel phase-lock loop 0041
8 Jun 12:06:41 xntpd[1619]: signal_no_reset: signal 18 had flags 20000
Any ideas how long this should take ?
How soon does ntpd sync ?
I’ve just started the xntpd daemon on a Solaris 9 server as follows :-
[sudan]/ $ ./usr/lib/inet/xntpd -l /tmp/fred -d
tick = 10000, tickadj = 5, hz = 100
kernel vars: tickadj = 5, tick = 10000
adj_precision = 1, tvu_maxslew = 495, tsf_maxslew = 0.002070b9
create_sockets(123)
bind() fd 20, family 2, port 123, addr 00000000, flags=1
bind() fd 21, family 2, port 123, addr 7f000001, flags=0
bind() fd 22, family 2, port 123, addr 0a02415d, flags=1
init_io: maxactivefd 22
resolving dc-har-coda1.coda.com
report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
input_handler: fd=21 length 68 from 7f000001 127.0.0.1
peer_config: addr 10.2.65.216 mode 3 version 2 minpoll 6 maxpoll 10 flags 0 ttl 0 key 0
sendpkt(fd=21 127.0.0.1, 127.0.0.1, ttl=-1, 8)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
sendpkt(fd=20 10.2.65.216, 0.0.0.0, ttl=-8, 48)
However as yet the time on the server is still 15mins out and has not synced with the time server.
Here are the details in the log file :-
[sudan]/ $ more /tmp/fred
8 Jun 12:06:41 xntpd[1619]: logging to file /tmp/fred
8 Jun 12:06:41 xntpd[1619]: xntpd 3-5.93e Mon Sep 20 15:47:11 PDT 1999 (1)
8 Jun 12:06:41 xntpd[1619]: tickadj = 5, tick = 10000, tvu_maxslew = 495, est. hz = 100
8 Jun 12:06:41 xntpd[1619]: precision = 12 usec
8 Jun 12:06:41 xntpd[1619]: using kernel phase-lock loop 0041
8 Jun 12:06:41 xntpd[1619]: signal_no_reset: signal 18 had flags 20000
Any ideas how long this should take ?