Re: 答复: [chrony-users] ntptime returned error 5

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


On Wed, Jan 03, 2024 at 07:51:13AM +0000, chengyechun wrote:
> Thank you for your reply.
> After the chrony functions as the client, the ntptime still fails in some environments. The possible causes are as follows:
> Client configuration:
> server 192.168.2.159 key 1 iburst
> driftfile /var/lib/chrony/drift
> logdir /var/log/chrony
> allow all
> log measurements statistics tracking rtc refclocks tempcomp
> keyfile /etc/chrony.keys
> commandkey 1
> bindaddress 192.168.2.206
> bindaddress ::1

You need the rtcsync directive for chronyd to mark the system clock as
synchronized (which enables the kernel RTC 11-minute mode).

-- 
Miroslav Lichvar


-- 
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/