[PLUG] ntp isn't keeping the clock accurate

Paul Heinlein heinlein at attbi.com
Fri Apr 11 11:01:02 UTC 2003


On 11 Apr 2003, Mike De La Mater wrote:

> [root at rhws sbin]# ./ntpdc
> ntpdc> peers
>      remote           local      st poll reach  delay   offset    disp
> =======================================================================
> =time.nist.gov   5.0.0.0         16   64    0 0.00000  0.000000 0.00000
> =clock.via.net   5.0.0.0         16   64    0 0.00000  0.000000 0.00000

The '5.0.0.0' local address is the key: ntpd is unable to reach the 
remote hosts.

For troubleshooting, make sure

* you can ping those hosts

* your client has permission to sync with them:

  ntpd -q time.nist.gov
  ntpd -q clock.via.net

* you don't have a packet filter rule that's blocking ntp traffic

> Note that /usr/sbin does not appear to be in my path, so I have to
> enter the ./ to make it run. I'm logged into X as a user, but I su'd
> to root for this check.

Typically, you don't need to be root to run ntpdc.

--Paul Heinlein <heinlein at attbi.com>





More information about the PLUG mailing list