Announcement

Collapse
No announcement yet.

RNDC error while insatlling WHM/cPanel

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • RNDC error while insatlling WHM/cPanel

    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
    cd /scripts
    then,
    ./updatenow
    After firing the above command
    type
    ./fixndc
    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.

    vi /etc/rndc.conf
    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
    /scripts/fixnamed
    And then
    /scripts/fixndc
    Now just restart the named service
    If you get the error again again restart named by firing
    /etc/named restart OR service named restart.
    Bingo the error is gone!!
Working...
X