Re: [chrony-users] All network sources unusable

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Apologies, Denny! I am unhappy myself that I do not respect the simplest mailing list etiquette such as fixed width font, sensitive line wrap and encoding since I switched to MacOS and Postbox. I guess it's time to get mutt up and running like in the old Linux days... Back on topic - I hope you can read Miroslav's reply and my response with the solution of the issue.

Many thanks for your support.

Denny Page schrieb am 04.06.23 um 16:53:
I’m sorry, unlike your prior email, I am unable to read the output in your last email.

Your prior email looked like this:
——
$ chronyc sourcestats
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS 8   5   110   +444.701    259.006    +16ms  4453us
PPS 64  37  1011     -0.000      0.002     -1ns  1058ns
zeit.fu-berlin.de <http://zeit.fu-berlin.de/> 0   0     0     +0.000 2000.000     +0ns  4000ms ptbtime1.ptb.de <http://ptbtime1.ptb.de/> 0   0     0     +0.000   2000.000     +0ns  4000ms ptbtime2.ptb.de <http://ptbtime2.ptb.de/> 0   0     0     +0.000 2000.000     +0ns  4000ms ptbtime3.ptb.de <http://ptbtime3.ptb.de/> 0   0     0     +0.000   2000.000     +0ns  4000ms ns.tu-berlin.de <http://ns.tu-berlin.de/> 0   0     0     +0.000 2000.000     +0ns  4000ms
——


Your new email looks like this:
——
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#? GPS聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 4聽聽 377聽聽聽聽 8聽聽聽 -88ms[聽 -88ms] +/- 100ms #* PPS聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 4聽聽 113聽聽聽 14聽 -2398ns[-3176ns] +/- 1053ns ^? zeit.fu-berlin.de <http://zeit.fu-berlin.de/>聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 9聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns ^? ptbtime1.ptb.de <http://ptbtime1.ptb.de/>聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 9聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns ^? ptbtime2.ptb.de <http://ptbtime2.ptb.de/>聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 8聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns ^? ptbtime3.ptb.de <http://ptbtime3.ptb.de/>聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 8聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns ^? ns.tu-berlin.de <http://ns.tu-berlin.de/>聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 8聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns
Name/IP Address NP聽 NR聽 Span聽 Frequency聽 Freq Skew聽 Offset聽 Std Dev
==============================================================================
GPS 64聽 50聽 1012聽聽聽聽 +5.202聽聽聽聽 36.190聽聽 -117ms聽聽聽 24ms
PPS 15聽聽 9聽聽 796聽聽聽聽 -0.000聽聽聽聽聽 0.006聽聽聽聽 -1ns聽 1630ns
zeit.fu-berlin.de <http://zeit.fu-berlin.de/> 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms ptbtime1.ptb.de <http://ptbtime1.ptb.de/> 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms ptbtime2.ptb.de <http://ptbtime2.ptb.de/> 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms ptbtime3.ptb.de <http://ptbtime3.ptb.de/> 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms ns.tu-berlin.de <http://ns.tu-berlin.de/> 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms
——


What you are expecting to see looks something like this:
——
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^+ 192.168.230.201               1  -6   377     0    -10ns[  -10ns] +/- 13us ^* 192.168.230.202               1  -6   377     0  -11ns[  -12ns] +/-   13us ^? 192.168.230.203               1  -6   377     0    -11ns[  -11ns] +/-   13us ^? 192.168.230.200               1  -6   377     0    -52ns[  -52ns] +/- 12us =? 192.168.230.11                2  -6   377     0 +5ns[   +5ns] +/-   35us ^? 192.168.230.1                 2   3   377     7    +10us[  +10us] +/- 1121us
Name/IP Address      NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
192.168.230.201             7   5     1     -0.009      0.048    -13ns     9ns 192.168.230.202            33  17     8     -0.000      0.002    +10ns     7ns 192.168.230.203            50  27     1     +0.005      0.039     -9ns    19ns 192.168.230.200            64  36     1     -0.002      0.032    -77ns    21ns 192.168.230.11             37  17     1     -0.009      0.038    +14ns    11ns 192.168.230.1              29  15   227     +0.132      0.046    +13us  4369ns
——

