通过运行命令使用 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/