Operating System - HP-UX
1820927 Members
4179 Online
109629 Solutions
New Discussion юеВ

Re: NTP - stratum 2 server connection refused

 
Allan Pincus
Frequent Advisor

NTP - stratum 2 server connection refused

Hi,

I'm trying to sync my server to a stratum 2 server.

I went to ntp.org and got IP addresses for a number of them. I am able to ping the servers, so that's good news.

When I try to connect my server to one of them, I get the message:

29 Aug 12:37:14 ntpdate[15444]: can't find host timeserver
29 Aug 12:37:14 ntpdate[15444]: no servers can be used, exiting


In the notes on the page, there was something about upgrading to NTP version 4. I looked through some HP-UX 10.2 patches, but did not find anything that looked quite right.

A couple of questions:

1. Does anyone know why I'm getting this error?

2. Does anyone know which patch bundle to download to go to Version 4?
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: NTP - stratum 2 server connection refused

Allen,

I think you need PHNE_23717 "s700_800 10.X NTP timeservices upgrade plus utilities". And an upgrade to 11.x.

Pete

Pete
Allan Pincus
Frequent Advisor

Re: NTP - stratum 2 server connection refused

I can't upgrade right now to 11.x until a vendor of a major software package moves to 11.x and confirms this is not an issue.

Any additional thoughts? I'll download the patch.
Pete Randall
Outstanding Contributor

Re: NTP - stratum 2 server connection refused

Allan

On further review, that will only upgrade NTP to v3.5. I suspect there probably is no v4 of NTP for 10.20.

Pete

Pete
Sajid_1
Honored Contributor

Re: NTP - stratum 2 server connection refused

May be this patch - PHNE_23717 will help you.
learn unix ..
Pete Randall
Outstanding Contributor

Re: NTP - stratum 2 server connection refused

Actually, Allan, I'm not sure there is a Version 4 available at all for HP-UX. The man page for xntpd on my 11.11 systems still refers only to version 1, 2, or 3. The patch database only shows v3.5, even for 11i. And my searches of hp.com aren't coming up with one. You should be able to go with a version 3 server, though.

Pete

Pete
Sajid_1
Honored Contributor

Re: NTP - stratum 2 server connection refused

oops .. I didn't know it was already mentioned.

Did you check the netdaemons file and see if your server name is added there? Did you have entries in the ntp.conf file? Could you do the nslookup on the server?
learn unix ..
Sajid_1
Honored Contributor

Re: NTP - stratum 2 server connection refused

Check this setup document and review your settings and make sure that you haven't done anything wrong:
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062941825

Doc ID - A4693053
learn unix ..
Charles A. Shirley
Occasional Advisor

Re: NTP - stratum 2 server connection refused

Hi. Is it impossible for you to build the 4.1.1 version of ntp from source? The only reason I can see for this causing trouble would be the lack of gnu tools on your system: gmake, gcc, etc., all of which could be installed, from source, reletively easily. If you have some trouble building ntp from source, I found a URL with some hints for building it on HP-UX:

http://www.eecis.udel.edu/~ntp/ntp_spool/html/hints/hpux

panic ("No CPUs found. System halted.\n");