[root@testserver ~]# /usr/local/cpanel/scripts/fixrndc warn [fixrndc] /usr/sbin/rndc status failed: WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)rndc: connect failed: 127.0.0.1#953: connection refused The problem was that you had portreserve reserving port 953 so named could not bind to the port. I moved the offending file out of the way, restarted portreserve & named and was able to resolve the error for you:
[root@testserver ~]# netstat -tplanu|grep :953|grep LIST [root@ testserver ~]# cat /etc/portreserve/named/rndc/tcp [root@ testserver ~]# mv /etc/portreserve/named /etc/portreserve/.named [root@ testserver 1 ~]# /etc/init.d/portreserve restart Stopping portreserve: [ OK ] Starting portreserve: (not starting, no services registered) [root@ testserver ~]# /etc/init.d/named restart Stopping named: [ OK ] Starting named: [ OK ] [root@ testserver ~]# netstat -tplanu|grep :953|grep LIST tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 26055/named [root@ testserver ~]# rndc reload WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf) server reload successful
Now run this command, [root@ testserver ~]#/usr/local/cpanel/scripts/fixrndc