はじめての自宅サーバ構築 - Fedora/CentOS -
Last Update 2018/05/30
[ 更新履歴 ] [ サイト マップ ] [ 質問掲示板 ] [ 雑談掲示板 ] [ リンク ]
トップ >> 当サイト情報 >> スレッド

????????????????????¨????°???¨??§????????°???????¨??????¬???????????°?????±??????????????§??????

 ntpq -p
????????? 2006/06/09 01:13
????????? 鷹司

こちらのサイトのNTPサーバー設定ページを参考にNTPサーバーを立てたのですが
# ntpq -pを実行すると
Name or service not knownと出て
同期ログが出ません、、、、何が原因なのでしょうか?

■ コンテンツ関連情報

 Re: ntpq -p ( No.1 )
????????? 2006/06/09 09:20
????????? 管理者

ファイアウォールが有効になっていたり、名前解決が出来ていなかったりしませんか?

以下の実行結果を教えてください。

# cat /etc/sysconfig/iptables
# nslookup clock.nc.fukuoka-u.ac.jp
 Re: ntpq -p ( No.2 )
????????? 2006/06/12 22:39
????????? 鷹司

返事が遅くなりまして申し訳ありません
結果は
# cat /etc/sysconfig/iptables
cat: /etc/sysconfig/iptables: そのようなファイルやディレクトリはありません

# ls /etc/sysconfig/
auditd   console  firstboot hwconf      irda   mouse        network     pcmcia   syslog
authconfig crond   grub    i18n       kernel  named        network-scripts prelink  system-config-securitylevel
autofs   desktop  harddisks init       keyboard netdump       networking    rhn    system-config-users
bluetooth  diskdump hidd    installinfo   kudzu   netdump_id_dsa   ntpd       saslauthd vncservers
clock    dund   httpd   iptables-config modules  netdump_id_dsa.pub pand       selinux

# cat /etc/sysconfig/iptables-config
# Load additional iptables modules (nat helpers)
#  Default: -none-
# Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which
# are loaded after the firewall rules are applied. Options for the helpers are
# stored in /etc/modprobe.conf.
IPTABLES_MODULES=""

# Unload modules on restart and stop
#  Value: yes|no, default: yes
# This option has to be 'yes' to get to a sane state for a firewall
# restart or stop. Only set to 'no' if there are problems unloading netfilter
# modules.
IPTABLES_MODULES_UNLOAD="yes"

# Save current firewall rules on stop.
#  Value: yes|no, default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets stopped
# (e.g. on system shutdown).
IPTABLES_SAVE_ON_STOP="no"

# Save current firewall rules on restart.
#  Value: yes|no, default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets
# restarted.
IPTABLES_SAVE_ON_RESTART="no"

# Save (and restore) rule and chain counter.
#  Value: yes|no, default: no
# Save counters for rules and chains to /etc/sysconfig/iptables if
# 'service iptables save' is called or on stop or restart if SAVE_ON_STOP or
# SAVE_ON_RESTART is enabled.
IPTABLES_SAVE_COUNTER="no"

# Numeric status output
#  Value: yes|no, default: yes
# Print IP addresses and port numbers in numeric format in the status output.
IPTABLES_STATUS_NUMERIC="yes

# nslookup clock.nc.fukuoka-u.ac.jp
Server:     219.118.176.66
Address:    219.118.176.66#53

Non-authoritative answer:
Name:  clock.nc.fukuoka-u.ac.jp
Address: 133.100.9.2

でした。
ファイアウォールはインストール時に無効にしてます。

■ その他

ページ先頭へ


Copyright(©)2004-2018 First home server construction. All Right Reserved.