Patrick Shanahan wrote:
* Per Jessen <per@computer.org> [03-14-16 12:33]:
Patrick Shanahan wrote:
I have a local box which I cannot get ntp to work properly, following error in logs: giving up resolving host us.pool.ntp.org: Servname not supported for ai_socktype (-8)
google does not provide a solution that I have found.
The issue is listed here, but specifically if your ntp is chroot'ed:
http://support.ntp.org/bin/view/Support/KnownOsIssues#Section_9.2.4.2.5.3.
Thi one:
http://www.ducea.com/2006/09/11/error-servname-not-supported-for-ai_socktype...
seems to think that /etc/services needs to contain:
ntp 123/tcp ntp 123/udp
(which presumably it already does).
Yes, I saw those and yes /etc/services does contain the proper entries.
I've just tried with "us.pool.ntp.org", works fine. I think I would try to run ntpd with strace and see where it dies. -- Per Jessen, Zürich (5.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org