免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123
最近访问板块 发新帖
楼主: liyaweihesmz
打印 上一主题 下一主题

[其他] NTP服务 [复制链接]

论坛徽章:
16
IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每月发帖之星
日期:2015-09-11 19:30:52IT运维版块每周发帖之星
日期:2015-09-11 19:20:31IT运维版块每日发帖之星
日期:2015-08-26 06:20:00每日论坛发贴之星
日期:2015-08-20 06:20:00IT运维版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15金牛座
日期:2014-05-04 16:58:09双子座
日期:2013-12-17 16:44:37辰龙
日期:2013-11-22 15:20:59狮子座
日期:2013-11-18 22:55:08射手座
日期:2013-11-12 10:54:26
21 [报告]
发表于 2013-05-13 12:44 |只看该作者
回复 20# liyaweihesmz


    恩,注释掉那3行,重启一下ntp 服务试试。

论坛徽章:
0
22 [报告]
发表于 2013-05-14 10:02 |只看该作者
回复 21# wenhq


    还是同样的错误。
   ntpdate 192.168.174.153
   14 May 09:53:17 ntpdate[23062]: no server suitable for synchronization found

   NTP服务器中messages日志信息如下:
  1. May 14 09:56:30 localhost ntpd[31468]: ntpd exiting on signal 15
  2. May 14 09:56:30 localhost ntpd[31540]: ntpd 4.2.4p8@1.1612-o Thu Jan 10 15:17:24 UTC 2013 (1)
  3. May 14 09:56:30 localhost ntpd[31541]: precision = 0.430 usec
  4. May 14 09:56:30 localhost ntpd[31541]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
  5. May 14 09:56:30 localhost ntpd[31541]: Listening on interface #1 wildcard, ::#123 Disabled
  6. May 14 09:56:30 localhost ntpd[31541]: Listening on interface #2 lo, ::1#123 Enabled
  7. May 14 09:56:30 localhost ntpd[31541]: Listening on interface #3 eth0, fe80::20c:29ff:fe6f:4d56#123 Enabled
  8. May 14 09:56:30 localhost ntpd[31541]: Listening on interface #4 lo, 127.0.0.1#123 Enabled
  9. May 14 09:56:30 localhost ntpd[31541]: Listening on interface #5 eth0, 192.168.174.157#123 Enabled
  10. May 14 09:56:30 localhost ntpd[31541]: Listening on interface #6 virbr0, 192.168.122.1#123 Enabled
  11. May 14 09:56:30 localhost ntpd[31541]: Listening on routing socket on fd #23 for interface updates
  12. May 14 09:56:30 localhost ntpd[31541]: kernel time sync status 2040
  13. May 14 09:56:30 localhost ntpd[31541]: frequency initialized 23.467 PPM from /var/lib/ntp/drift
复制代码

论坛徽章:
16
IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每月发帖之星
日期:2015-09-11 19:30:52IT运维版块每周发帖之星
日期:2015-09-11 19:20:31IT运维版块每日发帖之星
日期:2015-08-26 06:20:00每日论坛发贴之星
日期:2015-08-20 06:20:00IT运维版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15金牛座
日期:2014-05-04 16:58:09双子座
日期:2013-12-17 16:44:37辰龙
日期:2013-11-22 15:20:59狮子座
日期:2013-11-18 22:55:08射手座
日期:2013-11-12 10:54:26
23 [报告]
发表于 2013-05-15 19:13 |只看该作者
回复 10# liyaweihesmz
是UDP 123 不是TCP 你设置的没问题?

   

论坛徽章:
16
IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每月发帖之星
日期:2015-09-11 19:30:52IT运维版块每周发帖之星
日期:2015-09-11 19:20:31IT运维版块每日发帖之星
日期:2015-08-26 06:20:00每日论坛发贴之星
日期:2015-08-20 06:20:00IT运维版块每日发帖之星
日期:2015-08-20 06:20:002015年辞旧岁徽章
日期:2015-03-03 16:54:15金牛座
日期:2014-05-04 16:58:09双子座
日期:2013-12-17 16:44:37辰龙
日期:2013-11-22 15:20:59狮子座
日期:2013-11-18 22:55:08射手座
日期:2013-11-12 10:54:26
24 [报告]
发表于 2013-05-15 20:04 |只看该作者
ntpdate -d yourlocalntpserver

ntptrace yourlocalntpserver


and tcpdump -i eth0 and udp and port 123 抓包看下。

论坛徽章:
0
25 [报告]
发表于 2013-05-21 13:11 |只看该作者
NTP服务器能不能连到 自身/etc/ntp.conf 里 server 行配置的服务器IP?

论坛徽章:
0
26 [报告]
发表于 2013-05-21 13:33 |只看该作者
回复 25# sirense


    不可以。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP