In my case, I have ntpd running on my router running 10.04.2.
It appears ntpd is only complaining about interfaces that have both IPv4 and 
IPv6 addresses at the same time.
My lan interface (eth0) has both and ntpd is complaining.
It isn't complaining about interface 'i6' which is my IPv6 tunnel to Hurricane 
Electric.


Mar  6 15:41:18 inara ntpd[9269]: ntpd 4.2.4p8@1.1612-o Fri Apr  9 00:28:40 UTC 
2010 (1)
Mar  6 15:41:18 inara ntpd[9270]: precision = 1.000 usec
Mar  6 15:41:18 inara ntpd[9270]: ntp_io: estimated max descriptors: 1024, 
initial socket boundary: 16
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #0 wildcard, 
0.0.0.0#123 Disabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #1 wildcard, ::#123 
Disabled
Mar  6 15:41:18 inara ntpd[9270]: bind() fd 18, family AF_INET6, port 123, 
scope 2, addr 2001:470:83b7:4242::1, mcast=0 flags=0x11 fails: Cannot assign 
requested address
Mar  6 15:41:18 inara ntpd[9270]: unable to create socket on eth0 (2) for 
2001:470:83b7:4242::1#123
Mar  6 15:41:18 inara ntpd[9270]: failed to initialize interface for address 
2001:470:83b7:4242::1
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #3 lo, ::1#123 Enabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #4 i6, 
2001:470:1f04:33b::2#123 Enabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #5 i6, 
fe80::a2a:fe#123 Enabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #6 eth0, 
fe80::225:90ff:fe0c:59b0#123 Enabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #7 eth1, 
fe80::225:90ff:fe0c:59b1#123 Enabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #8 i6, 
fe80::c0a8:2afe#123 Enabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #9 lo, 127.0.0.1#123 
Enabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #10 eth0, 
192.168.42.254#123 Enabled
Mar  6 15:41:18 inara ntpd[9270]: Listening on interface #11 eth1, 
173.12.179.89#123 Enabled
Mar  6 15:41:18 inara ntpd[9270]: kernel time sync status 2040
Mar  6 15:41:18 inara ntpd[9270]: frequency initialized -41.507 PPM from 
/var/lib/ntp/ntp.drift
Mar  6 15:41:18 inara ntpd[9270]: SHM shmget (unit 0): Permission denied
Mar  6 15:41:18 inara ntpd[9270]: configuration of 127.127.28.0 failed
Mar  6 15:41:18 inara ntpd[9270]: SHM shmget (unit 1): Permission denied
Mar  6 15:41:18 inara ntpd[9270]: configuration of 127.127.28.1 failed
Mar  6 15:41:18 inara kernel: [76410.978916] type=1503 
audit(1299454878.907:21):  operation="capable" pid=9270 parent=1 
profile="/usr/sbin/ntpd" name="ipc_owner"
Mar  6 15:41:19 inara ntpd[9270]: bind() fd 32, family AF_INET6, port 123, 
scope 2, addr 2001:470:83b7:4242::1, mcast=0 flags=0x11 fails: Cannot assign 
requested address
Mar  6 15:41:19 inara ntpd[9270]: unable to create socket on eth0 (17) for 
2001:470:83b7:4242::1#123
Mar  6 15:41:19 inara ntpd[9270]: failed to initialize interface for address 
2001:470:83b7:4242::1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/569919

Title:
  ntpd constantly complains about being unable to create socket

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to