[chrony-users] Adding intentional offset with chronyd |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] Adding intentional offset with chronyd
- From: John Munoz <me@xxxxxxxxxxxxx>
- Date: Sun, 19 Jul 2020 21:53:35 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnmunoz.net; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=Owka6xr8H99bPC1Exojlqi7EaJwN4kaN44bzMBQe/kc=; b=gj4y2gwmHFL6Xzf24Ik9WdeFy1p3MDrghv5DbilLosqJSIEDEyxkSrKI8GiDMfnNgQ Aoe2aLv+cPpf7EWW2StAaCdLL8I0WxlwEh9uGKIBZ5y/6sTkFma2UetCIjk/stwKbzq5 ajXjNT4Iv8scN7SS11zh4UZTnQoj1SqTqpDkVVgvLaUEsBfR/eZ1M+s56uKzRjHhjTE+ oKquW9ZC+rS57k4xiGH+5m7RkSVxdMn1iiehbIfzMF2Y9BLR1TUVxsGTTKTirlKlJDMu 9NnRQqyGzXjC2U7vn89sEHFiwD2HqvkmnsQ7UcXBU7q70YY/UWGWDFeIjMYF9m6DE/OJ ELXw==
I’m trying to use chronyd in a broadcast environment and need to setup an NTP server that is 40 seconds ahead of realtime.
I tried editing /etc/chrony.conf and adding
offset 40.0
But when I went to relaunch I got an error on the line I added.
Jul 19 11:54:40 systemd[1]: Stopped NTP client/server.
Jul 19 11:54:40 systemd[1]: Starting NTP client/server...
Jul 19 11:54:40 chronyd[52990]: Invalid command at line 42 in file /etc/chrony.conf
Jul 19 11:54:40 systemd[1]: chronyd.service: Control process exited, code=exited status=1
Jul 19 11:54:40 systemd[1]: chronyd.service: Failed with result 'exit-code'.
Jul 19 11:54:40 systemd[1]: Failed to start NTP client/server.
I read somewhere that the offset command only works in new versions but I couldn’t find a command to tell me what version I’m running and yum update chrony returns “nothing to do”
Is what I’m trying to accomplish even possible? I can’t figure out what I’m doing wrong.
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.