|
我用的系统是Red Hat Linux AS 4.0 UP4补丁包,安装系统自带的bind 9.2.4 软件,service named start 正常,但是service named status时显示结果是:rndc: connect failed: connection refused,我已经把/etc/rndc.conf 里面的key改成rndc.key里面的key还是出现refusesd,我看日子:named -g 显示的是:named -g
May 08 16:15:16.604 starting BIND 9.2.4 -g
May 08 16:15:16.605 using 4 CPUs
May 08 16:15:16.610 loading configuration from '/etc/named.conf'
May 08 16:15:16.611 listening on IPv4 interface lo, 127.0.0.1#53
May 08 16:15:16.612 binding TCP socket: address in use
May 08 16:15:16.612 listening on IPv4 interface eth0, 192.168.0.88#53
May 08 16:15:16.613 binding TCP socket: address in use
May 08 16:15:16.616 /etc/named.conf:23: couldn't add command channel 127.0.0.1#9
53: address in use
May 08 16:15:16.616 ignoring config file logging statement due to -g option
May 08 16:15:16.617 couldn't open pid file '/var/run/named/named.pid': Permissio
n denied
May 08 16:15:16.617 exiting (due to early fatal error)
我通过ps -aux|grep 953 查看了这个端口是root在占用啊我kill 953后root立刻退出登录,还有named.pid这个文件不再/var/run/named下而是在/var/run这个目录下面,我按照网上说的把/var/run的 权限改成777后还是不行啊。。现在不知道是什么原因了。。请大家帮忙,我在网上google.com了好多天都没有搞定,现在不知道该怎么办了请大家和斑竹帮忙啊。。。。。。。。。 |
|