[OpenIndiana-discuss] ntpd log message about AF_INET6 interface

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Sat Mar 8 03:15:47 UTC 2014

On OpenIndiana 5.11 oi_151a9 I am seeing a message in 
/var/adm/messages every five minutes which looks like:

Mar  7 20:40:33 weerd ntpd[19474]: [ID 702911 daemon.error] bind(54) 
AF_INET6 fe80::225:90ff:fe6b:ace0%26%26#123 flags 0x11 failed: Cannot 
assign requested address
Mar  7 20:40:33 weerd ntpd[19474]: [ID 702911 daemon.error] unable to 
create socket on igb0 (6) for fe80::225:90ff:fe6b:ace0%26#123

This is really clogging up the log files.

ifconfig shows:

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
 	inet netmask ff000000 
igb0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 4
 	inet netmask ffffffe0 broadcast
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
 	inet6 ::1/128 
igb0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 4
 	inet6 fe80::225:90ff:fe6b:ace0/10

and /etc/inet/ntp.conf contains:

restrict default ignore
restrict nomodify
restrict mask nomodify notrap nopeer
restrict -6 ::1

It seems that passing -4 as an argument to ntpd should cause this 
warning to go away.

The service name is svc:/network/ntp:default.  Is there a way to add 
this option to the server arguments without editing the service 
definition itself?  If not, is there an easy way to make this 
annoyance stop?

Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

More information about the OpenIndiana-discuss mailing list