Translated message

A translation of this page exists in English.

chrony を使用してローカルクロックに同期する方法

Solution In Progress - Updated -

Issue

chrony がローカルクロックに同期しません。

ローカルサーバー 127.127.1.0 が /etc/chrony.conf に追加されます。

server 127.127.1.0
allow 127.0.0.0/8
local stratum 10

デーモンの起動後、ローカルサーバーと同期しました。'chronycsources' コマンドでは、以下が出力されます。

210 Number of sources = 1
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^* 127.127.1.0                  15   6   377    42  -4471ns[  -13us] +/-  204us

ただし、Can't synchronise: no selectable sources (同期できません: 選択可能なソースがありません) というエラーが /var/log/messages に表示され、ローカルサーバーが選択可能な NTP サーバーとして選択されなくなりました。

210 Number of sources = 1
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^? 127.127.1.0                  15   4     0   150  -6275ns[  -11us] +/-   80us

Environment

  • Red Hat Enterprise Server 7
  • chrony

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content