Thursday, July 3, 2008

Fix RNDC Error

Some installations of WHM/CPanel come with a RNDC error. This error is somewhat common now, and is easily fixed by a couple of methods. Before your name servers work you need to fix the NDC Error. The RNDC Error is nothing major, and should not take more than 15 minutes (if that) to fix. Please read below to fix the RNDC Error.

Simple Fix

1. Login to your dedicated server as root via ssh.

2. Type: cd /scripts

3. Type: ./updatenow

4. Type: ./fixndc

The above error will fix certain aspects of the RNDC Error, and sometimes fix all the problems. However during certain installations the problem will still exist, this is where RND Error Fix #2 comes in.


RNDC Error Fix #2

1. Login to your dedicated server as root via ssh.

2. Type: pico /etc/rndc.conf
Search for "rndc-key" and replace it with "rndckey"
CTRL-W is how to search in PICO.
CTRL-X Y to save and exit

3. Type: pico /etc/named.conf
Search for "rndc-key" and replace it with "rndckey"
CTRL-W is how to search in PICO.
CTRL-X Y to save and exit

4. Type: /scripts/fixnamed

5. Type: /scripts/fixndc

6. If step #5 still produced an error
Type: /scripts/fixndc
There should be no error now.

7. Now we will restart named (BIND)
Type: service named restart
If you get an error simply restart again.
Type: service named restart

Now you should not get that error..

No comments: