[chrony-users] Adding intentional offset with chronyd

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/