我们在隔离的网络上推出了运行ntpd 4.2.6p5的Ubuntu 14.04服务器,这些服务器配置为使用客户提供的多个NTP服务器(无法访问pool.ntp.org)。我们的哑终端客户端设备运行的是Larry Doolittle 的较旧版本的BusyBox(1.00-rc2)和ntpclient 2010。
多年来,这种设置一直有效,但是最近我们遇到了新客户的障碍。他们为我们提供了5个内部NTP服务器地址,ntpdate-debian就Linux服务器而言,它们看起来很不错。但是在BusyBox方面,ntpclient抱怨“色散太高”。从调试输出中,ntpclient从NTP服务器获取“ 1217163.1”,但它支持的最大值是绝对值(65536)。
$ /usr/sbin/ntpclient -s -i 15 -h 10.17.162.250 -d
Configuration:
  -c probe_count 1
  -d (debug)     1
  -g goodness    0
  -h hostname    10.17.162.250
  -i interval    15
  -l live        0
  -p local_port  0
  -q min_delay   800.000000
  -s set_clock   1
  -x cross_check 1
Listening...
Sending ...
recvfrom
packet of length 48 received
Source: INET Port 123 host 10.17.162.250
LI=0  VN=3  Mode=4  Stratum=4  Poll=4  Precision=-20
Delay=60745.2  Dispersion=1346801.8  Refid=10.31.10.21
Reference 3668859928.942079
(sent)    3668859928.708371
Originate 3668859928.708371
Receive   3668859928.963271
Transmit  3668859928.963369
Our recv  3668859928.708371
Total elapsed:      0.00
Server stall:      93.09
Slop:             -93.09
Skew:          255443.94
Frequency:             0
 day   second     elapsed    stall     skew  dispersion  freq
42463 56728.708  rejected packet: abs(DISP)>65536
这些都是同一局域网上的所有设备,所以坦率地说,我感到非常惊讶。吓坏了
这是ntpq -pnUbuntu 14.04服务器的输出:
user@host:~$ ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 127.127.1.0     .LOCL.          10 l 1025   64    0    0.000    0.000   0.000
 10.17.162.249   10.17.6.10       5 u   23 1024   37    0.865  1381.07 697.260
 10.31.10.22     .LOCL.           1 u 1044 1024   17   29.586  -838.06 397.342
 10.17.6.10      10.31.10.21      4 u 1065 1024   17    0.366  105.245 402.999
*10.31.10.21     132.246.11.238   3 u    5 1024   37   29.418  794.292 616.796
 10.17.6.11      10.31.10.21      4 u 1038 1024   17    0.408  120.030 381.058
我的问题是:
- 什么是色散,什么可以改变其价值?
 - 我可以运行哪些命令以从NTP服务器获取更多详细信息?
 - 故障可能出在Ubuntu服务器端
ntp.conf吗?真的没有什么特别的。 - 在这种情况下,切换到时间顺序会有所改变吗?