ntpd bind() failure: Can't assign requested address
Schrodinger
schrodinger at konundrum.org
Wed Mar 13 14:17:21 UTC 2013
On 2013/03/13 14:38, Fleuriot Damien wrote:
>
> On Mar 12, 2013, at 11:44 PM, Damien Fleuriot <ml at my.gd> wrote:
>
> >
> > On 12 Mar 2013, at 22:42, "M. Schulte" <m-freebsd at fuglos.org> wrote:
> >
> >> Hi!
> >>
> >> [First of all, I have posted this question already on the FreeBSD
> >> forum -- so far without replies -- and now my hope is that the set of
> >> subscribers here and those of the forum do not completely coincide.]
> >>
> >> I have installed FreeBSD 9.1 on my server (it's a virtualized qemu/kvm
> >> environment, in case that matters) and during boot the following
> >> messages appear:
> >>
> >> ntpd[766]: ntpd 4.2.4p5-a (1)
> >> ntpd[767]: bind() fd 23, family AF_INET6, port 123, scope 2, addr fe80::216:36ff:fe74:2076, mcast=0 flags=0x11 fails: Can't assign requested address
> >> ntpd[767]: unable to create socket on re0 (3) for fe80::216:36ff:fe74:2076#123
> >>
> >> This happens with a GENERIC kernel. I have not touched any IPv6
> >> related configuration after install, so everything should be in the
> >> default state. Neither have I changed the ntp/ntpd configuration.
> >>
> >> Although I could find some threads where people were discussing the
> >> same problem, none of the mentioned suggestions fixed this for me.
> >>
> >> In particular I tried setting
> >>
> >> ipv6_activate_all_interfaces="YES"
> >>
> >> in rc.conf -- didn't fix the problem.
> >>
> >> According to ifconfig, my interfaces, re0 in particular, have IPv6
> >> addresses associated to them. So why would it fail that a process
> >> tries to bind to it? Note that I'm rather unexperienced wrt IPv6.
> >>
> >> Would be great if somebody could give me a hint into the right
> >> direction. Anybody else experiencing this? Thank you very much!
> >>
> >> ~ melanie
> >>
> >
> > I'll check tomorrow if we have the same issue at work, although it doesn't look familiar.
> >
> > We've got a 9.1 with a custom kernel (although nothing related to ipv6 changed) running in KVM.
>
>
> I confirm I have the same issue on 9.1 r247912 , as below:
>
> Clearing /tmp (X related).
> Updating motd:.
> Starting ntpd.
> Mar 8 14:57:23 pf1-drt ntpd[938]: bind() fd 23, family AF_INET6, port 123, scope 2, addr fe80::90bd:54ff:fe55:2d21, mcast=0 flags=0x11 fails: Can't assign requested address
> Mar 8 14:57:23 pf1-drt ntpd[938]: unable to create socket on vlan12 (3) for fe80::90bd:54ff:fe55:2d21#123
>
>
>
> However, ntpd runs fine and is bound to the following addresses:
>
> root at pf1-drt:/var/run # sockstat | grep ntp
> root ntpd 938 3 dgram -> /var/run/logpriv
> root ntpd 938 20 udp4 *:123 *:*
> root ntpd 938 21 udp6 *:123 *:*
> root ntpd 938 22 udp4 195.158.240.37:123 *:*
> root ntpd 938 23 udp4 192.168.32.253:123 *:*
> root ntpd 938 24 udp6 fe80:3::a8b0:eeff:fef9:dbb:123 *:*
> root ntpd 938 25 udp4 192.168.22.254:123 *:*
> root ntpd 938 26 udp6 fe80:4::6820:e3ff:fe0b:76dc:123 *:*
> root ntpd 938 27 udp6 ::1:123 *:*
> root ntpd 938 28 udp6 fe80:7::1:123 *:*
> root ntpd 938 29 udp4 127.0.0.1:123 *:*
> root ntpd 938 31 udp6 fe80:2::90bd:54ff:fe55:2d21:123 *:*
> root ntpd 938 32 udp4 192.168.22.253:123 *:*
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
I have observed the same behaviour :
Mar 13 14:10:27 howard ntpd[1603]: bind() fd 32, family AF_INET6, port 123, scope 9, addr fe80::20a:faff:fe20:3a1, mcast=0 flags=0x13 fails: Can't assign requested address
Mar 13 14:10:27 howard ntpd[1603]: unable to create socket on gif6 (3994) for fe80::20a:faff:fe20:3a1#123
FreeBSD howard.tog.space 9.1-STABLE FreeBSD 9.1-STABLE #1: Mon Feb 25 18:37:43 GMT 2013 root at howard.tog.space:/usr/obj/usr/src/sys/HOWARD amd64
# sockstat -lp123
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root ntpd 1603 20 udp4 *:123 *:*
root ntpd 1603 21 udp6 *:123 *:*
root ntpd 1603 22 udp4 87.198.63.241:123 *:*
root ntpd 1603 23 udp4 192.168.1.2:123 *:*
root ntpd 1603 24 udp4 172.16.0.1:123 *:*
root ntpd 1603 25 udp6 fe80:2::219:b9ff:fef8:9700:123 *:*
root ntpd 1603 26 udp6 2001:770:100:81da::1:123 *:*
root ntpd 1603 27 udp6 ::1:123 *:*
root ntpd 1603 28 udp6 fe80:8::1:123 *:*
root ntpd 1603 29 udp4 127.0.0.1:123 *:*
root ntpd 1603 31 udp6 2001:770:100:1da::2:123 *:*
gif6: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
tunnel inet XXX.XXX.XXX.XXX --> XXX.XXX.XXX.XXX
inet6 fe80::20a:faff:fe20:3a1%gif6 prefixlen 64 tentative scopeid 0x9
inet6 removed --> removed prefixlen 128
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
options=1<ACCEPT_REV_ETHIP_VER>
C.
--
+---------------------------------------------------------------+
Quidquid latine dictum sit, altum sonatur.
MSN: schro5 at hotmail.com
ICQ: 112562229
GPG: http://www.konundrum.org/schro.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20130313/c6b39f3f/attachment.sig>
More information about the freebsd-net
mailing list