Name or service not known error with ntpq -p

Solution Verified - Updated -

Issue

  • The ntpq -p command fails with an error, as follows:

    [root@localhost]# ntpq -p
    Name or service not known
    

Environment

  • Red Hat Enterprise Linux
    • ntpd provided by ntp package

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In