NTP on Linux device

Hi,

We have some Linux device that are not able to synchronize probably to NTP on GPN.

Using the following commands, I get those information:

ntpq -c rv
associd=0 status=c018 leap_alarm, sync_unspec, 1 event, no_sys_peer,
version=“ntpd 4.2.8p11@1.3728-o Tue Apr 30 10:08:11 UTC 2019 (2)”,
processor=“x86_64”, system=“Linux/4.14.87-rt49-cg-7.1.0f0-x64-41”,
leap=11, stratum=16, precision=-23, rootdelay=0.000, rootdisp=8.025,
refid=STEP, reftime=00000000.00000000 Thu, Feb 7 2036 6:28:16.000,
clock=e3a13640.44d2becf Thu, Jan 7 2021 7:26:56.268, peer=0, tc=6,
mintc=3, offset=0.000000, frequency=10.498, sys_jitter=0.000119,
clk_jitter=0.000, clk_wander=0.045

leap_alarm meaning that the it was never synced.

ntpq -p
remote refid st t when poll reach delay offset jitter

==============================================================================
ip-time-0.cern. 172.18.18.69 2 u 39 64 17 0.295 7634.31 4772.99
ip-time-1.cern. 172.18.16.69 2 u 43 64 17 0.262 7523.18 4853.20
ip-time-2.cern. 172.18.16.69 2 u 41 64 17 0.336 7412.04 4837.51

ntpq -c as

ind assid status conf reach auth condition last_event cnt

===========================================================
1 3812 801a yes no none reject sys_peer 1
2 3813 9024 yes yes none reject reachable 2
3 3814 9014 yes yes none reject reachable 1

ntpq> rv 3812
associd=3812 status=9014 conf, reach, sel_reject, 1 event, reachable,
srcadr=ip-time-0.cern.ch, srcport=123, dstadr=128.141.179.222,
dstport=123, leap=00, stratum=2, precision=-23, rootdelay=0.366,
rootdisp=2.502, refid=172.18.18.69,
reftime=e3a13659.e5d9b19f Thu, Jan 7 2021 7:27:21.897,
rec=e3a13697.ba359e89 Thu, Jan 7 2021 7:28:23.727, reach=001,
unreach=1, hmode=3, pmode=4, hpoll=6, ppoll=6, headway=179,
flash=400 peer_dist, keyid=0, offset=188.803, delay=0.297,
dispersion=7937.500, jitter=0.000, xleave=0.044,
filtdelay= 0.30 0.00 0.00 0.00 0.00 0.00 0.00 0.00,
filtoffset= 188.80 0.00 0.00 0.00 0.00 0.00 0.00 0.00,
filtdisp= 0.00 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0

flash=400 peer_dist, this flash code corresponds to “distance threshold exceeded”.

Do you have any suggestion on how to synchronize it ?

Best regards,

Thomas

PS: My NTP configuration:
cat /etc/ntp.conf

Default config file used for ntpd and sntp on NI Linux RT

Panic threshold

Checks if the offset is greater than this and exits if it is,

believing something is horribly wrong.

When set to 0, disables sanity check and will accept any time.

tinker panic 0

By default, the server allows:

- all queries from the local host

- only time queries from remote hosts, protected by rate limiting and kod

Prevent access to everything not explicitly allowed; we only want to answer time queries from servers.

restrict default kod limited nomodify nopeer noquery notrap

Permit standard loopback addresses because some applications may require them.

restrict 127.0.0.1
restrict ::1

Specifying the file will enable the drift file option

driftfile /var/lib/ntp/drift

Servers

server 137.138.18.69 prefer
server 137.138.16.69
server 137.138.17.69
restrict default