
Originally Posted by
radeonpower
I'm using CentOS 6.3 and this command did not output anything.
root@ns3 [~]# grep portrelease /etc/init.d/named
root@ns3 [~]#
If you are using CentOS 6.3, you can run the following commands to resolve this issue:
Code:
# mv /etc/init.d/named /etc/init.d/named.bak
# yum reinstall bind
You should then see the expected output when running:
Code:
# grep portrelease /etc/init.d/named
Example output should be:
Code:
[ -x /sbin/portrelease ] && /sbin/portrelease named &>/dev/null || :
If you see this output, you can then run:
Code:
# /etc/init.d/named stop; /etc/init.d/portreserve restart; /etc/init.d/named start; netstat -plan | grep 953 | grep named
This should resolve the issue, and you should no longer receive connection refused errors when reloading rndc.
Thank you.