NTPD时间服务器问题

潇湘秦 2011-06-22 03:47:08
一组两个节点的RAC,linux平台 oracle 10G 两个节点都配置了NTP服务 进行时间同步
但是现在有一个节点的NTP服务有问题
[root@ldbrac1 etc]# ntpq -p
localhost.localdomain: timed out, nothing received
***Request timed out

另外一台正常

[root@ldbrac2 ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
220-133-13-3.hi .INIT. 16 u - 1024 0 0.000 0.000 4000.00
tock.stdtime.go .INIT. 16 u - 1024 0 0.000 0.000 4000.00
todaycolor.com. .INIT. 16 u - 1024 0 0.000 0.000 4000.00
*LOCAL(0) LOCAL(0) 10 l 46 64 377 0.000 0.000 0.001


两个节点的 ntpd 服务都起来了 试过关掉重开服务
[root@ldbrac1 etc]# service ntpd status
ntpd (pid 26426) is running...


[root@ldbrac2 ~]# service ntpd status
ntpd (pid 2704) is running...

有问题的这台ping 本机可以ping通

[root@ldbrac1 etc]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.031 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.024 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.023 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.022 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.023 ms

两个节点的 ntp.conf 配置是一样的 如下

# restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
restrict 172.16.50.0 mask 255.255.255.0 nomodify notrap



#
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10

#



有谁遇到过这种问题
...全文
452 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
happyboygd 2012-08-14
  • 打赏
  • 举报
回复
是hosts的问题。

ping localhost 看看是不是解析到外网去了。

修改/etc/hosts即可。
-编译-人生- 2011-06-23
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 xiaofan23z 的回复:]

自己找到问题所在了!
[/Quote]
既然找到了。就说出来听听嘛,不要那么小气。
justkk 2011-06-23
  • 打赏
  • 举报
回复
有问题的这台ping 本机可以ping通

那ping ldbrac2 是否能通?
-编译-人生- 2011-06-23
  • 打赏
  • 举报
回复
说来听听,难到是防火墙。
潇湘秦 2011-06-23
  • 打赏
  • 举报
回复
自己找到问题所在了!
潇湘秦 2011-06-22
  • 打赏
  • 举报
回复
100分送上啊 有没有遇到过这种问题?该怎么解决呢?

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