我正在尝试设置 chrony 服务器/客户端对。我的 chrony 版本是 2.4。
当我检查客户端的来源时,我发现服务器无法访问
chronyc sources -v
210 Number of sources = 1
.-- Source mode '^' = server, '=' = peer, '#' = local clock.
/ .- Source state '*' = current synced, '+' = combined , '-' = not combined,
| / '?' = unreachable, 'x' = time may be in error, '~' = time too variable.
|| .- xxxx [ yyyy ] +/- zzzz
|| Reachability register (octal) -. | xxxx = adjusted offset,
|| Log2(Polling interval) --. | | yyyy = measured offset,
|| \ | | zzzz = estimated error.
|| | | \
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^? 192.168.2.101 0 9 0 - +0ns[ +0ns] +/- 0ns
然而,查看 NTP 活动告诉我它在线。
chronyc activity
200 OK
1 sources online
0 sources offline
0 sources doing burst (return to online)
0 sources doing burst (return to offline)
0 sources with unknown address
这chronyc 文档说了以下内容
该报告显示了 5 种状态下的服务器和对等点的数量:
在线的
服务器或对等点当前处于在线状态(即 chronyd 假定可以访问)
离线
服务器或对等点当前处于离线状态(即,chronyd 认为无法访问,并且不会尝试从其进行任何测量。)
这让我觉得“无法联系”和“在线”是不兼容的状态。什么可能导致这种情况?