Questions tagged [chrony]
25 questions
2
votes
0 answers
chrony - local stratum & orphan - when there's no Internet
Most chrony server configurations I've found so far are about commenting out and setting the allow directive.
I'd like several servers in my network to be synchronized to one of my 2 dedicated chrony NTP servers, even if there's no Internet, and…

pr0t
- 21
- 3
2
votes
1 answer
How to force chrony to sync NOW?
I run a DB cluster that needs to be in time. Sadly, sometimes my VM hoster is moving the VM with such DB node to another host and then the time is lacking a second or more. My DB node then shuts down and is restarted by systemd.
My systemd file…

Volker
- 428
- 4
- 15
2
votes
1 answer
Chrony sets system time but does not sync RTC
I have configured Chrony with rtcsync flag, which SHOULD "Enable kernel synchronization of the hardware real-time clock (RTC)", but that is not the case.
Chrony sets the system time correctly with ntp, but the RTC is untouched, and i can't seem to…

Varyag
- 676
- 12
- 29
1
vote
1 answer
chrony: Find the most recent sync time
I am trying to find out the most recent time chrony checked to see if we are in sync. I can see chrony's sources with the following command:
~]$ chronyc sources
210 Number of sources = 3
MS Name/IP address Stratum Poll Reach LastRx Last…

Aristos Athens
- 79
- 1
- 7
1
vote
0 answers
Why everytime I need to restart chrony service in server machine to sync time to client machine?
Let say I need to sync time between 10.201.x.x' (NTP server) and 10.203.y.y' (NTP client).
Everytime, I need to restart service on server machine to sync correct time.
2022-01-19T15:01:51Z chronyd version 3.5 starting (+CMDMON +NTP +REFCLOCK +RTC…

uninterested_coder_
- 21
- 1
1
vote
1 answer
Time is not getting synchronized in Chrony setup
I have set up a local network chrony configuration between two nodes running SLES15 SP2. These nodes are internally connected but do not have external connectivity, I want both nodes to always have same time. I found that 2nd node is not…

Smash
- 839
- 1
- 9
- 10
1
vote
3 answers
NTP Configuration without Internet
I am trying to setup a local NTP Server without Internet Connection.
Below is my ntp.conf on Server
# Server
server 127.127.1.0
fudge 127.127.1.0 stratum 5
broadcast 10.108.190.255
Below is my ntp.conf on Clients
# Clients
server…

anukalp
- 2,780
- 5
- 15
- 24
0
votes
1 answer
Interact with Chrony using Unix Sockets in Python
I have a python application where I need to be able to dynamically add an NTP server to Chrony. From the command line I can do:
sudo chronyc add server time.google.com
My understanding is that chronyc interacts with /var/run/chrony/chronyd.sock to…

proximous
- 617
- 1
- 10
- 28
0
votes
0 answers
Why is the frequency ppm different between machines when using chrony to sync system clock?
I'm a newer to Linux, and I met a problem when using chrony to synchronize the system clock. There is a machine A and it's a ntp server, and I want machine B and machine C to sync time to A. The configuration file in machine B and machine C…

notrainy
- 1
0
votes
0 answers
How to interpret certain header fields in chrony's statistics and tracking log files?
When generating the statistics and tracking logs from chrony, I see the following headers (along with the accompanying data):
Tracking:
=== Date (UTC), Time, IP Address, St, Freq ppm, Skew ppm, Offset, L, Co, Offset sd, Rem. corr.,…

alemonade
- 1
- 1
0
votes
0 answers
U-blox GNSS, what NMEA messages to enable just for time sync on linux?
I'm recording raw output from an M8T on an SBC without an RTC, and would like to use GNSS for time sync.
Chrony won't use the GNSS unless I enable NEMA messages, but I don't know what are the minimum required to get a time sync.
I want to keep the…

is_this_taken
- 311
- 1
- 3
- 8
0
votes
1 answer
RHEL: 10.6.5. Checking if chrony is synchronized - selected sources does not match chronyd selected sources
I need clarification on these synchronizing results,
[root@rockyidm1a etc]# systemctl status chronyd
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
Active:…

VcDeveloper
- 393
- 4
- 12
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 time…

Gaurav Kumar
- 349
- 1
- 2
- 13
0
votes
1 answer
Solaris: Equivalent command for chronyc sources and chronyc tracking
As per title I want to check output of the equivalent command but on a Solaris 11 box.
Is there a similar command?

Ray
- 615
- 7
- 22
0
votes
0 answers
What will be reason for GPS not getting selected in Chrony?
I'm trying to get the precise time using PPS from the GPS module using the chrony. But every time I'm getting '#-' before the Gps as shown below
MS Name/IP address Stratum Poll Reach LastRx Last sample …

Omkar Dixit
- 71
- 1
- 7