bestlong 怕失憶論壇

標題: rndc: connect failed: 127.0.0.1#953: connection refused [打印本頁]

作者: bestlong    時間: 2012-2-3 23:44     標題: rndc: connect failed: 127.0.0.1#953: connection refused

在 Fedora 13 的主機上檢查 DNS 運作狀態遇上的訊息

[root@www ~]# /etc/init.d/named status
rndc: connect failed: 127.0.0.1#953: connection refused
named(pid  24287)正在執行...
[root@www ~]#

找了網路上有提到用 rndc-config 來重建 rndc.key 看了 man 的說明後使用下列指令

[root@www ~]# rndc-confgen -a

然後重新啟動 DNS 服務

[root@www ~]# /etc/init.d/named restart

再次檢查狀態

[root@www ~]# /etc/init.d/named status
version: 9.?.?-P1-RedHat-9.?.?-2.P1.fc13
CPUs found: 1
worker threads: 1
number of zones: 20
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
named(pid  3949)正在執行...
[root@www ~]#

看來排除了




歡迎光臨 bestlong 怕失憶論壇 (http://www.bestlong.idv.tw/) Powered by Discuz! X1.5