Question

freebsd ntp cant connect to time server

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

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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

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