Re: chrony discarding servers
On Wed, 20 May 2009 16:55:05 -0400
Daryl Styrk <darylstyrk@gmail.com> wrote:
> I seem to keep having a problem with chrony dropping back to 127.127.1.1..
>
> I saw in chrony.conf
> # Note that if Chrony tries to go "online" and dns lookup of the servers
> # fails they will be discarded. Thus under some circumstances it is
> # better to use IP numbers than host names.
>
> So I commented out the default servers and went with some IP's.
>
> server 216.45.57.38 offline minpoll 8
> server 216.14.97.75 offline minpoll 8
>
> #server 0.debian.pool.ntp.org offline minpoll 8
> #server 1.debian.pool.ntp.org offline minpoll 8
> #server 2.debian.pool.ntp.org offline minpoll 8
> #server 3.debian.pool.ntp.org offline minpoll 8
>
> Which I still end up with this everyday.
>
> chronyc> tracking
> Reference ID : 127.127.1.1 (127.127.1.1)
> Stratum : 10
> Ref time (UTC) : Wed May 20 20:41:42 2009
> System time : 0.000000 seconds fast of NTP time
> Frequency : 0.629 ppm fast
> Residual freq : 0.000 ppm
> Skew : 0.000 ppm
> Root delay : 0.000000 seconds
> Root dispersion : 0.000000 seconds
>
> However if I restart chrony it will come back online as usual.
>
> # /etc/init.d/chrony restart
> Restarting time daemon: chronyd is running and online.
>
> chronyc> tracking
> Reference ID : 216.14.97.75 (ntp.your.org)
> Stratum : 2
> Ref time (UTC) : Wed May 20 20:42:47 2009
> System time : 0.009365 seconds slow of NTP time
> Frequency : 0.629 ppm fast
> Residual freq : -1625.707 ppm
> Skew : 0.174 ppm
> Root delay : 0.077957 seconds
> Root dispersion : 0.029449 seconds
>
> What else am I missing here?
Dumb question, but when you aren't restarting chrony, are you telling
it to bring the sources online?
Can you post the output of 'grep chrony /var/log/syslog' from
chrony startup and from when you're telling it to go online, if you are
indeed doing so?
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: