Re: Re: [chrony-dev] Issue about chronyd synchronize to local clock |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: Re: [chrony-dev] Issue about chronyd synchronize to local clock
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 25 Jun 2020 16:36:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593095779; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cPuq1HVp0I/rdVkyD1hpz7fR2nesF5oA9z1XC/22DgE=; b=MlmpJZa16T2fVyfjOe4H6A2k4mFn8jNEJVeXgk/d4t1ZTRpeK4yhmY6beOzNa59GV7rEqO N2nWd1V5fmhSywF0UMLw7InaiR25BOiOdS2J4wGF5Mglkn5b2vtP+M9E12I7N5cmCiv9Oq ZlLq35TlmvsEmOeACX7cTJpqKShm3Fc=
On Thu, Jun 25, 2020 at 10:22:00PM +0800, xqmeng80@xxxxxxxxxxx wrote:
> My database application runs on this machine and the application can't work with 'NTP synchronization status no'。
> If I remove the line 'server 127.0.0.1 iburst', the NTP synchronization status is always no.
> By the way I check the ntp synchronization status with adjtimex mode 0.
An application requires accurate system clock, and you are trying to
force it to run even when the clock is not synchronized?
The 'local' directive is a server feature, not client's, so that won't
work. If you have installed adjtimex, you could use it to clear the
unsynchronized status periodically with "adjtimex -S 0 -m 0". No need
to run an NTP server/client.
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.