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
1
vote
1 answer

NTP traffic causes frequent ARP requests

I am running Ubuntu LTS 22.04 using Chrony as NTP server. I discovered that even with frequent NTP traffic between a NTP client and the NTP Server, the ARP requests are still being sent back and forth very frequently. By default, ARP cache expires…
RXS
  • 11
  • 1
1
vote
1 answer

Does chrony need driftfile to survive a reboot

I'm setting up chrony to run on a flash-based embedded system. Should I put the driftfile in a volatile filesystem (/tmp or /var/run) or one of our flash-based partitions? If I do the former then, obviously, the file will disappear on reboot, but…
kbro
  • 260
  • 1
  • 2
  • 12
1
vote
1 answer

chrony set UTC time than Local Time

I installed chrony as NTP server , but Chrony set UTC time/Date to NTP clients not My current system data/time ###############chrony.conf############## server ntp.day.ir iburst driftfile /var/lib/chrony/drift makestep 1.0 3 rtcsync allow…
1
vote
2 answers

NTP/Chrony not keeping time synchronized on CentOS 7.9 (VM running on VMware ESXi)

I have 3 servers running CentOS 7.9.2009 in a data center (VMware ESXi). These servers report that the time is not synchronized. I have a similar test environment running on an inhouse VMware ESXi server where the servers sync. the time Ok. The…
John Dalsgaard
  • 203
  • 3
  • 11
1
vote
1 answer

Ignore chrony source with obviously wrong time

I have a robot and am using timemaster to start chrony and add a PTP source from my GPS. When I start the robot inside where it can't get a satellite fix, the GPS claims it is January 5th, 1980. As a result, I get a stratum 0 source that is selected…
cmshowers
  • 41
  • 4
1
vote
0 answers

Is it possible to configure chrony to have different time sources with different priority?

Currently I have a number of Ubuntu 18.04 machines on a local network without internet access configured on chrony to refer to look up to one of them as the "master" as synchronize to it. What I would also like to achieve though is that if these…
Otter_warrior
  • 21
  • 1
  • 2
1
vote
1 answer

Synchronize clocks with chrony without internet access

I have no experience in this field but I have the task to synchronize a number of Ubuntu 18.04 machines on a local network not connected to the internet. I tried using chrony following the instructions found in this answer, but when I tried…
Otter_warrior
  • 21
  • 1
  • 2
1
vote
0 answers

chrony time server cannot synchronize with time servers from the internet

My chrony time server with the version: 3.5-6ubuntu6.2, can get the time from another internal time server but not from time servers on the Internet. Could you please help me to synchronize my chrony server with a time server from the internet? The…
tom
  • 29
  • 1
  • 1
  • 2
1
vote
0 answers

PPS Integration with chrony

I am trying to get chrony to ingest a PPS signal to compare against just an NTP server. The PPS signal is recognized when I do ppswatch and ppstest, but when I do chronyc sources, the LastRX field occasionally goes up to 20+ while the NTP server…
bchang32
  • 11
  • 1
0
votes
1 answer

Can a CentOS 8 chrony client synchronize with a CentOS 7 ntp server?

Can a CentOS 8 chrony client synchronize with a CentOS 7 ntp server? By ntp server, I mean it was configured through yum installing the ntp package and not the chrony package.
Levi Uzodike
  • 125
  • 6
0
votes
1 answer

chronyd on debian could not open IPv6 NTP socket

$ sudo journalctl -fu chrony -- Logs begin at Thu 2019-11-14 03:51:16 UTC. -- Nov 22 01:46:40 miranda-ntp-server-01 chronyd[5984]: Selected source 169.254.169.123 Nov 22 02:29:29 miranda-ntp-server-01 systemd[1]: Stopping chrony, an NTP…
Mzq
  • 123
  • 1
  • 2
  • 9
0
votes
1 answer

how configure chrony in orphan mode

I have two centos servers without internet i tried to enable orphan mode so they synch with each other but still time is not synchronized between them. Find below my settings and output of commands /etc/chrony.conf #server 0.centos.pool.ntp.org…
ImranRazaKhan
  • 150
  • 3
  • 15
0
votes
0 answers

Machines experience time offset despite chronyd service running

we have 3 machines in the cluster ( redhat 7.2 ) linux_machine1 linux_machine2 linux_machine3 the machines time are like this Sun Sep 1 13:54:20 UTC 2019 - linux_machine1 Sun Sep 1 13:34:15 UTC 2019 - linux_machine2 Sun Sep 1 13:53:35 UTC 2019…
shalom
  • 461
  • 13
  • 29
0
votes
1 answer

Problems with chronyd Centos 7 all updates applied

I have an email server running on top of CentOS7. This is a new server and has been in production for 2 days. It seems that chronyd is losing it's connection to the ntp servers that it contacts at pool.ntp.org. I have set up 0.pool through 3.pool in…
tgz
  • 3
  • 1
0
votes
1 answer

Query Network Client Date

Question: Is there a way to ping or query the date of a client linux computer for the purpose of verifying time synchronization? Setup: I have two computers on a network. One linux machine (machine A) is a chrony server that is synchronizing its…
aerotec88
  • 3
  • 3