Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - ntpdate failure: (2 Items)
   
ntpdate failure  
I issue the following commands after the network is up under QNX6.3.2:

export TZ=MST7MDT
ntpdate ntp
ntpd -g

All works fine.

Under QNX6.4.1 I get the following behavior:

# export TZ=MST7MDT
# ntpdate ntp
Error : servname not supported for ai_socktype
31 Dec 17:30:11 ntpdate[274445]: can't find host ntp

31 Dec 17:30:11 ntpdate[274445]: no servers can be used, exiting

Process 274445 (ntpdate) exited status=1.

ntp is in my /etc/hosts file and I can ping & nslookup ntp:

# ping ntp
PING ntp.mgtsciences.com (172.23.93.7): 56 data bytes
64 bytes from 172.23.93.7: icmp_seq=0 ttl=64 time=9 ms
64 bytes from 172.23.93.7: icmp_seq=1 ttl=64 time=4 ms
64 bytes from 172.23.93.7: icmp_seq=2 ttl=64 time=3 ms
64 bytes from 172.23.93.7: icmp_seq=3 ttl=64 time=5 ms
64 bytes from 172.23.93.7: icmp_seq=4 ttl=64 time=4 ms

----ntp.mgtsciences.com PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 3/5/9 ms   variance = 5 ms^2

Process 290829 (ping) exited status=0.
# nslookup ntp
Server:         172.23.93.3
Address:        172.23.93.3#53

Name:   ntp.mgtsciences.com
Address: 172.23.93.7


Process 299021 (nslookup) exited status=0.

sloginfo did not produce anything other than a line:
Dec 31 17:00:26    3    25     0 Couldn't initialize listen service: tcp (Address already in use) 


Any suggestions?
Re: ntpdate failure  
Whoops...wrong forum. Reposted to ionet-migration