ntpq stopped working

Paul Howarth paul at city-fan.org
Mon Mar 21 14:18:54 UTC 2005


Bob Goodwin wrote:
> I never had this problem until a few days ago when ntpq quit working.:
> 
>            # ntpq -p
>            Name or service not known
> 
> 
> What service does it mean, "ntpq?"
> 
> I don't know what I did, if anything, to cause this?
> I made no changes intended for ntp.
> 
> Any help appreciated.

Does your /etc/hosts file include an entry for "localhost", and does 
your /etc/services file include these entries?:

ntp             123/tcp
ntp             123/udp                         # Network Time Protocol

Paul.




More information about the fedora-list mailing list