電子書籍の厳選無料作品が豊富!

【環境】
・CentOS release 5.8 (Final)
・ntp4.2.2p1-15.el5.centos.1

【事象】
ntpq -p投入後、以下エラー表示されます。
---------------------------
localhost.localdomain: timed out, nothing received
***Request timed out
----------------------------

【設定済項目】
◆ntp.conf

restrict default ignore
restrict 127.0.0.1
restrict 210.173.160.27 nomodify notrap #ntp1.jst.mfeed.ad.jp
restrict 210.173.160.57 nomodify notrap #ntp2.jst.mfeed.ad.jp
restrict 210.173.160.87 nomodify notrap #ntp3.jst.mfeed.ad.jp
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
driftfile /var/lib/ntp/drift
keys /etc/ntp/keys

◆hosts.allow

ALL: 210.173.160.27
ALL: 210.173.160.57
ALL: 210.173.160.87

◆iptables

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:ntp

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

◆/var/log/messages

特にエラー表示なし

◆service ntpd status

ntpd (pid 22208) を実行中...

◆netstat

udp 0 0 :::123 :::*

-----------------------------------------------
ntpdの再起動をしても同現象です。
困っています。
宜しくお願い致します。

A 回答 (1件)

ntpdを起動する前に2~3度ntpdateでざっくり時間あわせしてみては?


(ntpdateはntpdと123のポートを取り合うので注意)
あとはご指定のtimeサーバーへの経路が確保されているかどうか
確認してみるとか・・・
    • good
    • 0
この回答へのお礼

お礼が遅くなりました。
回答ありがとうございます。

ntpdateで時刻は合わせています。
経路の確保とは、疎通確認って意味でしょうか?
TimeサーバへのPingは通ります。
名前解決も問題なく出来ているのですが、何が原因なのでしょうね・・

お礼日時:2012/04/16 10:41

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!