Name or service not known error with ntpq -p

Solution Verified - Updated -


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

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


  • Red Hat Enterprise Linux
    • ntpd provided by ntp package

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In