Page 2 of 2

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 3:37 pm
by TheHogNL
MyZ wrote:How do I restart chrony?
/etc/init.d/chronyd restart

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 6:31 pm
by MyZ
Thnx. Did some restarts, but didn't had any effect. I'm getting these messages after rebooting:

Code: Select all

ep  6 17:58:44 eneco-001-209949 daemon.info chronyd[1299]: chronyd version 1.27 starting
Sep  6 17:58:45 eneco-001-209949 daemon.info chronyd[1299]: Linux kernel major=2 minor=6 patch=36
Sep  6 17:58:45 eneco-001-209949 daemon.info chronyd[1299]: hz=100 shift_hz=7 freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000 shift_pll=2
Sep  6 17:58:45 eneco-001-209949 daemon.err chronyd[1299]: Could not open IPv6 NTP socket : Address family not supported by protocol
Sep  6 17:58:45 eneco-001-209949 daemon.err chronyd[1299]: Could not open IPv6 command socket : Address family not supported by protocol
Sep  6 17:58:45 eneco-001-209949 daemon.info chronyd[1299]: Frequency 6.556 +/- 1.712 ppm read from /var/lib/chrony/chrony.drift
Sep  6 17:58:49 eneco-001-209949 daemon.warn chronyd[1299]: No intersecting endpoints found

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 6:47 pm
by TheHogNL
You are not describing your issue :-) only posting a good logfile

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 6:48 pm
by MyZ
problem = topicname :D

To be more exact, it's 3 minutes behind

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 7:20 pm
by TheHogNL
And did you also modify your chrony config as said earlier?

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 7:33 pm
by MyZ
Not yet, first I went the "easy way" as you described:
Just restart chrony a few times and it will create the necessary files for it to sync properly
Will modify the file with the other time server.

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 7:43 pm
by MyZ
Changed the server to:

Code: Select all

server 0.nl.pool.ntp.org 8
In sync now!

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 7:48 pm
by TheHogNL
That restart was necessary to fix the errors shown in the log (after the change to the pool.ntp.org servers) :)

Re: Toon's clock is 2 minutes behind

Posted: Thu Sep 06, 2018 8:03 pm
by MyZ
Ah! It makes all sense now :D