[ntp:questions] Trouble with XP IPv6 ntp client (local interface currently not bound)

Cindy Huyser chuyser at io.com
Thu Aug 5 16:38:23 UTC 2010


<snip>
> Also make sure that your box's firewall allows the packets through. I
> don't remember why you would get that error. What is the evidence that
> the client is not synching? The SetSystemTimeAdjustment() lines indicate
> that it is synching. what does the ntpq -p output look like?
>

I've got the firewall turned off on both the Windows and Linux boxes
for the time being. For good measure, I commented the "restrict" lines
in the ntp.conf file. I'm sure the XP box isn't syncing because of the
output of the ntpq associations and rv commands (in addition to the
fact the clock display never matches that of the Linux time server):
ntpq> associations

ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 14485  8011   yes    no  none    reject    mobilize  1
ntpq> rv
associd=0 status=c012 leap_alarm, sync_unspec, 1 event, freq_set,
version="ntpd 4.2.6p2-o Jul 09 4:44:44.34 (UTC-00:00) 2010  (1)",
processor="x86", system="Windows", leap=11, stratum=16, precision=-21,
rootdelay=0.000, rootdisp=7.170, refid=INIT,
reftime=00000000.00000000  Thu, Feb  7 2036  0:28:16.000,
clock=d00528d8.8c442b3a  Thu, Aug  5 2010  7:11:04.547, peer=0, tc=3,
mintc=3, offset=0.000, frequency=-1.867, sys_jitter=0.000,
clk_jitter=0.000, clk_wander=0.000

The output of the peer command, after 30 minutes, is:
     remote           refid      st t when poll reach   delay
offset  jitter
==============================================================================
 fe80::20c:29ff: .INIT.          16 -    -   32    0    0.000
0.000   0.000

Finally, here's the output from ntpd at level D4. At the very end of
the listing, just before the "SetSystemTimeAdjustment" lines, it looks
like the time server's interface can't be found:

C:\Program Files\NTP\bin>ntpd -g -M -n -D 4 -c "c:\program files\ntp
\etc\ntp.conf"
ntpd 4.2.6p2-o Jul 09 4:44:44.34 (UTC-00:00) 2010  (1)
addto_syslog: Raised to realtime priority class
addto_syslog: MM timer resolution: 1..1000000 msec, set to 1 msec
addto_syslog: Performance counter frequency 2660.190 MHz
addto_syslog: Clock interrupt period 15.625 msec
addto_syslog: Windows clock precision 15.625 msec, min. slew 6.400 ppm/
s
Wiring to processor 2 (0 means all) affinity mask 2
addto_syslog: HZ 64.000 using 43 msec timer 23.256 Hz 64 deep
filegen_register(peerstats, 00507CF0)
filegen_register(loopstats, 00507CC0)
filegen_register(clockstats, 00507D58)
filegen_register(rawstats, 00507CD4)
filegen_register(sysstats, 00507D2C)
filegen_register(protostats, 00507D40)
filegen_register(cryptostats, 00507D04)
addto_syslog: set_process_priority: Leave priority alone:
priority_done is <2>
addto_syslog: proto: precision = 0.400 usec
loop_config: item 1 freq 0.000000
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
        <end of command>
yylex: lexeme 'driftfile' -> T_Driftfile
yylex: lexeme 'C:\Windows\Temp\ntp.drift' -> T_String
        <end of command>
yylex: lexeme 'broadcastdelay' -> T_Broadcastdelay
yylex: lexeme '0.008' -> T_Double
        <end of command>
        <end of command>
yylex: lexeme 'logfile' -> T_Logfile
yylex: lexeme 'C:\Windows\Temp\ntp.log' -> T_String
        <end of command>
        <end of command>
yylex: lexeme 'server' -> T_Server
yylex: lexeme '-6' -> T_Ipv6_flag
yylex: lexeme 'fe80::20c:29ff:fe0c:9094%4' -> T_String
yylex: lexeme 'minpoll' -> T_Minpoll
yylex: lexeme '4' -> T_Integer
yylex: lexeme 'maxpoll' -> T_Maxpoll
yylex: lexeme '5' -> T_Integer
yylex: lexeme 'iburst' -> T_Iburst
yylex: lexeme 'prefer' -> T_Prefer
        <end of command>
        <end of command>
        <end of command>
        <end of command>
