Re: 答复 : ntptime returned error 5

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZZUyW16p3vTq33x6@localhost>
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.