Toon's clock is 2 minutes behind

If your (rooted) Toon doesn't do what it's supposed to, post here. Dutch allowed / Posten in 't Nederlands toegestaan.

Moderators: marcelr, TheHogNL, Toonz

hansgrave
Starting Member
Starting Member
Posts: 49
Joined: Sat Dec 23, 2017 12:42 pm

Toon's clock is 2 minutes behind

Post 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
Homey, rooted Toon 1 and HomeAssistent.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon's clock is 2 minutes behind

Post 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.
Demif
Starting Member
Starting Member
Posts: 24
Joined: Mon Nov 27, 2017 3:22 pm

Re: Toon's clock is 2 minutes behind

Post by Demif »

Same here, 3 min.
toon is connected tot the internet.
changed the time server

Works. Needed Some time to sync.
Last edited by Demif on Fri Aug 24, 2018 8:54 am, edited 1 time in total.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon's clock is 2 minutes behind

Post 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
member of the Toon Software Collective
hansgrave
Starting Member
Starting Member
Posts: 49
Joined: Sat Dec 23, 2017 12:42 pm

Re: Toon's clock is 2 minutes behind

Post 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.
Homey, rooted Toon 1 and HomeAssistent.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon's clock is 2 minutes behind

Post 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?
Member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon's clock is 2 minutes behind

Post 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.
mogwai
Starting Member
Starting Member
Posts: 43
Joined: Fri Aug 10, 2018 10:36 pm

Re: Toon's clock is 2 minutes behind

Post 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
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon's clock is 2 minutes behind

Post by TheHogNL »

You can ignore that if your time is now in sync.
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon's clock is 2 minutes behind

Post 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"
Member of the Toon Software Collective
mogwai
Starting Member
Starting Member
Posts: 43
Joined: Fri Aug 10, 2018 10:36 pm

Re: Toon's clock is 2 minutes behind

Post 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!
MyZ
Member
Member
Posts: 53
Joined: Mon Jun 04, 2018 6:57 pm

Re: Toon's clock is 2 minutes behind

Post by MyZ »

How do I restart chrony?
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon's clock is 2 minutes behind

Post by TerrorSource »

MyZ wrote:How do I restart chrony?
Did you try a reboot? :D
MyZ
Member
Member
Posts: 53
Joined: Mon Jun 04, 2018 6:57 pm

Re: Toon's clock is 2 minutes behind

Post by MyZ »

Yes a couple of times :wink:
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon's clock is 2 minutes behind

Post by TerrorSource »

MyZ wrote:Yes a couple of times :wink:
Can you post the content of the chrony file ?
Post Reply

Return to “Toon issues and support (Nederlands toegestaan)”