Report this

What is the reason for this report?

freebsd ntp cant connect to time server

Posted on August 3, 2015

I think the problem is ipv6 related.

Aug 3 23:42:26 theranch ntpd[720]: ntpd 4.2.4p5-a (1) Aug 3 23:42:26 theranch ntpd[721]: bind() fd 22, family AF_INET6, port 123, scope 1, addr fe80::601:50ff:fe62:dd01, mcast=0 flags=0x11 fails: Can’t assign requested address Aug 3 23:42:26 theranch ntpd[721]: unable to create socket on vtnet0 (2) for fe80::601:50ff:fe62:dd01#123 Aug 3 23:42:27 theranch kernel: pid 747 (sshguard), uid 0: exited on signal 10 (core dumped) Aug 3 23:42:27 theranch ntpd[721]: bind() fd 27, family AF_INET6, port 123, scope 1, addr fe80::601:50ff:fe62:dd01, mcast=0 flags=0x11 fails: Can’t assign requested address Aug 3 23:42:27 theranch ntpd[721]: unable to create socket on vtnet0 (7) for fe80::601:50ff:fe62:dd01#123



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Just bumping my question. The delay due to the spam filter kind of killed the thread. The error messages are still showing up on the “console” and freebsd /var/messages:

Aug 8 22:21:42 theranch ntpd[732]: bind() fd 27, family AF_INET6, port 123, scope 1, addr fe80::601:50ff:fe62:dd01, mcast=0 flags=0x11 fails: Can’t assign requested address Aug 8 22:21:42 theranch ntpd[732]: unable to create socket on vtnet0 (597) for fe80::601:50ff:fe62:dd01#123

I switched to openntpd. I couldn’t shake the ipv6 issues with ntpd. Openntpd works fine out of the box. openntpd tutorial

Just a FYI. I went to openntp and that works.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.