Skip to main content

Questions tagged [chrony]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

After upgrading to Debian bookworm - chronyd Fatal error : Not superuser

I get the following error messages when I try to start Chrony: Sep 04 10:49:10 production systemd[1]: Starting chrony.service - chrony, an NTP client/server... Sep 04 10:49:10 production chronyd[38659]...
manifestor's user avatar
  • 6,529
1 vote
1 answer
63 views

NTS failing to synchronize

I have an embedded Linux device behind a cellular modem. If I add time.cloudflare.com nts iburst to my chrony courses I never see a successful measurement. However, if I add time.cloudflare.com as a ...
Nick's user avatar
  • 111
0 votes
0 answers
343 views

timedatectl shows "NTP synchronized: no" even though chrony seems synced

I am trying to use the timedatectl status to determine if the time is synced or not across several hundred devices. Most use ntpd, but I switched a few to chrony because of issues with ntpd, and ...
jmilloy's user avatar
  • 233
0 votes
0 answers
95 views

Receiving Kiss of Deaths with chrony

basically I think the issue is that my company NTP server has a Stratum of 5 and it might be laggy at times - but it's maintained by other team so I don't have much info about it. Now I have tested ...
aurelius's user avatar
  • 174
0 votes
0 answers
37 views

mteTrigger snmpTrap not getting fired when NTP is down

I'm trying to generate DISMAN EVENT whenever NTP is down by extending snmp. Have written shell script to extend mib. Using NTPv4-MIB https://datatracker.ietf.org/doc/html/rfc5907. In the custom pass-...
Vijay S B's user avatar
  • 203
0 votes
0 answers
273 views

How it is possible to run two separate chrony instances (on a same pc): one client and one server

All ntp servers and clients are implemented using chrony on RHEL 8.2. NTP client [200.100.1.3] has no access to [NTP server 200.100.1.1]. NTP client [200.100.1.2] has to get time information from NTP ...
Vinod's user avatar
  • 111
1 vote
1 answer
591 views

Chrony sync time ignoring maxpoll

I have a Rocky Linux 9.2 server. We monitor it via check_mk and regularly get a warning that last time since sync can exceed 1 hour. Note how in the sources below the mansfield.id.au source is at 64 ...
Jah Crow's user avatar
0 votes
0 answers
591 views

NTP symmetric key authentication to chrony servers

Pretty simple question (I think), but in reading chrony's own docs and perusing through RedHat's docs, I can't find a firm answer. Probably because it's too dumb of a question to need an answer :P If ...
user avatar
0 votes
1 answer
238 views

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 ...
Stephan Møller's user avatar
25 votes
10 answers
8k views

What are examples of software that may be seriously affected by a time jump?

The chrony documentation warns BE WARNED: Certain software will be seriously affected by such jumps in the system time. (That is the reason why chronyd uses slewing normally.) Documentation But the ...
Cecilia's user avatar
  • 415
0 votes
1 answer
2k views

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 ...
Cecilia's user avatar
  • 415
2 votes
1 answer
2k views

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 ...
Cecilia's user avatar
  • 415
2 votes
1 answer
2k views

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 ...
Francisco's user avatar
  • 141
4 votes
0 answers
608 views

How can my server be both "unreachable" and "online"?

I'm trying to set up a chrony server/client pair. My chrony version is 2.4. When I check the sources on the client side, I see that the server is unreachable chronyc sources -v 210 Number of sources = ...
Cecilia's user avatar
  • 415
0 votes
1 answer
864 views

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 ...
bpaterni's user avatar
  • 121
0 votes
2 answers
207 views

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 ...
Dan Swartzendruber's user avatar
0 votes
1 answer
116 views

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 ...
wbg's user avatar
  • 103
1 vote
1 answer
299 views

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 ...
RXS's user avatar
  • 11
0 votes
1 answer
479 views

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 ...
madacoda's user avatar
  • 233
1 vote
1 answer
1k views

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, ...
kbro's user avatar
  • 290
0 votes
0 answers
780 views

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 ...
Steffen's user avatar
  • 1,039
2 votes
2 answers
3k views

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 ...
davidA's user avatar
  • 393
3 votes
1 answer
7k views

Chronyc equivalent for ntpdate -q

