Questions tagged [chrony]

a pair of programs which are used to maintain the accuracy of the system clock on a computer.

chrony is a pair of programs which are used to maintain the accuracy of the system clock on a computer. The two programs are called chronyd and chronyc.

chronyd is a daemon which runs in background on the system. It obtains measurements via the network of the system clock’s offset relative to time servers on other systems and adjusts the system time accordingly. For isolated systems, the user can periodically enter the correct time by hand (using chronyc). In either case, chronyd determines the rate at which the computer gains or loses time, and compensates for this. chronyd implements the NTP protocol and can act as either a client or a server.

chronyc provides a user interface to chronyd for monitoring its performance and configuring various settings. It can do so while running on the same computer as the chronyd instance it is controlling or a different computer.

64 questions
2
votes
0 answers

Chrony reporting system time slower than NTP and growing

I have chrony running on several of my instances. Unfortuantely, on one of them, it keeps reporting that the system time is slower than NTP time. This number of seconds keeps growing at a rate of about 10 seconds per minute. Here is one…
checklist
  • 121
  • 2
2
votes
1 answer

Chrony synchronization

After I configured chrony service on my CentOS 7.3 to point to the active directory, it shows below > chronyc sources 210 Number of sources = 1 MS Name/IP address Stratum Poll Reach LastRx Last…
Lan
  • 121
  • 1
  • 3
2
votes
2 answers

Is there a way to determine how often Chrony is querying NTP servers to sync time?

Is there any way to tell how often Chrony is querying NTP servers? If the answer is that it uses some algorithm based on how much the server has been out of sync in the past, is there some documentation on how that algorithm works? Is there a way…
Chris Williams
  • 265
  • 2
  • 5
  • 14
2
votes
1 answer

Real-time clock is wrong (from hours to years), one-time non-monotonic change at boot needed. Can Chrony solve this?

I can't guarantee a sane real-time clock on some machines (the time might be wrong by hours, months or even years). Since I also have intermittent networking, I set up Chrony in the hopes it could fix the issue. But it seems that Chrony wants to…
darque
  • 123
  • 1
  • 3
2
votes
1 answer

Why is chrony reporting low offset when my system times are so far apart?

I have two networked voxls which I am trying to synchronize using chrony. The voxls boot up with vastly different system times, like years apart. I would expect chrony to synchronize the times when the service starts using makestep, but after…
Cecilia
  • 405
  • 4
  • 8
2
votes
0 answers

Chrony doesn´t start in Proxmox container

I have created a container with Debian (Debian 11 template) on top of Proxmox 7.0.8. It is essential that the operating system keep the time synchronized and for this I installed chrony, but it does not start. journalct -xe dump: root@pamiweb:~#…
Francisco
  • 129
  • 6
2
votes
2 answers

chrony: hosting time with RTC as authoritative clock on an air-gapped (isolated) system

I have an isolated and air-gapped LAN that I want to synchronise. I have one host that will be the authoritative time server for all clients on the LAN. It's not important that the LAN time reflects real time, but it is important that all the…
davidA
  • 383
  • 3
  • 12
2
votes
0 answers

CentOS 8 NTP: Chrony will not Sync with sources, timedatectl showing no sync but NTP active

I have been battling with Chrony for the last few hours and cannot seem to figure out what I'm doing wrong. I found that my system time was set to 2015 when trying to activate Epel-release in DNF, some certificate errors lead me to trying to resolve…
Ryan Smith
  • 43
  • 2
  • 8
2
votes
1 answer

chrony time server not synchronised

My chrony time server can get the time from another internal time server but not from time servers on the Internet: chronyc sources 210 Number of sources = 9 MS Name/IP address Stratum Poll Reach LastRx Last…
tom
  • 29
  • 1
  • 1
  • 2
2
votes
1 answer

Chrony stepping instead of slewing clock

I have a bunch of RHEL 6.8 - 7.4 Azure VMs for which the system clocks are out of sync (up to 300s slow). I'm installing Chrony on them but rather than slewing the clock to the correct time it is stepping it. I have commented out the makestep…
1
vote
1 answer

Why is the /var/log/chrony folder empty?

we are using chrony in order to sync our servers to ntp servers ( redhat 7.2 ) we configured the logdir /var/log/chrony in chrony.conf and restart the chrony ( systemctl restart chronyd ) , but still folder - /var/log/chrony is empty without…
shalom
  • 461
  • 13
  • 29
1
vote
1 answer

Linux centos 7.6 chronyc synchronizing

I have a server where a lot of time chronyd isn't able to sync the system clock leading at a situation like that : Reference ID : 0A263C14 (10.38.60.20) Stratum : 4 Ref time (UTC) : Tue Jun 04 12:20:09 2019 System time :…
thomas
  • 13
  • 2
1
vote
0 answers

How to configure ntp server and chrony client for time sync over link-local IPv6

I have two computers connected with an Ethernet cable. The first computer, let's call it the "master" is also connected to the Internet via a wireless network. It's running ntp and getting its time from 0.ubuntu.pool.ntp.org, etc. The second…
1
vote
1 answer

chrony and gpsd: socket or PPS connection

I've try to get high precision time from gps receiver GlobalSat BU-353s4 (/dev/ttyUSB0) through gpsd in Raspberry PI with ArchLinux. /etc/chrony.conf contains: refclock SHM 0 delay 0.5 refid NEMA refclock SHM 1 offset 0.0 delay 0.1 refid…
Stanislav Ivanov
  • 383
  • 1
  • 3
  • 10
1
vote
2 answers

CentOS, Chrony, and AWS Ports

I'm wondering how to properly configure AWS security to allow chrony to sync system time on a CentOS 7 instance. I was running an earlier version of CentOS 7, which used chrony 1.29.1, and it worked with the below settings. Instance Security Group:…