On Sat, May 28, 2016 at 10:10:54PM +0200, Vincent Blut wrote: > Hi, > > On Sat, May 28, 2016 at 08:33:48PM +0100, ael wrote: > > Package: chrony > > Version: 2.3-2 > > Severity: normal > > > > Since I upgraded to the latest version today, chronyc does not seem to > > be displaying the server status correctly. Example: > > Tracking shows you aren’t synchronized to any external source and that you > are using the “local” mode. Do you have any network issue? Could you show > what “journalctl -u chrony” returns?
Ok. Appended. (I had restarted a few times via /etc/init.d/chrony restart ). Last line seems to report sync with $ host 82.219.4.30 30.4.219.82.in-addr.arpa domain name pointer ntp1.exa-networks.co.uk. I just ran chronyc again and got a sensible display: chronyc> sources -v 210 Number of sources = 6 .-- Source mode '^' = server, '=' = peer, '#' = local clock. / .- Source state '*' = current synced, '+' = combined , '-' = not combined, | / '?' = unreachable, 'x' = time may be in error, '~' = time too variable. || .- xxxx [ yyyy ] +/- zzzz || Reachability register (octal) -. | xxxx = adjusted offset, || Log2(Polling interval) --. | | yyyy = measured offset, || \ | | zzzz = estimated error. || | | \ MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^? cpc2-oxfd6-0-0-gw.4-3.cab 0 10 0 - +0ns[ +0ns] +/- 0ns ^* ntp1.exa-networks.co.uk 2 9 377 358 +2071us[+2115us] +/- 23ms ^+ gw-01.darksky.io 2 9 377 363 -306us[ -262us] +/- 52ms ^+ sip.dicode.nl 2 9 377 351 -3664us[-3664us] +/- 38ms ^+ roliath.nonexiste.net 3 9 377 361 +255us[ +299us] +/- 87ms ^- ns2.bvc-cloud.de 3 9 377 353 -817us[ -817us] +/- 81ms So it seems to be working now. I don't understand what was happening before: I had successfully pinged a source or two before reporting so it wasn't a network issue. ael
-- Logs begin at Sat 2016-05-28 20:02:27 BST, end at Sat 2016-05-28 21:50:08 BST. -- May 28 20:02:37 shelf systemd[1]: Starting LSB: Controls chronyd NTP time daemon... May 28 20:02:37 shelf chronyd[1955]: chronyd version 2.3 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SECHASH +ASYNCDNS +IPV6 -DEBUG) May 28 20:02:37 shelf chronyd[1955]: commandkey directive is no longer supported May 28 20:02:37 shelf chronyd[1955]: Frequency -0.543 +/- 0.191 ppm read from /var/lib/chrony/chrony.drift May 28 20:02:37 shelf chrony[1547]: chronyd is running and offline. May 28 20:02:37 shelf systemd[1]: Started LSB: Controls chronyd NTP time daemon. May 28 20:04:09 shelf systemd[1]: Stopping LSB: Controls chronyd NTP time daemon... May 28 20:04:09 shelf chrony[2899]: Stopped /usr/sbin/chronyd (pid 1955). May 28 20:04:09 shelf chronyd[1955]: chronyd exiting May 28 20:04:09 shelf systemd[1]: Stopped LSB: Controls chronyd NTP time daemon. May 28 20:04:09 shelf systemd[1]: Starting LSB: Controls chronyd NTP time daemon... May 28 20:04:09 shelf chronyd[2915]: chronyd version 2.3 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SECHASH +ASYNCDNS +IPV6 -DEBUG) May 28 20:04:09 shelf chronyd[2915]: commandkey directive is no longer supported May 28 20:04:09 shelf chronyd[2915]: Frequency -0.543 +/- 0.191 ppm read from /var/lib/chrony/chrony.drift May 28 20:04:09 shelf chrony[2908]: chronyd is running and offline. May 28 20:04:09 shelf systemd[1]: Started LSB: Controls chronyd NTP time daemon. May 28 20:12:49 shelf chronyd[2915]: Selected source 46.101.52.119 May 28 20:12:49 shelf chronyd[2915]: System clock wrong by 2.881813 seconds, adjustment started May 28 20:30:42 shelf systemd[1]: Stopping LSB: Controls chronyd NTP time daemon... May 28 20:30:42 shelf chrony[3768]: Stopped /usr/sbin/chronyd (pid 2915). May 28 20:30:42 shelf chronyd[2915]: chronyd exiting May 28 20:30:42 shelf systemd[1]: Stopped LSB: Controls chronyd NTP time daemon. May 28 20:30:42 shelf systemd[1]: Starting LSB: Controls chronyd NTP time daemon... May 28 20:30:42 shelf chronyd[3786]: chronyd version 2.3 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SECHASH +ASYNCDNS +IPV6 -DEBUG) May 28 20:30:42 shelf chronyd[3786]: Frequency -0.439 +/- 0.948 ppm read from /var/lib/chrony/chrony.drift May 28 20:30:42 shelf chrony[3778]: chronyd is running and offline. May 28 20:30:42 shelf systemd[1]: Started LSB: Controls chronyd NTP time daemon. May 28 20:39:22 shelf chronyd[3786]: Selected source 82.219.4.30

