Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntpd fails to initialize with a ipv6 address
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tender
Apprentice
Apprentice


Joined: 05 Nov 2005
Posts: 166

PostPosted: Sat Aug 08, 2009 12:05 am    Post subject: ntpd fails to initialize with a ipv6 address Reply with quote

Aug 10 update:
Plese refer to https://forums.gentoo.org/viewtopic-t-787410-highlight-.html for more.



Hello,

with this ipv6 address:

Quote:

eth1 Link encap:Ethernet HWaddr 00:05:5d:50:de:6e
inet addr:192.168.6.100 Bcast:192.168.6.255 Mask:255.255.255.0
inet6 addr: fe80::205:5dff:fe50:de6e/64 Scope:Link
inet6 addr: 2001:1418:12b:2::1/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12676 errors:0 dropped:0 overruns:0 frame:0
TX packets:12721 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1693316 (1.6 MiB) TX bytes:6074013 (5.7 MiB)
Interrupt:21 Base address:0xe000


the ntpd inits ok:

Quote:

Aug 8 01:43:45 lowpower ntpd[19148]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Aug 8 01:43:45 lowpower ntpd[19148]: Listening on interface #1 wildcard, ::#123 Disabled
Aug 8 01:43:45 lowpower ntpd[19148]: Listening on interface #2 eth1, fe80::205:5dff:fe50:de6e#123 Enabled
Aug 8 01:43:45 lowpower ntpd[19148]: Listening on interface #3 eth1, 2001:1418:12b:2::1#123 Enabled
Aug 8 01:43:45 lowpower ntpd[19148]: Listening on interface #4 lo, ::1#123 Enabled
Aug 8 01:43:45 lowpower ntpd[19148]: Listening on interface #5 lo, 127.0.0.1#123 Enabled
Aug 8 01:43:45 lowpower ntpd[19148]: Listening on interface #6 eth1, 192.168.6.100#123 Enabled


with this ipv6 address:

Quote:

eth1 Link encap:Ethernet HWaddr 00:05:5d:50:de:6e
inet addr:192.168.6.100 Bcast:192.168.6.255 Mask:255.255.255.0
inet6 addr: fe80::205:5dff:fe50:de6e/64 Scope:Link
inet6 addr: 2001:1418:12b:1::1/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12676 errors:0 dropped:0 overruns:0 frame:0
TX packets:12721 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1693316 (1.6 MiB) TX bytes:6074013 (5.7 MiB)
Interrupt:21 Base address:0xe000


the ntpd doesn't init:

Quote:

Aug 8 01:50:19 lowpower ntpd[21194]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Aug 8 01:50:19 lowpower ntpd[21194]: Listening on interface #1 wildcard, ::#123 Disabled
Aug 8 01:50:19 lowpower ntpd[21194]: Listening on interface #2 eth1, fe80::205:5dff:fe50:de6e#123 Enabled
Aug 8 01:50:19 lowpower ntpd[21194]: bind() fd 19, family AF_INET6, port 123, scope 2, addr 2001:1418:12b:1::1, mcast=0 flags=0x11 fails: Cannot assign requested address
Aug 8 01:50:19 lowpower ntpd[21194]: unable to create socket on eth1 (3) for 2001:1418:12b:1::1#123
Aug 8 01:50:19 lowpower ntpd[21194]: failed to initialize interface for address 2001:1418:12b:1::1

Aug 8 01:50:19 lowpower ntpd[21194]: Listening on interface #4 lo, ::1#123 Enabled
Aug 8 01:50:19 lowpower ntpd[21194]: Listening on interface #5 lo, 127.0.0.1#123 Enabled
Aug 8 01:50:19 lowpower ntpd[21194]: Listening on interface #6 eth1, 192.168.6.100#123 Enabled
Aug 8 01:50:19 lowpower ntpd[21194]: kernel time sync status 0040
Aug 8 01:50:19 lowpower ntpd[21194]: frequency initialized -49.225 PPM from /var/lib/ntp/ntp.drift
Aug 8 01:50:20 lowpower ntpd[21194]: bind() fd 22, family AF_INET6, port 123, scope 2, addr 2001:1418:12b:1::1, mcast=0 flags=0x11 fails: Cannot assign requested address
Aug 8 01:50:20 lowpower ntpd[21194]: unable to create socket on eth1 (7) for 2001:1418:12b:1::1#123
Aug 8 01:50:20 lowpower ntpd[21194]: failed to initialize interface for address 2001:1418:12b:1::1


Someone has some advice?

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum