2008-03-27 06:48:48 ntpdate issue this error message 'Servname not supported for ai_socktype'
Andrea Federico Grisotto (ITALY)
Message: 53123 ntpdate issue this error message 'Servname not supported for ai_socktype'
for example if I digit:
root:~>ntpdate -4 10.10.2.14
Error : Servname not supported for ai_socktype
27 Mar 11:22:05 ntpdate[469]: can't find host 10.10.2.14
27 Mar 11:22:05 ntpdate[469]: no servers can be used, exiting
to resolve this problem add this line in use/ntp/makefile
$(ROMFSINST) -a "ntp 123/udp" /etc/services
QuoteReplyEditDelete
2008-03-27 08:33:07 Re: ntpdate issue this error message 'Servname not supported for ai_socktype'
Mike Frysinger (UNITED STATES)
Message: 53134 that line is already in the makefile in the 2008R1 release:
QuoteReplyEditDelete
2008-03-27 08:57:46 Re: ntpdate issue this error message 'Servname not supported for ai_socktype'
Andrea Federico Grisotto (ITALY)
Message: 53137 Hi Mike,
this patch doesn't exists in branches/2008R1/user/ntp:
it is present only in trunk:
QuoteReplyEditDelete
2008-03-27 12:48:51 Re: ntpdate issue this error message 'Servname not supported for ai_socktype'
Mike Frysinger (UNITED STATES)
Message: 53157 true ... i dont know the status of ntp in the branch as i only cleaned it up in trunk (i guess after we branched)
are you saying it currently works for you (minus the /etc/services update) ?
QuoteReplyEditDelete
2008-03-28 03:52:21 Re: ntpdate issue this error message 'Servname not supported for ai_socktype'
Andrea Federico Grisotto (ITALY)
Message: 53217 Mike,
after few tests I confirm ntp works without problem, I have only add the service in /etc/services.
QuoteReplyEditDelete
2008-03-28 10:24:54 Re: ntpdate issue this error message 'Servname not supported for ai_socktype'
Mike Frysinger (UNITED STATES)
Message: 53250 thanks for testing ... ive merged those lines to the branch as well