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
0
votes
1 answer

How Does Chronyd Slow Down/Speed up Clock?

I am reading this: https://chrony.tuxfamily.org/manual.html#makestep-command It mentions, "Normally chronyd will cause the system to gradually correct any time offset, by slowing down or speeding up the clock as required". Most of the Linux…
Hei
  • 175
  • 1
  • 1
  • 6
0
votes
1 answer

Synch Clock Per Request

I am using CentOS 7.4, and NTP is replaced by Chrony. I just wonder whether Chrony has something similar to ntpdate, which can be used to synch clock per request (from command line, etc)? Thanks in advance.
Hei
  • 175
  • 1
  • 1
  • 6
0
votes
1 answer

Is chronyc preventing big jumps by itself?

I just realized that Windows server time (w32t service) has two default values limiting how much the offset of the time is allowed to be in negative and positive values. This value is huge by default and this allows for big time jumps if you dont…
Stephan Møller
  • 113
  • 1
  • 7
0
votes
1 answer

How to interpret small poll, large lastRx and maximum reach value in `chronyc sources` report?

I'm monitoring a chrony client using chronyc sources called every second. This command reports several values including Poll - This shows the rate at which the source is being polled, as a base-2 logarithm of the interval in seconds. Thus, a value…
Cecilia
  • 405
  • 4
  • 8
0
votes
0 answers

How to delete chrony server from client side without restart service

I am trying to setup chrony client server on local and try to add chrony server and delete on the fly I am able to add without needing to restart chrony using this command 'chronyc add server iburst prefer' and i can check chronyc tracking show…
Gaurav Kumar
  • 101
  • 1
0
votes
1 answer

systemd-timedated.service: Failed to determine whether NTP is enabled: Link has been severed

Encountering this issue with RHEL 7.9 (Maipo). One server in particular is having issues with timedatectl, systemd-timedated.service, and chrony. If we run timedatectl $ timedatectl Failed to query server: Connection timed out Further, if we…
bpaterni
  • 121
  • 1
  • 3
0
votes
2 answers

chrony on AlmaLinux 8.6 using unspecified servers [SOLVED]

So I have two (virtual) servers running a fully updated AlmaLinux 8.6. I noticed that regardless of what I put for 'server' or 'pool' entries, chrony seems to insist on also using any DNS servers. I hadn't noticed this before, since my 2 win 2019…
0
votes
0 answers

Chrony seems to be synchronized, but kernel keeps unsynchronized flag for the system clock

I have a chrony service (version 3.4-4+deb10u2 - Debian 10) that seems to be running correctly: chronyc tracking Reference ID : A29FC801 (time.cloudflare.com) Stratum : 4 Ref time (UTC) : Mon Sep 12 16:56:00 2022 System time :…
Tombart
  • 2,143
  • 3
  • 27
  • 48
0
votes
1 answer

Chrony Configuration to Accept Radio Time Signals

Is there a way to have Chrony accept an externally generated clock pulse ? For example, I want to use the Canadian radio time source CHU to provide ticks on the second. Assume that I have the required hardware to receive the signal and have a fast C…
wbg
  • 103
  • 4
0
votes
1 answer

What does 0.0.0.0/0 mean?

For example in an 'allow' statement in BIND or in Chrony config files. Does allow 0.0.0.0/0 mean allowing any clients or allowing no clients? My question isn't about the specific programs, but just generally what is the correct interpretation of…
madacoda
  • 215
  • 1
  • 9
0
votes
0 answers

firewalld: outgoing NTP connection will be logged as blocked, but isn't blocked

I have configure firewalld on CentOS7 so it blockes all outgoing connections. Only the needed connections are white listed by adding some rules. Also I have add rules to enable logging of blocked connections (outgoing direction). The current…
Steffen
  • 989
  • 3
  • 13
  • 31
0
votes
1 answer

Chrony allow only 2 IP clients

OS: Debian 10.4 Chrony: 3.1 I search how declare 2 IP ADD on /etc/etc/chrony.conf in "allow" option: ';' ',' with: " ' Example: allow "192.168.1.1,192.168.1.2" But this say: Fatal error: Could not parse allow directive...
CH06
  • 13
  • 1
  • 5
0
votes
1 answer

chrony startup marks all sources as falseticker

I start chronyd (3.4) with 4 initial servers, 2 remote (from a pool) and 2 local hosts on the same subnet, for example: initstepslew 1 0.xxx.pool.ntp.org 1.xxx.pool.ntp.org 192.168.63.114 192.168.63.121 makestep 1 3 It may be that the system is not…
awy
  • 61
  • 5
0
votes
1 answer

Chronyd inside LXC conatiner

It seems like chronyd doesn't work in lxc containers. The containers running are not unprivileged. Following is showing up with systemd: ● chronyd.service - NTP client/server Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled;…
Lorem ipsum
  • 892
  • 5
  • 15
0
votes
1 answer

Programmatically detect Chrony time sync events

I am working on a sensor system, which runs on an embedded Linux platform and doesn't have access to the internet. An external GPS time server device is connected to provide time synchronization using the chrony daemon. My c++ application reads…