WHM - Account/DNS Issue (Invisible DNS Entries??)

s.r.

Active Member
Aug 24, 2005
33
0
156
I updated the scripts and I still have errors.

This is what happens to me, I try to add a new account and I get this error:



So I goto EDIT DNS Zones, and there is nothing there!



So I goto DNS Clean up and I get this error:




I am running the server on Fedora Core 2, WHM 10.6.0 cPanel 10.6.0-C66
I have BFP and APF running - although they wouldnt have an influence...

How can I fix this issue??

Cheers!
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
Try running named-checkconf manually and see what errors you get:

named-checkconf

You can also try restarting named and tail /var/log/messages at the same time and watch for errors. There's clearly a config error in your /etc/named.conf file somewhere.
 

s.r.

Active Member
Aug 24, 2005
33
0
156
Good idea - thanks for that, I will let you know how it goes when I try it.

Thanks!
 

simple_line

Member
Feb 11, 2005
10
0
151
No, there's no misconfiguration.. this is a BUG! Run the latest update and add an account in WHM.. Then delete DNS zone for that account and what happens? The whole account disappears! This is totally useless now if you want to cluster servers and have cPanel on them... PLEASE fix this.
 

ujr

Well-Known Member
Mar 19, 2004
290
0
166
I was able to resolve it one of our servers by updating it to Edge.

If you don't want to go edge make sure you update your scripts
by running /scripts/upcp you can also do /scripts/upcp --force

For us this didn't work until the latest build, although we still have errors showing with wwwacct...

see also http://forums.cpanel.net/showthread.php?t=42188
 

s.r.

Active Member
Aug 24, 2005
33
0
156
Looks like there is another error:

Code:
root@server [~]# named-checkconf
/etc/rndc.key:2: expected string near ';'
root@server [~]# service named restart
Stopping named: rndc: error: /etc/rndc.key:2: expected string near ';'
rndc: could not load rndc configuration
                                                           [  OK  ]
Starting named:                                            [  OK  ]
root@server [~]#
 

s.r.

Active Member
Aug 24, 2005
33
0
156
this is the contents of /etc/rndc.key

Code:
key "" {
        algorithm ;
        secret "";
};
That doesnt look right...
How can I rebuild this file?

with this??
rndc-confgen
 

s.r.

Active Member
Aug 24, 2005
33
0
156
Thnx for the reply.
I tried:

ndc status

That didn't work, it failed with the error:
Code:
root@server [~]# ndc status
ndc: error: /etc/rndc.key:2: expected string near ';'
ndc: could not load rndc configuration