- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2010 06:15 AM
тАО04-02-2010 06:15 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
the date of NTPTRACE is odd....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2010 06:19 AM
тАО04-02-2010 06:19 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
DSA1:[VMS$COMMON.SYSEXE]TCPIP$NTP_RES_CHILD.EXE;2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2010 06:22 AM
тАО04-02-2010 06:22 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
so you've installed the recent TCPIP V5.6 ECO 5 security patch QXCR1000910870_V56_ECO5_ALPHA !
See this ITRC thread from last week:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1417205
You'll find your question about TCPIP$NTPTRACE answered in there as well.
Please consider to back out this patch for a moment and try to run the original NTP from V5.6 ECO 5 - if you have not yet tried that.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2010 06:30 AM
тАО04-02-2010 06:30 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
try: $ ntpq -dddd
Opening host LOCALHOST
ntpq> Exit
Maybe you'll get better error messages this way.
You can also try - after stopping NTP:
$ ntpd -dddd
to see if this brings up any unusual error messages.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2010 07:43 AM
тАО04-02-2010 07:43 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
there is some signal_no_reset message in the NTP logfile:
$ !
$ ! start ntp server process
$ !
$ run:
$ run SYS$SYSTEM:TCPIP$NTP.EXE
2 Apr 17:28:12 ntp[538972264]: ntpd version = 4.2.0
2 Apr 17:28:12 ntp[538972264]: precision = 976.500 usec
2 Apr 17:28:12 ntp[538972264]: no IPv6 interfaces found
2 Apr 17:28:12 ntp[538972264]: frequency initialized 0.000 PPM from sys$specific:[tcpip$ntp]tcpip$ntp.drift
2 Apr 17:28:14 ntp[538972265]: signal_no_reset: signal 14 had flags 2
Oke, the office closes down for the weeknd.
Lets hope the easter bunny solves the problem!
Thanks for yr help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2010 10:07 AM
тАО04-02-2010 10:07 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
after upgrading to TCPIP V5.6 ECO 5 + recent TCPIP NTP security patches, I could NOT reproduce this problem on my PersonalAlpha, which had a working NTP config (under TCPIP V5.6 SSB) to start with.
So it's pretty sure, that this must be a local TCPIP configuration problem.
Happy Eastern,
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2010 03:10 AM
тАО04-03-2010 03:10 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
I gave the wrong troubleshooting info for NTP. Please consider to DEFINE/SYS TCPIP$NTP_LOG_LEVEL 6 and restart NTP to see if any recognizeable problem shows up in TCPIP$NTP_RUN.LOG
For NTPQ, use $ NTPQ -dddddd to try to get more information.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2010 06:40 AM
тАО04-07-2010 06:40 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
ntpd version = 4.2.0
7 Apr 16:36:28 ntp[538972264]: ntpd version = 4.2.0
adding new filegen
adding new filegen
adding new filegen
adding new filegen
adding new filegen
adding new filegen
7 Apr 16:36:28 ntp[538972264]: set_process_priority: Leave priority alone: priority_done is <2>
7 Apr 16:36:28 ntp[538972264]: precision = 976.500 usec
create_sockets(123)
7 Apr 16:36:28 ntp[538972264]: no IPv6 interfaces found
address_okay: listen Virtual: 1, IF name: IE0, Up Flag: 1
address_okay: listen Virtual: 1, IF name: IE0, Up Flag: 1
address_okay: listen Virtual: 1, IF name: LO0, Up Flag: 1
address_okay: listen Virtual: 1, IF name: WE1, Up Flag: 1
bind() fd 3, family 2, port 123, addr 0.0.0.0, flags=8
bind() fd 4, family 2, port 123, addr xyz.xyz.9.12, flags=8
bind() fd 5, family 2, port 123, addr xyz.xyz.9.206, flags=8
bind() fd 6, family 2, port 123, addr 127.0.0.1, flags=0
bind() fd 7, family 2, port 123, addr xyz.xyz.9.13, flags=8
create_sockets: ninterfaces=5
interface 0: fd=3, bfd=-1, name=wildcard, flags=0x8
sin=0.0.0.0 bcast=0.0.0.0, mask=255.255.255.255
interface 1: fd=4, bfd=-1, name=IE0, flags=0x9
sin=xyz.xyz.9.12 bcast=xyz.xyz.9.255, mask=255.255.255.0
interface 2: fd=5, bfd=-1, name=IE0, flags=0x9
sin=xyz.xyz.9.206 bcast=xyz.xyz.9.255, mask=255.255.255.0
interface 3: fd=6, bfd=-1, name=LO0, flags=0x5
sin=127.0.0.1 mask=255.0.0.0
interface 4: fd=7, bfd=-1, name=WE1, flags=0x9
sin=xyz.xyz.9.13 bcast=xyz.xyz.9.255, mask=255.255.255.0
init_io: maxactivefd 7
local_clock: at 0 state 0
7 Apr 16:36:28 ntp[538972264]: frequency initialized 0.000 PPM from sys$specific:[tcpip$ntp]tcpip$ntp.drift
local_clock: at 0 state 1
getaddrinfo xyz.xyz.155.249
getaddrinfo: "xyz.xyz.155.249" invalid host address.
resolving xyz.xyz.155.249
config: xyz.xyz.155.249 3 3 6 10 0 0 0 *
getaddrinfo xyz.xyz.155.250
getaddrinfo: "xyz.xyz.155.250" invalid host address.
resolving xyz.xyz.155.250
config: xyz.xyz.155.250 3 3 6 10 0 0 0 *
7 Apr 16:36:28 ntp[538972264]: Parent - Starting Host Name Resolver
7 Apr 16:36:28 ntp[538972264]: Parent - Continuing on to NTP daemon duties
so:
getaddrinfo: "xyz.xyz.155.249" invalid host address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2010 06:54 AM
тАО04-07-2010 06:54 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
as I said, some local name/address problem...
Check the server or peer entries in your SYS$SPECIFIC:
This section of the TCPIP debug output looks like the following on my E8.4 test system:
...
7 Apr 16:47:50 ntp[187]: frequency initialized 11.367 PPM from SYS$SPECIFIC:[TC
PIP$NTP]TCPIP$NTP.DRIFT
local_clock: at 0 state 1
getaddrinfo axpvms
getnetnum given axpvms, got 10.20.30.203
key_expire: at 0
peer_clear: at 0 assoc ID 51708 refid INIT
newpeer: 10.20.30.207->10.20.30.203 mode 1 vers 4 poll 6 10 flags 0x1 0x1 ttl 0
key 00000000
getaddrinfo i64vms
getnetnum given i64vms, got 10.20.30.200
key_expire: at 0
peer_clear: at 0 assoc ID 51709 refid INIT
newpeer: 10.20.30.207->10.20.30.200 mode 1 vers 4 poll 6 10 flags 0x1 0x1 ttl 0
key 00000000
...
It looks like NTP is obtaining the addresses of the NTP servers or peers in this section, in my case:
peer axpvms
peer i64vms
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2010 08:24 AM
тАО04-07-2010 08:24 AM
Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined
Please post your NTP configuration, and any associated DNS translations.
I'd ask that you not obfuscate IP addresses and host names and DNS translations here, but you're probably going to do that anyway so please do it consistently so that we can try to sort that out with the configuration and the log files.