【问题标题】:ntpd refuses to sync with upstream serversntpd 拒绝与上游服务器同步
【发布时间】:2018-02-02 00:39:15
【问题描述】:

我在 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 层。

【问题讨论】:

  • 什么内核版本和来自哪里?您是否还仔细检查了任何防火墙/安全配置?

标签: ntp ntpd


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-04-10
    • 2012-10-16
    • 2019-01-16
    • 2014-11-21
    • 1970-01-01
    • 2021-05-27
    • 2018-01-25
    • 1970-01-01
    相关资源
    最近更新 更多