Page 1 of 2

Toon's clock is 2 minutes behind

Posted: Wed Aug 22, 2018 8:28 pm
by hansgrave
Suddenly Toon's clock is 2 minutes behind, restart Toon and restart router doesn't solve this problem. Does anyone have a different solution?

Hans

Re: Toon's clock is 2 minutes behind

Posted: Wed Aug 22, 2018 9:29 pm
by marcelr
Two checks:

Is your toon connected to the internet?
If not, connect it.

Is Toons chronyd up and running, and connecting to a time server?

If not start it, and check whether the chronyd is connected to a time server (the rooting manual gives an example), lately I 've been using 0.nl.pool.ntp.org successfully.

Re: Toon's clock is 2 minutes behind

Posted: Thu Aug 23, 2018 8:49 pm
by Demif
Same here, 3 min.
toon is connected tot the internet.
changed the time server

Works. Needed Some time to sync.

Re: Toon's clock is 2 minutes behind

Posted: Thu Aug 23, 2018 10:08 pm
by Toonz
Have you updated /etc/chrony.conf as described here: viewtopic.php?f=87&t=11449&p=85791&hili ... onf#p85791 ?
And reboot probably

Re: Toon's clock is 2 minutes behind

Posted: Thu Aug 23, 2018 10:24 pm
by hansgrave
marcelr wrote:Two checks:

Is your toon connected to the internet?
If not, connect it.

Is Toons chronyd up and running, and connecting to a time server?

If not start it, and check whether the chronyd is connected to a time server (the rooting manual gives an example), lately I 've been using 0.nl.pool.ntp.org successfully.
Thanx, changing the time server in chrony.conf solved the problem. Remarkably, the config was in accordance with the root manual.

Re: Toon's clock is 2 minutes behind

Posted: Fri Aug 24, 2018 8:00 am
by TheHogNL
The www.nist.gov mentioned in the rooting guide seems not to provide any time anymore

Code: Select all

# ntpq -p www.nist.gov
dualstack.mc-12555-1019789594.us-east-1.elb.amazonaws.com: timed out, nothing received
***Request timed out
So just use the nl.pool.ntp.org servers. That what they are for. @MarcelC can you change the manual?

Re: Toon's clock is 2 minutes behind

Posted: Fri Aug 24, 2018 8:41 am
by marcelr
TheHogNL wrote:@MarcelC can you change the manual?
It's marcelr. Yes I can.
There are some more fixes to be done, will look into it this weekend.

Re: Toon's clock is 2 minutes behind

Posted: Thu Aug 30, 2018 12:35 pm
by mogwai
Toonz wrote:Have you updated /etc/chrony.conf as described here: viewtopic.php?f=87&t=11449&p=85791&hili ... onf#p85791 ?
And reboot probably
Used the exact contents of the chrony.conf mentioned in above link, but still get errors / warnings if I look in /var/log/messages (see below). Any clues?

Code: Select all

Aug 30 12:25:50 eneco-001-286065 daemon.info chronyd[1247]: chronyd version 1.27 starting
Aug 30 12:25:50 eneco-001-286065 daemon.info chronyd[1247]: Linux kernel major=2 minor=6 patch=36
Aug 30 12:25:50 eneco-001-286065 daemon.info chronyd[1247]: hz=100 shift_hz=7 freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000 shift_pll=2
Aug 30 12:25:50 eneco-001-286065 daemon.err chronyd[1247]: Could not open IPv6 NTP socket : Address family not supported by protocol
Aug 30 12:25:50 eneco-001-286065 daemon.err chronyd[1247]: Could not open IPv6 command socket : Address family not supported by protocol
Aug 30 12:25:51 eneco-001-286065 daemon.info chronyd[1247]: Frequency 4.413 +/- 0.074 ppm read from /var/lib/chrony/chrony.drift
Aug 30 12:25:51 eneco-001-286065 daemon.info chronyd[1247]: System's initial offset : 138.716520 seconds slow of true (step)
Aug 30 12:28:10 eneco-001-286065 daemon.warn chronyd[1247]: Could not open dump file /var/lib/chrony/185.92.220.131.dat
Aug 30 12:28:10 eneco-001-286065 daemon.warn chronyd[1247]: Could not open dump file /var/lib/chrony/95.211.212.5.dat
Aug 30 12:28:10 eneco-001-286065 daemon.warn chronyd[1247]: Could not open dump file /var/lib/chrony/213.109.127.82.dat
Aug 30 12:28:10 eneco-001-286065 daemon.warn chronyd[1247]: Could not open dump file /var/lib/chrony/193.169.139.87.dat

Re: Toon's clock is 2 minutes behind

Posted: Thu Aug 30, 2018 5:59 pm
by TheHogNL
You can ignore that if your time is now in sync.

Re: Toon's clock is 2 minutes behind

Posted: Sat Sep 01, 2018 7:23 pm
by TheHogNL
Just noticed that the chrony implementation on the toon is somewhat buggy. If it connects to a new time server which is has never connected to, it will not sync to it (giving that error dump file message). With pool.ntp.org the server will change between a lot of pool servers. Just restart chrony a few times and it will create the necessary files for it to sync properly.

Check with "chronyc sources -v"

Re: Toon's clock is 2 minutes behind

Posted: Sun Sep 02, 2018 9:23 pm
by mogwai
TheHogNL wrote:Just noticed that the chrony implementation on the toon is somewhat buggy. If it connects to a new time server which is has never connected to, it will not sync to it (giving that error dump file message). With pool.ntp.org the server will change between a lot of pool servers. Just restart chrony a few times and it will create the necessary files for it to sync properly.

Check with "chronyc sources -v"
A few chrony restarts indeed removed the errors. Thanks!

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 1:31 pm
by MyZ
How do I restart chrony?

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 1:42 pm
by TerrorSource
MyZ wrote:How do I restart chrony?
Did you try a reboot? :D

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 2:55 pm
by MyZ
Yes a couple of times :wink:

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 3:05 pm
by TerrorSource
MyZ wrote:Yes a couple of times :wink:
Can you post the content of the chrony file ?