Re: [chrony-users] issues syncing between chrony and ntp

[ Thread Index | Date Index | More Archives ]

On Mon, 9 May 2011, Bauer, Steven J. wrote:

Software versions:
Chrony version 1.25
Ntp: 4.2.6p3

Currently, The host running chrony is a stratum 1 server using a locally attached gps (gpsid) reflock using the SOCK interface.

The host running ntp  with a configuration like:

What happens is that it appears the queries for time to the host running chrony never work.

Is there anything in the chrony log files?

If I do a ntpq -p on the machine running ntp I get:

silver ~ # ntpq -p
    remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================   .INIT.          16 u    -   64    0    0.000    0.000   0.000
ip-173-201-38-8   2 u   18   64    3   66.030    2.070   0.089
mail.scottishtr    2 u   17   64    3   47.528   -7.556   0.129     2 u   13   64    3   33.976   -0.975   0.243
smtp.envirahost  2 u   14   64    3   47.641    1.468   0.119

Now, the workaround that I found to get it to work was to add a version 3 on the server line in the ntp.conf as well as specify the ipv4 address of the host running chrony on the host running ntp.

Chrony does use version 3.

Granted this work around works, but is there something that needs to be done on chrony/chrony.conf so that ntp can automatically figure out the ntp version rather than having to modify all of the hosts that we have running ntp on them?

That seems to be a bug in ntpd, not chrony.

Granted if I replace ntp on the second host with chrony the stuff works great as well.

To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject. For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.

Mail converted by MHonArc 2.6.19+