Questions tagged [chrony]

25 questions
0
votes
1 answer

Why chronyc makestep does not synchronize time instantly?

On a CentOs 7 machine, I have a service that modifies the timezone and just after that it makes a request to S3 to download some binaries. In fact, the request fails with the well known error message: S3 Error: The difference between the request…
0
votes
1 answer

chrony with gpsd and pps

On my PC I want to feed chrony from GPS. For this, I installed gpsd and pps-tools. I have a GPS connected to the serial port /dev/ttyS0 and the PPS is connected to the DCD input. Apparently, the PPS pulses are received correctly: $ sudo ppscheck…
T. Pluess
  • 165
  • 1
  • 12
0
votes
0 answers

NTP on a Google Cloud Debian 10 VM (Time goes out of sync)

In one of my Debian VM (Debian GNU/Linux 10 (buster)), I see that the time sync service has some issues. The machine clock falls behind the standard time by a couple of minutes every now & then. The local timezone of the machine is set to IST. I…
Pritesh Mhatre
  • 3,847
  • 2
  • 23
  • 27
0
votes
2 answers

run script when chrony steps clock

I need to start a certain service after system clock was correctly stepped by crony. System time is maintained by chrony (chronyd (chrony) version 3.5 (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SIGND +ASYNCDNS -SECHASH +IPV6 -DEBUG)). Chrony…
ZioByte
  • 2,690
  • 1
  • 32
  • 68
0
votes
1 answer

Enabling tempcomp in Chrony

I'm working on a Raspberry Pi running Buster with an Adafruit Ultimate GPS hat. I'm trying to get Chrony to temperature compensate. I've modified the chrony.conf file to contain. # Uncomment the following line to turn logging on. log measurements…
0
votes
1 answer

Why is faketime command skipping section of code

I have a cpp code that I'm trying to run with faketime command. I'm running it on two identical computers. They're both running RHEL 7. I noticed that when I run my code, on one computer, it totally skips my popen call. My code is essentially char…
bchang32
  • 27
  • 3
0
votes
0 answers

How to fix "Another chronyd may already be running" in Ansible playbooks

In the past, I was using this command in my Ansible playbooks: ntpdate pool.ntp.org And it worked. But now, on Centos 8 ntpdate is no longer supported and chrony is used. However, the equivalent command chronyd -q 'server pool.ntp.org…
Jacobian
  • 10,122
  • 29
  • 128
  • 221
-1
votes
1 answer

How to install chrony on redhat 8 minimal

Im using keycloak docker image and need to synchronize time with chrony. however I cannot install chrony, because its not in repository i assume. I use image from https://hub.docker.com/r/jboss/keycloak ist based on…
Peter Andreus
  • 84
  • 1
  • 8
-1
votes
1 answer

RHEL Chrony no output

I am trying to run chrony in my RHEL system. I got ntpd working, but I want higher resolution/accuracy. I have been following these steps https://www.tecmint.com/install-chrony-in-centos-ubuntu-linux/. I've successfully edited the conf file as well…
bchang32
  • 27
  • 3
-1
votes
1 answer

Cent OS 7 NTP Client not syncing via IP address of the NTP server

I'm trying to update the time of my Cent OS machine by trying to sync it with the NTP server via IP address. This updates the pool on the machine but does not sync the time. I've tried this using both the ntpd and chrony service and changing their…
1
2