[ntp:questions] No syncro

Steve Kostecke kostecke at ntp.isc.org
Thu Feb 15 19:49:33 UTC 2007


On 2007-02-15, Juan C. Gonzalez <jcgonzalez at ono.com> wrote:

> I have a two computers, A and B. Version xntp 4.1.1. I have too a
> server ntp (S).

The current version of NTP is 4.2.4 and it hasn't been known as xntp
since version 3. But that's not germane to your problem.

> Computer A, run xntpd start, connect with server (S), update the hour
> and It works correctly.
>
>ntpq> pe
>remote           refid   st t when poll reach delay offset jitter
>=================================================================
>emaddns1.endesa 0.0.0.0 16 u    -   64    0   0.000 0.000  4000.00
>emaddns3.endesa 0.0.0.0 16 u    -   64    0   0.000 0.000  4000.00

This ntpd has not been able to poll those two remote time servers (note
the 0 in the reach column).

It is possible that you did not allow enough time to elapse after
starting ntpd. If you don't see any change in the reach, delay, offset,
and jitter columns after ~5 minutes you have something blocking the NTP
packets between your ntpd and the remote time servers.

> Computer B, run xntpd start, connect with server (S), It updates the
> hour but alone this time.
>
>ntpq> pe
>remote           refid   st t when poll reach delay offset jitter
>=================================================================
>emaddns1.endesa embal...  2 u   46   64    7  1.807 69662.4 15236.6
>emaddns3.endesa 0.0.0.0  16 u    -   64    0  0.000 0.000 4000.00

Here, ntpd has polled 'emaddns1' 3 times and has determined that your
clock off-set is 69662.4 ms, or 69.6 seconds.

Again, you should allow some time to pass before using 'ntpq -p'.

Ntpd will abort if it sees an offset greater than 1024 seconds (~ 17
minutes). If your version of ntpd supports the '-g' option you may want
to add it to the ntpd command-line. Doing so will allow ntpd to make one
step (usually the first one) of more than 1024 seconds.

If you can't use '-g' you will need to use ntpdate to preset your clock
before ntpd is started.

-- 
Steve Kostecke <kostecke at ntp.isc.org>
NTP Public Services Project - http://ntp.isc.org/




More information about the questions mailing list