免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1202 | 回复: 1
打印 上一主题 下一主题

[系统管理] ntpdate ip 失败,但-d测试能成功,这是为什么 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-12-05 14:53 |只看该作者 |倒序浏览
[root@CentOS ~]# ntpdate 202.112.29.82
5 Dec 00:32:58 ntpdate[9615]: no server suitable for synchronization found     #失败

[root@CentOS ~]# ntpdate -d 202.112.29.82  #这个能成功,为什么
5 Dec 00:33:23 ntpdate[9616]: ntpdate 4.2.2p1@1.1570-o Thu Jan 22 02:51:26 UTC 2009 (1)
Looking for host 202.112.29.82 and service ntp
host found : dns1.synet.edu.cn
transmit(202.112.29.82)
receive(202.112.29.82)
transmit(202.112.29.82)
receive(202.112.29.82)
transmit(202.112.29.82)
receive(202.112.29.82)
transmit(202.112.29.82)
transmit(202.112.29.82)
server 202.112.29.82, port 123
stratum 2, precision -20, leap 00, trust 000
refid [202.112.29.82], delay 0.06815, dispersion 8.00017
transmitted 4, in filter 4
reference time:    da0c3ebd.b601fe53  Sat, Dec  5 2015  0:33:01.710
originate timestamp: da0c3ed6.a883cb68  Sat, Dec  5 2015  0:33:26.658
transmit timestamp:  da0c3ed3.7d1f926c  Sat, Dec  5 2015  0:33:23.488
filter delay:  0.07079  0.06815  0.06844  0.00000
         0.00000  0.00000  0.00000  0.00000
filter offset: 3.191263 3.190816 3.190946 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.06815, dispersion 8.00017
offset 3.190816

5 Dec 00:33:24 ntpdate[9616]: step time server 202.112.29.82 offset 3.190816 sec

求职 : Linux运维
论坛徽章:
203
拜羊年徽章
日期:2015-03-03 16:15:432015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:57:092015小元宵徽章
日期:2015-03-06 15:58:182015年亚洲杯之约旦
日期:2015-04-05 20:08:292015年亚洲杯之澳大利亚
日期:2015-04-09 09:25:552015年亚洲杯之约旦
日期:2015-04-10 17:34:102015年亚洲杯之巴勒斯坦
日期:2015-04-10 17:35:342015年亚洲杯之日本
日期:2015-04-16 16:28:552015年亚洲杯纪念徽章
日期:2015-04-27 23:29:17操作系统版块每日发帖之星
日期:2015-06-06 22:20:00操作系统版块每日发帖之星
日期:2015-06-09 22:20:00
2 [报告]
发表于 2015-12-05 22:40 |只看该作者
-d      Enable the debugging mode, in which ntpdate will go through
               all  the steps, but not adjust the local clock. Information
               useful for general debugging will also be printed.
调试模式已而  
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP