2008-03-27 06:48:48     ntpdate issue this error message 'Servname not supported for ai_socktype'

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

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:

http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=/trunk/user/ntp/Makefile&r1=6119&r2=6108&pathrev=6119

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:

http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=/branches/2008R1/user/ntp/

 

it is present only in trunk:

http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=/trunk/user/ntp/&root=uclinux-dist

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

Attachments

    Outcomes