0

我在 CentOS 6.9 服务器上运行 ntpd,并且我的 ntpd 配置之前一直在正常工作。通常,这需要一点时间,但一段时间后它会与更高层的服务器同步。

但是,在我昨晚执行内核更新后,服务器拒绝连接到其中任何一个。它仍然将除本地对等方之外的所有内容显示为第 16 层。

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 69.164.198.192  .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 198.55.111.50   .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 216.218.254.202 .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 162.210.111.4   .INIT.          16 u    - 1024    0    0.000    0.000   0.000

我在配置中使用以下服务器。

server 0.north-america.pool.ntp.org
server 1.north-america.pool.ntp.org
server 2.north-america.pool.ntp.org
server 3.north-america.pool.ntp.org

ntpd 使用这些参数进行配置。

restrict default noquery notrust nomodify notrap

我尝试停止 ntpd,执行 ntpdate -s/-u 然后再次启动 ntpd。它似乎在我运行 ntpdate 时调整时钟,但拒绝通过服务同步。一切都无限期地保留在第 16 层。

4

1 回答 1

0

问题是由于对等服务器配置造成的。删除它允许它与上游服务器同步。

于 2018-02-09T20:10:30.757 回答