Re: All network sources unusable

Denny Page <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <[email protected]>
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 “Reach” column in sources.

Denny


> On Jun 3, 2023, at 14:31, Torsten Wolf <[email protected]> wrote:
> 
> Bryan, many thanks for the explanation and the suggestion regarding SHM0. My only worry is that the sourcestats output is not offering much in terms of offset of the network sources:
> 
> $ 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 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
> 
> Cheers,
> Torsten
> 
> Bryan Christianson schrieb am 03.06.23 um 23:18:
>> Hi Torsten
>> 
>> From the chrony.conf(5) manpage:
>> noselect Never select this source. This is useful for monitoring or with sources which are not very accurate, but are locked with a PPS refclock.
>> 
>> Your 'noselect' hosts are not viable sources as they will never be selected. They will however show up in the 'chronyc sourcestats' list with their measured offsets.
>> 
>> If you look at the gpsd link again, you will see they are displaying 'chronyc sourcestats', not 'sources' as you have posted.
>> 
>> Also, I suggest you set the SHM 0 refclock to noselect - it will still be used by the pps refclock to give a timestamp to the pps readings but will not participate in setting the clock.
>> 
>> I hope that helps.
>> 
>> Regards, Bryan
>> 
>> 
> 


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.