Questions tagged [chrony]
a pair of programs which are used to maintain the accuracy of the system clock on a computer.
55
questions
0
votes
1
answer
22
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 ...
0
votes
1
answer
54
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 ...
0
votes
1
answer
42
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 ...
1
vote
1
answer
29
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, ...
0
votes
0
answers
85
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 ...
1
vote
2
answers
119
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 ...
2
votes
1
answer
410
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 ...
0
votes
1
answer
790
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/...
0
votes
2
answers
3k
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 ...
0
votes
0
answers
176
views
Chrony doesn't rotate logs after logrotate
I have the following logrotate configuration:
/var/log/chrony/*.log {
daily
missingok
nocreate
maxage 5
sharedscripts
postrotate
/usr/bin/chronyc -a cyclelogs > /...
0
votes
1
answer
332
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 ...
0
votes
1
answer
196
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 ...
1
vote
0
answers
30
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.
...
1
vote
0
answers
939
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 ...
1
vote
0
answers
3k
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, ...
3
votes
1
answer
718
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 ...
0
votes
1
answer
339
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....
0
votes
0
answers
743
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/...
1
vote
0
answers
329
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 ...
1
vote
1
answer
11k
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 ...
-1
votes
1
answer
326
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 ...
0
votes
1
answer
667
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 ...
1
vote
0
answers
408
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 ...
2
votes
1
answer
481
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 ...
3
votes
1
answer
10k
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
...
0
votes
2
answers
808
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 ...
0
votes
0
answers
167
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 ...
0
votes
1
answer
819
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....
0
votes
1
answer
58
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.
0
votes
1
answer
4k
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 ...
2
votes
1
answer
2k
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/...
0
votes
1
answer
717
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
/...
1
vote
1
answer
4k
views
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 ...
0
votes
0
answers
134
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 ...
0
votes
1
answer
218
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 ...
0
votes
1
answer
192
views
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 ...
2
votes
2
answers
5k
views
chrony does not log anything on my ec2 instance
i am trying to gather statistics from the chrony daemon on my EC 2 (Ubuntu 18.04.2 LTS) instance.
i have followed aws's guide on how to set it up and it runs as expected.
i need to compare the time ...
0
votes
1
answer
34
views
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)...
5
votes
2
answers
3k
views
Verify internal NTP server is sending the correct time?
I have two NTP stratum 3 servers running and wanted to create a simple check that I could tell if either of the servers time drifted and alert that it's not synced properly with the public stratum 2 ...
2
votes
2
answers
895
views
Decentralized NTP in network with only sporadic internet connectivity?
I have a (most of the time) isolated network consisting of several computers.
computer 0 -- external NTP server
/
switch -- computer 1 -- external NTP server
\
...
8
votes
1
answer
51k
views
Force chrony time check
Context:
Centos 7.0
chronyc (chrony) version 3.1 (+READLINE +IPV6 +DEBUG)
Issue
I want to find a way to force chronyd to change the hardware clock
instantly without waiting.
The program chronyd is ...
0
votes
2
answers
10k
views
How do I tell if chronyd is actually self-synchronising correctly?
I'm working on some devices where I want them to self-synchronise while their network connection is down (i.e. use chrony's calculations of drift rates to compensate for system clock drift), and then ...
0
votes
1
answer
354
views
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 ...
0
votes
1
answer
97
views
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 ...
2
votes
0
answers
776
views
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 ...
1
vote
0
answers
884
views
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 ...
2
votes
1
answer
3k
views
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 ...
3
votes
1
answer
2k
views
ntpd synchronizes but chronyd fails
I am setting up a time server with chronyd but it fails to sync.
# chronyc sources
210 Number of sources = 5
MS Name/IP address Stratum Poll Reach LastRx Last sample
==========================...
1
vote
1
answer
5k
views
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
...
5
votes
3
answers
21k
views
Chrony time synchronization on huge time diff
hello currently i have a localy ntp server (chrony) and a ntp client (chrony), all are working but when i try to change ntp server time to say minus 6 years from current time. ntp client cannot sync ...