shenyue_sam 发表于 2016-04-12 19:05

请帮忙看一下这个主机的时间同步状态正确吗

请帮忙看一下,这个主机启动了一个ntp服务,状态如下。# ntpq -p
   remote         refid      st t when poll reach   delay   offsetjitter
==============================================================================
*localhost       .LCK.            1 u623 1024377    0.498   -0.274   0.045
不明白为什么remote是localhost,
这样的话,现在这个主机的时间是正确的吗?# grep -v -e '^#' -e '^ /etc/ntp.conf
driftfile /var/lib/ntp/drift
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
server10.0.0.1
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys

q1208c 发表于 2016-04-15 15:54

没连上ntp server .
页: [1]
查看完整版本: 请帮忙看一下这个主机的时间同步状态正确吗