IBM Support

ntpq localhost query fails if many interfaces are configured

Question & Answer


Question

Why does 'ntpq -p' hang and fail when there are many interfaces configured?

Cause

On systems with hundreds of interfaces or IPs, running 'ntpq -p' may fail.

Answer

Add the following entries to ntp.conf file:

interface listen wildcard
interface listen all

Restart xntpd to effect the change and try ntpq command again to check if it works.

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvxSAAQ","label":"Communication Applications-\u003ENTP\/TIMED"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
03 June 2024

UID

ibm17156294