ntp server 重開機後,會需要一段時間跟internet同步時間
這段期間如果client跟ntp server校時時會出現以下的錯誤
[root@zap ~]# ntpdate ntp.mybox.tw
25 Feb 10:27:23 ntpdate[26362]: no server suitable for synchronization found

加上 -d 參數可以看到詳細的debug內容
ntp.mybox.tw: Server dropped: strata too high

[root@zap ~]# ntpdate -d ntp.mybox.tw
25 Feb 10:30:49 ntpdate[26443]: ntpdate 4.2.2p1@1.1570-o Sat Dec 20 02:52:11 UTC 2014 (1)
Looking for host ntp.mybox.tw and service ntp
host found : ntp.mybox.tw
transmit(ntp.mybox.tw)
receive(ntp.mybox.tw)
transmit(ntp.mybox.tw)
receive(ntp.mybox.tw)
transmit(ntp.mybox.tw)
receive(ntp.mybox.tw)
transmit(ntp.mybox.tw)
receive(ntp.mybox.tw)
transmit(ntp.mybox.tw)
ntp.mybox.tw: Server dropped: strata too high
server ntp.mybox.tw, port 123
stratum 16, precision -19, leap 11, trust 000
refid [ntp.mybox.tw], delay 0.02626, dispersion 0.00002
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036 14:28:16.000
originate timestamp: d897b259.6921672c  Wed, Feb 25 2015 10:30:49.410
transmit timestamp:  d897b259.66759ab6  Wed, Feb 25 2015 10:30:49.400
filter delay:  0.02725  0.02666  0.02646  0.02626
         0.00000  0.00000  0.00000  0.00000
filter offset: 0.010067 0.009981 0.010047 0.010051
         0.000000 0.000000 0.000000 0.000000
delay 0.02626, dispersion 0.00002
offset 0.010051

25 Feb 10:30:49 ntpdate[26443]: no server suitable for synchronization found

過幾分鐘後,等ntp server同步完時間後即可正常運作


[root@zap ~]# ntpdate -d ntp.mybox.tw
25 Feb 10:33:04 ntpdate[26472]: ntpdate 4.2.2p1@1.1570-o Sat Dec 20 02:52:11 UTC 2014 (1)
Looking for host ntp.mybox.tw and service ntp
host found : ntp.mybox.tw
transmit(ntp.mybox.tw)
receive(ntp.mybox.tw)
transmit(ntp.mybox.tw)
receive(ntp.mybox.tw)
transmit(ntp.mybox.tw)
receive(ntp.mybox.tw)
transmit(ntp.mybox.tw)
receive(ntp.mybox.tw)
transmit(ntp.mybox.tw)
server ntp.mybox.tw, port 123
stratum 2, precision -19, leap 00, trust 000
refid [ntp.mybox.tw], delay 0.02618, dispersion 0.00000
transmitted 4, in filter 4
reference time:    d897b2df.147be8ab  Wed, Feb 25 2015 10:33:03.080
originate timestamp: d897b2e0.56b48642  Wed, Feb 25 2015 10:33:04.338
transmit timestamp:  d897b2e0.537d0f1f  Wed, Feb 25 2015 10:33:04.326
filter delay:  0.02733  0.02660  0.02625  0.02618
         0.00000  0.00000  0.00000  0.00000
filter offset: 0.012223 0.012172 0.012194 0.012217
         0.000000 0.000000 0.000000 0.000000
delay 0.02618, dispersion 0.00000
offset 0.012217

25 Feb 10:33:04 ntpdate[26472]: adjust time server ntp.mybox.tw offset 0.012217 sec

,

helloworld 發表在 痞客邦 PIXNET 留言(0) 人氣()