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
0answers
6 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
0answers
37 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 ...
0
votes
0answers
241 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, ...
0
votes
1answer
132 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
0answers
29 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
0answers
134 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/...
0
votes
0answers
41 views

chronyd :: unreachable facebook and cloudflare time endpoints

So, i can rule out remote connectivity problems (as i have icmp) but using time4.facebook.com and time.cloudflare.com i get this chronyc sources 210 Number of sources = 3 MS Name/IP address ...
0
votes
0answers
71 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
1answer
2k 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
1answer
89 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
1answer
255 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
0answers
182 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
1answer
159 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 ...
2
votes
1answer
3k 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
2answers
385 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
0answers
56 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
1answer
438 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
1answer
42 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
1answer
2k 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
1answer
910 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
1answer
400 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 /...
0
votes
1answer
1k 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
0answers
78 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
1answer
164 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
1answer
151 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
2answers
3k 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
1answer
28 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
2answers
2k 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
2answers
730 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 \ ...
6
votes
1answer
34k 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
2answers
7k 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
1answer
257 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
1answer
74 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
0answers
704 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
0answers
733 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
1answer
2k 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
1answer
1k 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
1answer
4k 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 ...
4
votes
3answers
13k 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 ...
1
vote
2answers
1k views

CentOS, Chrony, and AWS Ports

I'm wondering how to properly configure AWS security to allow chrony to sync system time on a CentOS 7 instance. I was running an earlier version of CentOS 7, which used chrony 1.29.1, and it worked ...
1
vote
2answers
6k views

Is there a way to determine how often Chrony is querying NTP servers to sync time?

Is there any way to tell how often Chrony is querying NTP servers? If the answer is that it uses some algorithm based on how much the server has been out of sync in the past, is there some ...
4
votes
2answers
26k views

Chrony doesn't appear to be syncing with the servers I've specified

I have set Chrony to sync with 4 NTP servers (config file below). When I run chronyc tracking and chronyc sources, it looks like the servers my machine is connecting to for NTP are not correct. I'd ...
12
votes
3answers
11k views

Synchronize clock with NTP while online, and with RTC while offline?

Is there a existing mechanism that synchronizes a linux system with NTP while online, and with a predictably drifting RTC while offline? We operate remote "collectors": embedded Linux ...
2
votes
1answer
4k views

Real-time clock is wrong (from hours to years), one-time non-monotonic change at boot needed. Can Chrony solve this?

I can't guarantee a sane real-time clock on some machines (the time might be wrong by hours, months or even years). Since I also have intermittent networking, I set up Chrony in the hopes it could fix ...