Operating System - Tru64 Unix
1829092 Members
2616 Online
109986 Solutions
New Discussion

ntp configuration between server tru64 and linux RH: Connection refused

 
Jeanselme
Occasional Contributor

ntp configuration between server tru64 and linux RH: Connection refused

Hi,
I have configured an ntp server under tru64 and an ntp client under linux RH.
There is no synchronization and when I run a linux command like rdate -p error message is displayed : couldn't connect to host: Connection refused.
How I can do to put good rights under tru64?
Thanks for your help
4 REPLIES 4
Al Licause
Trusted Contributor

Re: ntp configuration between server tru64 and linux RH: Connection refused

I would start with the command ntpq -p on the Tru64 system. Let's see what it thinks its ntp status is....is it really setup as a server ?

You should see at least one line pointing back to localhost as the server....which would correspond to an entry like this in ntp.conf:

server 127.127.1.0

If you don't have such an entry in ntp.conf then you'll need to add one and if you wish, add any additional qualifiers to adjust the stratum value, for example. Then restart xntpd.

Also make sure xntpd is running on the Tru64 system.
Jeanselme
Occasional Contributor

Re: ntp configuration between server tru64 and linux RH: Connection refused

You are right, my local server have not a good configuration and I test it with another tru64 server.
But problem is the same on my ntp linux client. A command like rdate -p returns : couldn't connect to host : Connection refused.
A command like rdate -u give me a good result. In this way protocol is UDP.
It seems TCP has to be configured on server.
Have you an idea ? Thanks a lot.
Mark Poeschl_2
Honored Contributor

Re: ntp configuration between server tru64 and linux RH: Connection refused

rdate is a completely different protocol than NTP. 'ntpdate' is the command used to set time on a server using the ntp protocol. As previous replies note, the server must be set up properly to respond, but 'rdate' is never going to get to an NTP server.
Jeanselme
Occasional Contributor

Re: ntp configuration between server tru64 and linux RH: Connection refused

rdate and ntpdate are differents