ntp服务问题
2024-08-27 20:35:15
原本国内的主机直接指向阿里云就可以时间同步了 但是国外的主机
却有报错 这个报错还没有解决
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
最新文章
- MySQL HASH分区
- android5.0联系人 sort_key改成phonebook_label
- Java SCP copy local file to remote implementation
- ReferenceQueue<;T>;随笔
- python 装饰器修改调整函数参数
- UILabel和NSAttributedString那些事
- iOS - Availability.h
- node版本管理器nvm(服务器项目相关)
- 【转】php json_encode中文为空的解决办法
- HDU 2544 最短路 (最短路,spfa)
- 【原创】MIPS浅议之——中断系统之我见
- js中访问对象的方法
- iOS UIActivityIndicatorView 的使用
- Base64图片编码优化
- 【NOIP2012】【CJOJ1093】【洛谷1083】借教室
- POST方式提交乱码解决
- Beta冲刺-用户测试报告
- Eclipse搭建Android环境失败的解决方案
- BZOJ.5397.circular(随机化 贪心)
- ActiveMQ broker 非持久化queue消息的入队、出队和应答