Your actual values for will be different of course, but at a minimum there should be non zero values present for Reach, Last Sample, NP and Span. A value of 0 for NP, 0 for Span, 2000.000 for Freq Skew and 4000ms for Std Dev are clear indications that the source is not being tracked.


Denny



On Jun 4, 2023, at 03:07, Torsten Wolf <torsten.wolf@xxxxxxx> wrote:

I added "noselect" to the NMEA (SHM0) source and restarted chrony. After an hour the output is

$ chronyc -m sources sourcestats
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#? GPS聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 4聽聽 377聽聽聽聽 8聽聽聽 -88ms[聽 -88ms] +/- 100ms #* PPS聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 4聽聽 113聽聽聽 14聽 -2398ns[-3176ns] +/- 1053ns ^? zeit.fu-berlin.de聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 9聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns ^? ptbtime1.ptb.de聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 9聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns ^? ptbtime2.ptb.de聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 8聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns ^? ptbtime3.ptb.de聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 8聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns ^? ns.tu-berlin.de聽聽聽聽聽聽聽聽聽聽聽聽聽聽 0聽聽 8聽聽 377聽聽聽聽 -聽聽聽聽 +0ns[聽聽 +0ns] +/- 0ns
Name/IP Address NP聽 NR聽 Span聽 Frequency聽 Freq Skew聽 Offset聽 Std Dev
==============================================================================
GPS 64聽 50聽 1012聽聽聽聽 +5.202聽聽聽聽 36.190聽聽 -117ms聽聽聽 24ms
PPS 15聽聽 9聽聽 796聽聽聽聽 -0.000聽聽聽聽聽 0.006聽聽聽聽 -1ns聽 1630ns
zeit.fu-berlin.de 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms ptbtime1.ptb.de 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms ptbtime2.ptb.de 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms ptbtime3.ptb.de 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms ns.tu-berlin.de 0聽聽 0聽聽聽聽 0聽聽聽聽 +0.000聽聽 2000.000聽聽聽聽 +0ns聽 4000ms

As far as I understand 377 indicates that the network sources can be accessed, and the fact that the measurements.log file is constantly updated with readings from those sources shows that data is being received.

Not sure why the Reach value for the PPS source is 113. A few minuts later that value increased to 372, just to go down again afterwards.

Here is a the output of "chronyc ntpdata" from one of the external sources

Remote address聽 : 192.53.103.104 (C0356768)
Remote port聽聽聽聽 : 123
Local address聽聽 : 192.168.1.105 (C0A80169)
Leap status聽聽聽聽 : Normal
Version聽聽聽聽聽聽聽聽 : 4
Mode聽聽聽聽聽聽聽聽聽聽聽 : Server
Stratum聽聽聽聽聽聽聽聽 : 2
Poll interval聽聽 : 7 (128 seconds)
Precision聽聽聽聽聽聽 : -25 (0.000000030 seconds)
Root delay聽聽聽聽聽 : 0.000778 seconds
Root dispersion : 0.269699 seconds
Reference ID聽聽聽 : C0A80169 ()
Reference time聽 : Sun Jun 04 10:00:57 2023
Offset聽聽聽聽聽聽聽聽聽 : -0.142506495 seconds
Peer delay聽聽聽聽聽 : 0.000236495 seconds
Peer dispersion : 0.000000898 seconds
Response time聽聽 : 0.000178912 seconds
Jitter asymmetry: +0.00
NTP tests聽聽聽聽聽聽 : 111 111 1110
Interleaved聽聽聽聽 : No
Authenticated聽聽 : No
TX timestamping : Kernel
RX timestamping : Kernel
Total TX聽聽聽聽聽聽聽 : 16
Total RX聽聽聽聽聽聽聽 : 15
Total valid RX聽 : 15



Denny Page schrieb am 04.06.23 um 00:20:
Try this:

  chronyc -m sources sourcestats

This will print the sources and then the source stats. I suspect that the other sources you have are not actually being polled or are not reachable. Check the 鈥淩each鈥� column in sources.

Denny
��N嫥叉靣笡y闅奧!畨蚝谦卜�-r�锜+n碰\ó"��Р骒r笡z)韰�.n7湸Z+呴izf萲觎畓薥喓'售眪�*+�瓎�ウ)韰�.n7湹:韫筤�fXf贶喓'售眪�*+




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/