尝试同步系统时间时出错

尝试同步系统时间时出错

我最近注意到我的系统时钟上的时间差了几分钟。目前,我的日期和时间设置显示时间是“自动从互联网”设置的。

这似乎不起作用,所以我四处寻找手动同步系统时间的方法。经过一番谷歌搜索,我发现了 ntpdate 命令。不幸的是,这个命令似乎出错了:

$ sudo ntpdate -d pool.ntp.org 
 7 Jan 08:28:11 ntpdate[3489]: ntpdate [email protected] Tue Jun  5 20:12:12 UTC 2012 (1)
Looking for host pool.ntp.org and service ntp
host found : ns20.alltraders.com
transmit(173.230.149.23)
transmit(149.20.68.17)
transmit(209.118.204.201)
transmit(64.251.10.152)
transmit(173.230.149.23)
transmit(149.20.68.17)
transmit(209.118.204.201)
transmit(64.251.10.152)
transmit(173.230.149.23)
transmit(149.20.68.17)
transmit(209.118.204.201)
transmit(64.251.10.152)
transmit(173.230.149.23)
transmit(149.20.68.17)
transmit(209.118.204.201)
transmit(64.251.10.152)
transmit(173.230.149.23)
transmit(149.20.68.17)
transmit(209.118.204.201)
transmit(64.251.10.152)
173.230.149.23: Server dropped: no data
149.20.68.17: Server dropped: no data
209.118.204.201: Server dropped: no data
64.251.10.152: Server dropped: no data
server 173.230.149.23, port 123
stratum 0, precision 0, leap 00, trust 000
refid [173.230.149.23], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036  0:28:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036  0:28:16.000
transmit timestamp:  d6768d81.5b4dd22c  Tue, Jan  7 2014  8:28:17.356
filter delay:  0.00000  0.00000  0.00000  0.00000 
         0.00000  0.00000  0.00000  0.00000 
filter offset: 0.000000 0.000000 0.000000 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

server 149.20.68.17, port 123
stratum 0, precision 0, leap 00, trust 000
refid [149.20.68.17], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036  0:28:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036  0:28:16.000
transmit timestamp:  d6768d81.8e81c0d2  Tue, Jan  7 2014  8:28:17.556
filter delay:  0.00000  0.00000  0.00000  0.00000 
         0.00000  0.00000  0.00000  0.00000 
filter offset: 0.000000 0.000000 0.000000 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

server 209.118.204.201, port 123
stratum 0, precision 0, leap 00, trust 000
refid [209.118.204.201], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036  0:28:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036  0:28:16.000
transmit timestamp:  d6768d81.c1b350c2  Tue, Jan  7 2014  8:28:17.756
filter delay:  0.00000  0.00000  0.00000  0.00000 
         0.00000  0.00000  0.00000  0.00000 
filter offset: 0.000000 0.000000 0.000000 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

server 64.251.10.152, port 123
stratum 0, precision 0, leap 00, trust 000
refid [64.251.10.152], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036  0:28:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036  0:28:16.000
transmit timestamp:  d6768d81.f4e76850  Tue, Jan  7 2014  8:28:17.956
filter delay:  0.00000  0.00000  0.00000  0.00000 
         0.00000  0.00000  0.00000  0.00000 
filter offset: 0.000000 0.000000 0.000000 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

 7 Jan 08:28:19 ntpdate[3489]: no server suitable for synchronization found

我很困惑。这是怎么回事?我觉得它找到了很多服务器,为什么无法与它们同步?我使用了代理,这可能与此有关吗?

答案1

您是否尝试使用其他服务器(例如 ntp.ubuntu.com 而不是 pool.ntp.org)?

相关内容