Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined

 
Jan van den Boogaard_1
Frequent Advisor

NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined

Hi all,

NTPQ on VMS V8.3 Alpha test system gives the error:

getaddrinfo() failed - verify that the NTP service is defined

TCPIP V5.6 ECO4 is installed, also other recent patches. A 7.3-2 test system that is configured in the same way does not give the error but show correct output.

Any ideas?
21 REPLIES 21
Volker Halle
Honored Contributor

Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined

Jan,

could you please provide the full NTPQ command you've issued and the full error message ?

Volker.
Jan van den Boogaard_1
Frequent Advisor

Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined

$
$
$ @sys$manager:TCPIP$DEFINE_COMMANDS.COM
$ ntpq
getaddrinfo() failed - verify that the NTP service is defined

$
$



under 7.3-2:

$
$ @sys$manager:TCPIP$DEFINE_COMMANDS.COM
$ ntpq

ntpq> peers
remote refid st t when poll reach delay offset jitter
===============================================================
*ioxyz001.xyz.lo ioxyz01.xyz.loc 5 u 557 1024 377 0.488 0.101 1.486
+ioxyz002.xyz.lo ioxyz01.xyz.loc 5 u 836 1024 377 0.488 -0.341 0.488
ntpq>



Volker Halle
Honored Contributor

Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined

Jan,

it's either some local node TCPIP config problem or some DNS/BIND issue. NTPQ must be tryxing to obtain the local host name or IP address. You haven't even given a NTPQ command yet.

Anything unusual returned by:

$ tcpip sho service ntp

$ TCPIP SHOW HOST localhost

$ TCPIP show host

$ TCPIP SHOW HOST/addr=

Volker.
Hoff
Honored Contributor

Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined

First, ensure that DTSS is not running. There's a logical name around (Topeka^h^h^h^h^hGoogle search for documentation on NET$DISABLE_DTSS ) to disable the DTSS startup, as you've probably ended up with Phase V if you've done a default install.

Then ensure that the NTP service configured and started in the TCPIP$CONFIG tool and then review that the NTP configuration text files that get created by the config tool are also set up, and is NTP then running? And if you've configured and launched and then hand-edited the NTP config files, then restart NTP.

If you've already performed and reviewed all those details and lack an NTP server, have a look around for any logs or dumps related to the NTP software.
Volker Halle
Honored Contributor

Re: NTPQ on VMS V8.3 Alpha gives error: getaddrinfo() failed - verify that the NTP service is defined

Jan,

TCPIP V5.6 ECO 4 - did you install the recent TCPIP NTP security patch ?

Also consider TCPIP V5.6 ECO 5 - that's the current version.

Consider the above, if you can't find any local TCPIP config errors...

Volker.