首页 > 其他 > 详细

时间同步时候报错

时间:2018-08-06 16:24:14      阅读:256      评论:0      收藏:0      [点我收藏+]
root@wmy ~]# ntpdate times.aliyun.com
6 Aug 09:02:30 ntpdate[32909]: adjust time server 120.25.115.19 offset 0.237794 sec
Exiting, name server cannot be used: Temporary failure in name resolution (-3) 6 Aug 09:02:42 ntpdate[1678]: name server cannot be used: Temporary failure in name resolution (-3)

Temporary failure in name resolution
从字面上理解意思是,在解析这个URL的时候发生了失败;猜测可能是该机器的网络配置有问题
后来检查网络的确是网络的问题

正确的时间更新显示

[root@wmy ~]# ntpdate ntp1.aliyun.com 时间服务器 校对时间
6 Aug 09:01:26 ntpdate[32907]: step time server 120.25.115.20 offset 8.966838 sec
看最后的提示就说明成功了

[root@wmy ~]# ntpdate times.aliyun.com 阿里云的服务器同步时间
6 Aug 09:02:30 ntpdate[32909]: adjust time server 120.25.115.19 offset 0.237794 sec

时间同步时候报错

原文:http://blog.51cto.com/13754503/2155293

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!