You are not logged in.

#1 2013-11-11 20:25:02

renegat
Member
From: Europe
Registered: 2012-12-28
Posts: 100

chrony does not do anything anymore

Since one of the latest updates the rtcfile /var/lib/chrony/rtc directive and the rtconutc directive in the /etc/chrony.conf were commented out.
When trying to start chrony.service with this directives enabled it fails to start (code=exited, status=1/FAILURE).
Without this directives chrony just do nothing at all:

Logged in with chronyc and password set in chrony.keys:

chronyc> online
200 OK
chronyc> trimrtc
513 RTC driver not running
chronyc> rtcdata
513 RTC driver not running
chronyc> tracking
Reference ID    : 80.153.14.198 (ntp2.kashra-server.com)
Stratum         : 3
Ref time (UTC)  : Mon Nov 11 20:29:17 2013
System time     : 29.620384216 seconds slow of NTP time
Last offset     : -0.000492544 seconds
RMS offset      : 0.000492544 seconds
Frequency       : 23.277 ppm fast
Residual freq   : -0.318 ppm
Skew            : 2.492 ppm
Root delay      : 0.049504 seconds
Root dispersion : 0.006008 seconds
Update interval : 59.8 seconds
Leap status     : Normal
chronyc> sources
210 Number of sources = 4
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^+ static.5-9-80-114.clients     2   6   177    28  -3821us[-3505us] +/-   51ms
^- mail.qraftwerk.de             2   6   177    28    +43ms[  +43ms] +/-  101ms
^+ ntp.itarium.ch                2   6   177    28    +13ms[  +14ms] +/-   73ms
^* ntp2.kashra-server.com        2   6   177    27  -1988us[-1672us] +/-   29ms

The chrony faqs says:

9.3. I just keep getting the '513 RTC driver not running' message
For the real time clock support to work, you need the following three things:
* a kernel that is supported (e.g. 2.2 onwards)
* enhanced RTC support compiled into the kernel
* an 'rtcfile' directive in your chrony.conf file.

which leads to the problem that chrony will fail to start.

Was this 'enhanced RTC support' removed from kernel?
How can I get it back?

Last edited by renegat (2013-11-11 20:49:48)

Offline

#2 2013-11-11 23:26:49

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: chrony does not do anything anymore

This doesn't answer your question whatsoever, but in the past I have tried to use chrony, and it was a real PITA.  So I went back to using ntpd, which is simple, works well, and seems to handle intermittent internet connections just fine.

Offline

#3 2013-11-12 03:12:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: chrony does not do anything anymore

Yep, same here, never could get chrony working right and went back to ntpd.

Offline

Board footer

Powered by FluxBB