解决ntp的错误 no server suitable for synchronization found
来源:互联网 发布:手机淘宝官网首页 编辑:程序博客网 时间:2024/04/30 03:20
当用ntpdate -d 来查询时报错:
"no server suitable for synchronization found "
错误的原因有以下2个:
1.Server dropped: Strata too high
在ntp客户端运行ntpdate serverIP,呈现no server suitable for synchronization found的错误。
在ntp客户端用ntpdate –d serverIP查看,发明有“Server dropped: strata too high”的错误,并且显示“stratum 16”。而正常景象下stratum这个值得局限是“0~15”。
这是因为NTP server还没有和其自身或者它的server同步上。
以下的定义是让NTP Server和其自身对峙同步,若是在/etc/ntp.conf中定义的server都不成用时,将应用local时候作为ntp办事供给给ntp客户端。
server 127.127.1.0
fudge 127.127.1.0 stratum 8
原因分析:
在ntp server上从头启动ntp服务后,ntp server自身或者与其server的同步的须要一个时候段,这个过程可能是5分钟,在这个时候之内涵客户端运行ntpdate号令时会产生no server suitable for synchronization found的错误。
那么如何知道何时ntp server完成了和自身同步的过程呢?
在ntp server上应用命令:
# watch ntpq -p
呈现画面:
# ntpq -p
Thu Jul 10 02:28:32 2008
remote refid st t when poll reach delay offset jitter
==============================================================================
192.168.30.22 LOCAL(0) 8 u 22 64 1 2.113 179133. 0.001
LOCAL(0) LOCAL(0) 10 l 21 64 1 0.000 0.000 0.001
重视LOCAL的这个就是与自身同步的ntp server。
重视reach这个值,在启动ntp server办过后,这个值就从0开端络续增长,当增长到17的时辰,从0到17是5次的变革,每一次是poll的值的秒数,是64秒*5=320秒的时候。
若是之后从ntp客户端同步ntp server还失败的话,用ntpdate –d来查询具体错误信息,再做断定。
错误2.Server dropped: no data
从客户端履行netdate –d时有错误信息如下:
.....
28 Jul 17:42:24 ntpdate[14148]: no server suitable for synchronization found
呈现这个题目的原因可能有2:
1。搜检ntp的版本,若是你应用的是ntp4.2(包含4.2)之后的版本,在restrict的定义中应用了notrust的话,会导致以上错误。
2。搜检ntp server的防火墙。可能是server的防火墙樊篱了upd 123端口。
#service iptables stop
来关掉iptables办过后再测验测验从ntp客户端的同步,若是成功,证实是防火墙的题目,须要更改iptables的设置。
0 0
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- 解决ntp的错误 no server suitable for synchronization found
- jdbc
- 浅谈activity生命周期
- [Leetcode] 17. Letter Combinations of a Phone Number 解题报告
- jdbc
- 9.Linux驱动开发前奏(1)-驱动开发概述
- 解决ntp的错误 no server suitable for synchronization found
- Android API Guide for Animation and Graphics(四)—— 动画与图形(帧动画)
- 如何在不重启电脑的情况下修改主机名
- windows内核情景分析--窗口消息
- Agent不能同步master的解决方法
- Hadoop源码之----hadoop-common-project(一、工程目录结构)
- win7一键拖动生成快速启动栏
- 10.字符设备驱动模型(1)-使用字符驱动程序
- 经典DP HDU 2084 数塔