• 为什么写博客,是因为遇到的坑,不希望别人在踩一遍!
  • 选择了,剩下的就是坚持和努力-------致自己!
  • 当能力达不到梦想时,更需要学习,努力,拼搏

ntp 报错:no server suitable for synchronization found

Linux运维 雪豹 7年前 (2017-07-30) 1328次浏览 0个评论

ntp 报错:no server suitable for synchronization found

故障问题:

[root@jenkins plugins]# ntpdate time.nist.gov
23 May 01:37:30 ntpdate[4706]: no server suitable for synchronization found

故障解决方法:

方法一:ntpdate 后面跟 –b -u
#没加前
[root@gitlab ~]# ntpdate time.nist.gov
30 Jul 20:54:33 ntpdate[124013]: no server suitable for synchronization found
#加 -b -u
[root@gitlab ~]# ntpdate -b -u time.nist.gov
30 Jul 20:54:43 ntpdate[124026]: step time server 216.229.0.179 offset -0.007723 sec

方法二:发现 自带的/etc/ntp.conf 中的时间服务器可以用(不知道什么鬼,暂时当一方法吧。)

[root@jenkins plugins]# cat /etc/ntp.conf
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server 0.centos.pool.ntp.org iburst
server 1.centos.pool.ntp.org iburst
server 2.centos.pool.ntp.org iburst
server 3.centos.pool.ntp.org iburst
[root@jenkins plugins]# ntpdate 2.centos.pool.ntp.org
30 Jul 20:56:56 ntpdate[4788]: adjust time server 83.168.200.199 offset 0.057271 sec


有需要可以联系微信xuebao19930721和加入微信群
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址