According to ntpdate and chronyd man pages In ntpdate -q : Query only - don't set the clock. chronyd -q : When run in this mode, chronyd will set the system clock once and exit. It will not detach ...
Dexpras's user avatar
  • 133
1 vote
1 answer
9k views

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/...
Ehsan Ghasisin's user avatar
2 votes
2 answers
17k views

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 ...
John Dalsgaard's user avatar
1 vote
1 answer
1k views

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 ...
cmshowers's user avatar
0 votes
1 answer
2k views

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 ...
CH06's user avatar
  • 13
1 vote
0 answers
332 views

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. ...
Otter_warrior's user avatar
1 vote
1 answer
6k views

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 ...
Otter_warrior's user avatar
3 votes
0 answers
11k views

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, ...
Ryan Smith's user avatar
3 votes
1 answer
3k views

The "least bad" settings for Chrony as the NTP server on a virtual machine

I'm tasked with rebuilding a LAN server that's serving as the NTP server for hundreds of client machines. Unfortunately, it's on a virtual machine, and as demonstrated by questions like What are the ...
JK Laiho's user avatar
  • 207
0 votes
1 answer
2k views

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....
awy's user avatar
  • 61
0 votes
1 answer
3k views

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/...
Lukas Räpple's user avatar
1 vote
0 answers
1k views

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 ...
tom's user avatar
  • 49
4 votes
1 answer
56k views

chrony time server not synchronised [closed]

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 ...
tom's user avatar
  • 49
-1 votes
1 answer
1k views

chrony time synchronization problems

We have a cluster where exact time synchronization is very important. We use Ubuntu 20.04 servers and and chrony. Unfortunately there are always problems with time synchronization. No other known time ...
tom's user avatar
  • 49
0 votes
1 answer
2k views

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 ...
user601693's user avatar
1 vote
0 answers
817 views

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 ...
bchang32's user avatar
2 votes
1 answer
2k views

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 ...
user2399020's user avatar
7 votes
1 answer
28k views

"system clock synchronized: no", flip it to yes

# timedatectl outputs Local time: Tue 2020-10-06 13:35:31 PDT Universal time: Tue 2020-10-06 20:35:31 UTC RTC time: Tue 2020-10-06 20:35:30 ...
Katerl3s's user avatar
  • 173
0 votes
2 answers
2k views

Can I use both pool and server configurations in ntp?

For a ntp demon, what happens if I have this configuation in ntp.conf: pool 0.pool.ntp.org burst iburst minpoll 4 server europe.pool.ntp.org ? How will ntp be configured? I don't know there to be ...
user1828163's user avatar
0 votes
0 answers
502 views

How can I sync external servers to point to an AWS ec2 server running aws time sync chrony

I have setup an EC2 to use the time sync and want to use it as an 'NTP' server. I have setup the security group to allow all traffic in on 80,443, and 123 for now to test the configuration. It's in a ...
Hau Vong's user avatar
0 votes
1 answer
2k views

Chrony "root dispersion" keeps rising steadly over time, despite accurate time sync

I have a Debian 10 system that uses chronyd to keep its clock in sync. The config is pretty simple: pool 2.debian.pool.ntp.org offline iburst bindaddress ::1 bindaddress 127.0.0.1 bindcmdaddress 127....
growse's user avatar
  • 8,080
0 votes
1 answer
119 views

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's user avatar
0 votes
1 answer
10k views

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 ...
Mzq's user avatar
  • 123
2 votes
1 answer
4k views

gpsd.socket for chrony does not work

I tried to get more accurate time from gps data using ublox module and centos but it seems gpsd.sock does not work properly to get the data to chrony. am I missing somthing ? [root@info /]# cat /etc/...
Bell-guest's user avatar
0 votes
1 answer
2k views

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 /...
ImranRazaKhan's user avatar
3 votes
1 answer
15k views

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

We are using chrony in order to sync our Red Hat (7.2) servers with NTP servers. In order to do so, we've configured the logdir /var/log/chrony in chrony.conf and restarted the chrony via systemctl ...
shalom's user avatar
  • 511
0 votes
0 answers
559 views

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 ...
shalom's user avatar
  • 511
0 votes
1 answer
269 views

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 ...
tgz's user avatar
  • 3