ntp - 通过运行命令 sudo ntpd -gq 使用 ntp 同步时出错

标签 ntp

通过运行命令使用 ntp 同步时出现错误sudo ntpd -gq .

28 Sep 05:19:30 ntpd[1919]: receive: 
KoD packet from 172.19.79.12 has inconsistent xmt/org/rec timestamps.  Ignoring.

这是什么意思?我该如何解决?

最佳答案

这意味着您的服务器已收到 Kiss-o-Death

A client or peer receiving a kiss-of-death packet performs a set of sanity checks to minimize security exposure. If this is the first packet received from the server, the client assumes an access denied condition at the server. It updates the stratum and reference identifier peer variables and sets the access denied (test 4) bit in the peer flash variable. If this bit is set, the client sends no packets to the server. If this is not the first packet, the client assumes a client limit condition at the server, but does not update the peer variables. In either case, a message is sent to the system log.


此外,您的日志会准确地告诉您发生的原因;
172.19.79.12 has inconsistent xmt/org/rec timestamps. Ignoring.
时间源172.19.79.12已损坏并被忽略。您需要检查该服务器以获得进一步的答案。
因为你没有给你的ntp.conf文件我只能假设您正在使用一个服务器或对等语句。如果是这种情况,您应该花一些时间阅读 ntp看看为什么这是一件坏事,(就像现在)它打破了你的时间安排。

关于ntp - 通过运行命令 sudo ntpd -gq 使用 ntp 同步时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52537530/

相关文章:

swift - 带有 Xcode 7 和 swift 2.0 的 ios-ntp

将 NTP 短格式转换为秒

java - 简单的Java api来形成和发送ntp数据包

ntp - NTP如何计算它的下一次轮询间隔

iphone - 是否有框架或库和 Web 服务来通过 NTP 以毫秒精度获取原子钟时间?

logic - NTP 时钟纪律如何工作?

Java,android,从互联网服务器获取原子时间

linux - ntp_gettime() 实际上返回纳秒精度吗?

linux - 我的 CIFS 安装有时钟差异吗?

clock - 如何同步本地网络中的时钟?