服务器时间是7小时关闭(而不是上午10点是凌晨3点,即使日期显示正确的时区). ntpq的输出是:
$ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
xx.xxx.xxx.x.ar xxx.x.xx.xx 2 u 72 1024 177 6.516 2520657 1650156
ntp.xxxx.ac.uk xxx.xxx.xxx.x 2 u 7h 1024 377 14.039 2520655 1347346
xxx.xxx.xxx.xx xxx.xxx.xxx.x 2 u 114 1024 377 5.449 -18.941 2130343
ns1.xxxxxxx.com xxx.x.xx.xx 2 u 148 1024 377 8.050 2520655 1650156
时间固定为:
ntpdate -u 0.europe.pool.ntp.org
然而,几天之后它再次发生了.我怀疑ntpq -p中的第二行,它表示自上次收到数据包以来已经过了7h.但如果这就是原因,那么为什么ntp没有使用其他服务器来同步时间呢?
发生了什么事?你会如何防止这种情况再次发生?
编辑可能有用的另一件事是它是一个VM. VM是否可能处于某种暂停状态?
请注意,已禁用vmware-toolBox-cmd timesync状态.