Finished Parsing!!
create_sockets(123)
interface_action: interface wildcard default wildcard drop
bind(1860) AF_INET, addr 0.0.0.0%0#123, flags 0x89
Allocation 32 memory for io_completion_port_add_socket, ptr 3bd830
Searching for addr 0.0.0.0 in list of addresses - NOT FOUND
Added addr 0.0.0.0 to list of addresses
addto_syslog: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
created interface #0: fd=1860, bfd=-1, name=v4wildcard, flags=0x89,
scope=0, sin
=0.0.0.0, bcast=0.0.0.0, mask=255.255.255.255, Disabled:
interface_action: interface wildcard default wildcard drop
bind(1848) AF_INET6, addr ::%0#123, flags 0x81
Allocation 32 memory for io_completion_port_add_socket, ptr 3bdcf0
Searching for addr :: in list of addresses - NOT FOUND
Added addr :: to list of addresses
addto_syslog: Listen and drop on 1 v6wildcard :: UDP 123
created interface #1: fd=1848, bfd=-1, name=v6wildcard, flags=0x81,
scope=0, sin
=::, Disabled:
update_interfaces(123)
interface_action: interface v4loop 1 IPv4 loopback - listen
examining interface #0: fd=-1, bfd=-1, name=v4loop 1, flags=0x1d,
scope=0, sin=1
27.0.0.1, bcast=127.255.255.255, mask=255.0.0.0, Enabled:
Searching for addr 127.0.0.1 in list of addresses - NOT FOUND
create_interface(127.0.0.1#123)
bind(1832) AF_INET, addr 127.0.0.1%0#123, flags 0x1d
Allocation 32 memory for io_completion_port_add_socket, ptr c9ad78
addto_syslog: Listen normally on 2 v4loop 1 127.0.0.1 UDP 123
restrict: op 1 addr 127.0.0.1 mask 255.255.255.255 mflags 00003000
flags 0000000
1
Searching for addr 127.0.0.1 in list of addresses - NOT FOUND
Added addr 127.0.0.1 to list of addresses
created interface #2: fd=1832, bfd=-1, name=v4loop 1, flags=0x1d,
scope=0, sin=1
27.0.0.1, bcast=127.255.255.255, mask=255.0.0.0, Enabled:
updating interface #2: fd=1832, bfd=-1, name=v4loop 1, flags=0x1d,
scope=0, sin=
127.0.0.1, bcast=127.255.255.255, mask=255.0.0.0, Enabled: new -
created
interface_action: interface IPv4 2 default listen
examining interface #0: fd=-1, bfd=-1, name=IPv4 2, flags=0x19,
scope=0, sin=172
.16.99.63, bcast=172.16.99.255, mask=255.255.254.0, Enabled:
Searching for addr 172.16.99.63 in list of addresses - NOT FOUND
create_interface(172.16.99.63#123)
bind(1824) AF_INET, addr 172.16.99.63%0#123, flags 0x19
Allocation 32 memory for io_completion_port_add_socket, ptr c9b350
addto_syslog: Listen normally on 3 IPv4 2 172.16.99.63 UDP 123
restrict: op 1 addr 172.16.99.63 mask 255.255.255.255 mflags 00003000
flags 0000
0001
Searching for addr 172.16.99.63 in list of addresses - NOT FOUND
Added addr 172.16.99.63 to list of addresses
created interface #3: fd=1824, bfd=-1, name=IPv4 2, flags=0x19,
scope=0, sin=172
.16.99.63, bcast=172.16.99.255, mask=255.255.254.0, Enabled:
updating interface #3: fd=1824, bfd=-1, name=IPv4 2, flags=0x19,
scope=0, sin=17
2.16.99.63, bcast=172.16.99.255, mask=255.255.254.0, Enabled: new -
created
interface_action: interface IPv6 1 default listen
examining interface #0: fd=-1, bfd=-1, name=IPv6 1, flags=0x11,
scope=2, sin=fe8
0::5efe:ac10:633f, Enabled:
Searching for addr fe80::5efe:ac10:633f in list of addresses - NOT
FOUND
create_interface(fe80::5efe:ac10:633f#123)
bind(1816) AF_INET6, addr fe80::5efe:ac10:633f%2#123, flags 0x11
Allocation 32 memory for io_completion_port_add_socket, ptr c9b510
addto_syslog: Listen normally on 4 IPv6 1 fe80::5efe:ac10:633f UDP 123
restrict: op 1 addr fe80::5efe:ac10:633f mask
ffff:ffff:ffff:ffff:ffff:ffff:ffff
:ffff mflags 00003000 flags 00000001
Searching for addr fe80::5efe:ac10:633f in list of addresses - NOT
FOUND
Added addr fe80::5efe:ac10:633f to list of addresses
created interface #4: fd=1816, bfd=-1, name=IPv6 1, flags=0x11,
scope=2, sin=fe8
0::5efe:ac10:633f, Enabled:
updating interface #4: fd=1816, bfd=-1, name=IPv6 1, flags=0x11,
scope=2, sin=fe
80::5efe:ac10:633f, Enabled: new - created
interface_action: interface IPv6 2 default listen
examining interface #0: fd=-1, bfd=-1, name=IPv6 2, flags=0x11,
scope=4, sin=fe8
0::20c:29ff:fe85:5610, Enabled:
Searching for addr fe80::20c:29ff:fe85:5610 in list of addresses - NOT
FOUND
create_interface(fe80::20c:29ff:fe85:5610#123)
bind(1808) AF_INET6, addr fe80::20c:29ff:fe85:5610%4#123, flags 0x11
Allocation 32 memory for io_completion_port_add_socket, ptr c9bac8
addto_syslog: Listen normally on 5 IPv6 2 fe80::20c:29ff:fe85:5610 UDP
123
restrict: op 1 addr fe80::20c:29ff:fe85:5610 mask
ffff:ffff:ffff:ffff:ffff:ffff:
ffff:ffff mflags 00003000 flags 00000001
Searching for addr fe80::20c:29ff:fe85:5610 in list of addresses - NOT
FOUND
Added addr fe80::20c:29ff:fe85:5610 to list of addresses
created interface #5: fd=1808, bfd=-1, name=IPv6 2, flags=0x11,
scope=4, sin=fe8
0::20c:29ff:fe85:5610, Enabled:
updating interface #5: fd=1808, bfd=-1, name=IPv6 2, flags=0x11,
scope=4, sin=fe
80::20c:29ff:fe85:5610, Enabled: new - created
interface_action: interface v6loop 3 default loopback listen
examining interface #0: fd=-1, bfd=-1, name=v6loop 3, flags=0x15,
scope=0, sin=:
:1, Enabled:
Searching for addr ::1 in list of addresses - NOT FOUND
create_interface(::1#123)
bind(1800) AF_INET6, addr ::1%0#123, flags 0x15
Allocation 32 memory for io_completion_port_add_socket, ptr c9bc88
addto_syslog: Listen normally on 6 v6loop 3 ::1 UDP 123
restrict: op 1 addr ::1 mask ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
mflags 0000
3000 flags 00000001
Searching for addr ::1 in list of addresses - NOT FOUND
Added addr ::1 to list of addresses
created interface #6: fd=1800, bfd=-1, name=v6loop 3, flags=0x15,
scope=0, sin=:
:1, Enabled:
updating interface #6: fd=1800, bfd=-1, name=v6loop 3, flags=0x15,
scope=0, sin=
::1, Enabled: new - created
interface_action: interface v6loop 4 default loopback listen
examining interface #0: fd=-1, bfd=-1, name=v6loop 4, flags=0x15,
scope=1, sin=f
e80::1, Enabled:
Searching for addr fe80::1 in list of addresses - NOT FOUND
create_interface(fe80::1#123)
bind(1792) AF_INET6, addr fe80::1%1#123, flags 0x15
Allocation 32 memory for io_completion_port_add_socket, ptr c9be48
addto_syslog: Listen normally on 7 v6loop 4 fe80::1 UDP 123
restrict: op 1 addr fe80::1 mask
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff mflags
00003000 flags 00000001
Searching for addr fe80::1 in list of addresses - NOT FOUND
Added addr fe80::1 to list of addresses
created interface #7: fd=1792, bfd=-1, name=v6loop 4, flags=0x15,
scope=1, sin=f
e80::1, Enabled:
updating interface #7: fd=1792, bfd=-1, name=v6loop 4, flags=0x15,
scope=1, sin=
fe80::1, Enabled: new - created
create_sockets: Total interfaces = 8
io_open_sockets: maxactivefd 0
auth_setkey: key 65535 type 4 len 4 9308ab2a
proto_config: code 4 value 0 dvalue 0.008000
getaddrinfo v6 fe80::20c:29ff:fe0c:9094
newpeer: cast flags: 0x1 for address: fe80::20c:29ff:fe0c:9094
Finding interface for addr fe80::20c:29ff:fe0c:9094 in list of
addresses
findlocalinterface: kernel maps fe80::20c:29ff:fe0c:9094 to ::
Searching for addr :: in list of addresses - FOUND
Searching for addr with same subnet as :: in list of addresses - NOT
FOUND
Found no interface for address fe80::20c:29ff:fe0c:9094 - returning
wildcard
newpeer: local interface currently not bound
key_expire: at 0 associd 14485
peer_clear: at 0 next 1 associd 14485 refid INIT
event at 0 fe80::20c:29ff:fe0c:9094 8011 81 mobilize assoc 14485
newpeer: <null>->fe80::20c:29ff:fe0c:9094 mode 3 vers 4 poll 4 5 flags
0x121 0x1
 ttl 0 key 00000000
event at 0 0.0.0.0 c016 06 restart
loop_config: item 2 freq -0.000002
event at 0 0.0.0.0 c012 02 freq_set ntpd -1.867 PPM
local_clock: mu 0 state 2 poll 3 count 0
poll_update: at 1 fe80::20c:29ff:fe0c:9094 poll 4 burst 0 retry 2 head
0 early 2
 next 16
auth_agekeys: at 1 keys 1 expired 0
timer: interface update
update_interfaces(123)
interface_action: interface v4loop 1 IPv4 loopback - listen
examining interface #0: fd=-1, bfd=-1, name=v4loop 1, flags=0x1d,
scope=0, sin=1
27.0.0.1, bcast=127.255.255.255, mask=255.0.0.0, Enabled:
Searching for addr 127.0.0.1 in list of addresses - FOUND
updating interface #2: fd=1832, bfd=-1, name=v4loop 1, flags=0x1d,
scope=0, sin=
127.0.0.1, bcast=127.255.255.255, mask=255.0.0.0, Enabled: present
interface_action: interface IPv4 2 default listen
examining interface #0: fd=-1, bfd=-1, name=IPv4 2, flags=0x19,
scope=0, sin=172
.16.99.63, bcast=172.16.99.255, mask=255.255.254.0, Enabled:
Searching for addr 172.16.99.63 in list of addresses - FOUND
updating interface #3: fd=1824, bfd=-1, name=IPv4 2, flags=0x19,
scope=0, sin=17
2.16.99.63, bcast=172.16.99.255, mask=255.255.254.0, Enabled: present
interface_action: interface IPv6 1 default listen
examining interface #0: fd=-1, bfd=-1, name=IPv6 1, flags=0x11,
scope=2, sin=fe8
0::5efe:ac10:633f, Enabled:
Searching for addr fe80::5efe:ac10:633f in list of addresses - FOUND
updating interface #4: fd=1816, bfd=-1, name=IPv6 1, flags=0x11,
scope=2, sin=fe
80::5efe:ac10:633f, Enabled: present
interface_action: interface IPv6 2 default listen
examining interface #0: fd=-1, bfd=-1, name=IPv6 2, flags=0x11,
scope=4, sin=fe8
0::20c:29ff:fe85:5610, Enabled:
Searching for addr fe80::20c:29ff:fe85:5610 in list of addresses -
FOUND
updating interface #5: fd=1808, bfd=-1, name=IPv6 2, flags=0x11,
scope=4, sin=fe
80::20c:29ff:fe85:5610, Enabled: present
interface_action: interface v6loop 3 default loopback listen
examining interface #0: fd=-1, bfd=-1, name=v6loop 3, flags=0x15,
scope=0, sin=:
:1, Enabled:
Searching for addr ::1 in list of addresses - FOUND
updating interface #6: fd=1800, bfd=-1, name=v6loop 3, flags=0x15,
scope=0, sin=
::1, Enabled: present
interface_action: interface v6loop 4 default loopback listen
examining interface #0: fd=-1, bfd=-1, name=v6loop 4, flags=0x15,
scope=1, sin=f
e80::1, Enabled:
Searching for addr fe80::1 in list of addresses - FOUND
updating interface #7: fd=1792, bfd=-1, name=v6loop 4, flags=0x15,
scope=1, sin=
fe80::1, Enabled: present
Finding interface for addr fe80::20c:29ff:fe0c:9094 in list of
addresses
findlocalinterface: kernel maps fe80::20c:29ff:fe0c:9094 to ::
Searching for addr :: in list of addresses - FOUND
Searching for addr with same subnet as :: in list of addresses - NOT
FOUND
Found no interface for address fe80::20c:29ff:fe0c:9094 - returning
wildcard
peer_refresh_interface: <null>->fe80::20c:29ff:fe0c:9094 mode 3 vers 4
poll 4 5
flags 0x121 0x1 ttl 0 key 00000000: new interface: <NONE>
SetSystemTimeAdjustment(-1)
SetSystemTimeAdjustment(+0)
SetSystemTimeAdjustment(-1)
SetSystemTimeAdjustment(+0)
SetSystemTimeAdjustment(-1)
SetSystemTimeAdjustment(+0)
SetSystemTimeAdjustment(-1)
SetSystemTimeAdjustment(+0)
SetSystemTimeAdjustment(-1)
SetSystemTimeAdjustment(+0)
poll_update: at 17 fe80::20c:29ff:fe0c:9094 poll 4 burst 0 retry 1
head 0 early
2 next 16
SetSystemTimeAdjustment(-1)
SetSystemTimeAdjustment(+0)
SetSystemTimeAdjustment(-1)
<snip>

Any thoughts on the issue with the server interface not being found?

Thanks,
Cindy Huyser




More information about the questions mailing list