找回密码
 注册
查看: 4150|回复: 0

ntpdate[3987]: no server suitable for synchronization found 解决NTP问题

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2017-10-20 19:21:06 | 显示全部楼层 |阅读模式
#  ntpdate -u 192.168.22.200/ D* h# p& l0 A
20 Oct 19:06:23 ntpdate[3987]: no server suitable for synchronization found; a. {2 {9 ?. n# s/ @( N

. K( u  b* v6 v9 e$ Y2 U" d# d5 @& U
Server dropped: Strata too high
在ntp客户端运行ntpdate serverIP,出现no server suitable for synchronization found的错误。
在ntp客户端用ntpdate -d serverIP查看,发现有“Server dropped: strata too high”的错误,并且显示“stratum ”。而正常情况下stratum这个值得范围是“0~15”。
这是因为NTP server还没有和其自身或者它的server同步上。
以下的定义是让NTP Server和其自身保持同步,如果在/ntp.conf中定义的server都不可用时,将使用local时间作为ntp服务提供给ntp客户端。& f5 T9 X; M1 t
server 127.127.1.0
+ m* C9 }! c7 d+ E" g) R
fudge 127.127.1.0 stratum 8

$ w' X1 g9 x/ ~+ `( q; a
在ntp server上重新启动ntp服务后,ntp server自身或者与其server的同步的需要一个时间段,这个过程可能是5分钟,在这个时间之内在客户端运行ntpdate命令时会产生no server suitable for synchronization found的错误。
那么如何知道何时ntp server完成了和自身同步的过程呢?
只需要修改ntp server端配置
- ]) }6 H9 V( z' U! j' x

3 V5 Z' o7 J: B! t' H  i
5 t/ W) g( D2 o5 B
0 P( z6 z0 e3 Z3 g
! B: r6 R! z' r% \8 J
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 04:21 , Processed in 0.031018 second(s), 30 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表