Re: 答复: [chrony-users] ntptime returned error 5 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: 答复: [chrony-users] ntptime returned error 5
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 3 Jan 2024 11:09:31 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704276572; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BJRrWwR1181v6k3K0af95sbiW1pjZQiQtKzd577Se8Q=; b=KGbycg2thszNB+rN2sIBSevt6g5HEhNnasAa6kaxIW6chPUrXBoSB2DLynnQmdUR8rEKaE MApH5x50SSyjbTU8a2xiXDMij8pqWhEPteH7K5YIZh1Pv/QIUnbfdC2pq6GPg42HvJzHYH oQljx5vPJQVbAHaRkeMpB5iEpAhAyK4=
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.