Some times we get an error of rndc while installing WHM/cPanel the error is "connect failed: connection refused"
It can be fixed by following method:
Login to your dedicated server as root via ssh.
After logging in the server fire
then,
After firing the above command
type
The above method fixes the error but if still the problem persists then do the below mentioned method:
Login to your dedicated server as root via ssh.
After opening the above configuration file search for "rndc-key" and replace it to "rndckey"
Then,save and quit.
After that fire the following command
And then
Now just restart the named service
If you get the error again again restart named by firing
Bingo the error is gone!!
It can be fixed by following method:
Login to your dedicated server as root via ssh.
After logging in the server fire
cd /scripts
./updatenow
type
./fixndc
Login to your dedicated server as root via ssh.
vi /etc/rndc.conf
Then,save and quit.
After that fire the following command
/scripts/fixnamed
/scripts/fixndc
If you get the error again again restart named by firing
/etc/named restart OR service named restart.
