原本国内的主机直接指向阿里云就可以时间同步了  但是国外的主机

却有报错  这个报错还没有解决

1 Oct 03:47:30 ntpdate[20969]: no server suitable for synchronization found
[root@info ~]# ntpq -c version
ntpq 4.2.6p5@1.2349-o Fri Apr 13 12:52:30 UTC 2018 (1) [root@info ~]# ntpdate -d 120.25.115.20
1 Oct 03:47:22 ntpdate[20969]: ntpdate 4.2.6p5@1.2349-o Fri Apr 13 12:52:28 UTC 2018 (1)
Looking for host 120.25.115.20 and service ntp
host found : 120.25.115.20
transmit(120.25.115.20)
transmit(120.25.115.20)
transmit(120.25.115.20)
transmit(120.25.115.20)
transmit(120.25.115.20)
120.25.115.20: Server dropped: no data
server 120.25.115.20, port 123
stratum 0, precision 0, leap 00, trust 000
refid [120.25.115.20], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Sun, Dec 31 1899 19:00:00.000
originate timestamp: 00000000.00000000 Sun, Dec 31 1899 19:00:00.000
transmit timestamp: df5c4f90.a33c854e Mon, Oct 1 2018 3:47:28.637
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

主要是红色圈出来的部分

###add at 18-10-01

echo '#time sync by nodchen at 18-09-30' >/var/spool/cron/root
echo '*/5 * * * * /usr/sbin/ntpdate ntp1.aliyun.com >/dev/null 2>&1' >/var/spool/cron/root

###  add end 18-10-01

最新文章

  1. MySQL HASH分区
  2. android5.0联系人 sort_key改成phonebook_label
  3. Java SCP copy local file to remote implementation
  4. ReferenceQueue<T>随笔
  5. python 装饰器修改调整函数参数
  6. UILabel和NSAttributedString那些事
  7. iOS - Availability.h
  8. node版本管理器nvm(服务器项目相关)
  9. 【转】php json_encode中文为空的解决办法
  10. HDU 2544 最短路 (最短路,spfa)
  11. 【原创】MIPS浅议之——中断系统之我见
  12. js中访问对象的方法
  13. iOS UIActivityIndicatorView 的使用
  14. Base64图片编码优化
  15. 【NOIP2012】【CJOJ1093】【洛谷1083】借教室
  16. POST方式提交乱码解决
  17. Beta冲刺-用户测试报告
  18. Eclipse搭建Android环境失败的解决方案
  19. BZOJ.5397.circular(随机化 贪心)
  20. ActiveMQ broker 非持久化queue消息的入队、出队和应答

热门文章

  1. XML之命名空间的作用(xmlns)
  2. Centos7禁止或者允许开机启动服务
  3. day 47 html 学习 css 学习
  4. Optimizing Docker Images for Rust Projects
  5. pip in windows
  6. C# 集合、字典、栈和队列
  7. ASP.NET AJAX入门系列(11):在多个UpdatePanle中使用Timer控件
  8. centos下cmake编译安装mysql5.7.24
  9. C/C++中带可变参数的函数
  10. Linux命令之shutdown