koniosek

Member
Feb 6, 2003
13
0
151
From about 3 days we have problem with named. Its crashing with this error:
Aug 11 22:36:48 --- named[28968]: view.c:1135: INSIST(result == 0 || result == 23) failed
Aug 11 22:36:48 --- named[28968]: exiting (due to assertion failure)

Sometimes it stops right after restart, sometimes after 1-10 hours of working.
Last time it works about 1hour - no updates, reload etc - and it stops.
I have tried fixbuggynamed, fixnamedviews, rebuildnamedconf, again setup nameservers at whm, reinstall other bind versions (9.3.4-6.0.1, 9.3.4-6) but nothing helps.

Our config for now: Centos 5.2
bind-libs-9.3.4-6.0.2.P1.el5_2
bind-devel-9.3.4-6.0.2.P1.el5_2
bind-9.3.4-6.0.2.P1.el5_2
bind-utils-9.3.4-6.0.2.P1.el5_2

... do you have any idea whats going on .. or what more we can do to fix this ?
 
Last edited:

xixi

Active Member
Mar 11, 2004
28
0
156
Welcome

I have exactly the same problem on newest stable version of CP:

named[29084]: view.c:1135: INSIST(result == 0 || result == 23) failed
named[29084]: exiting (due to assertion failure)

I have found that it might be a problem when using rndc , because it happens when i try to update zone files from other servers in cluster.

Koniosek have you server in cluster or its standalone machine ?
 

koniosek

Member
Feb 6, 2003
13
0
151
3 servers in cluster ... we are moving accounts from server no.1 to no.3 (with whm multi transfer) and problem is on no.2
but I have made few tests and it depends ... for example I create manually new account on no.3 and named working correctly on no.2 but mostly when we are moving accounts it crashing

second thing that on no.3 and no.2 are same software versions (cpanel/apache/mysql/centos/bind/etc..) and on no.3 named crashed only 3 times with last 4 days, but error was different:
named[3347]: timer.c:434: REQUIRE((((manager) != ((void *)0)) && (((const isc__magic_t *)(manager))->magic == ((('T') << 24 | ('I') << 16 | ('M') << 8 | ('M')))))) failed
named[3347]: exiting (due to assertion failure)

on no.2 are 3700 zones, on no.3 about 1100 for now - I will try on days move all of them to no.3 and will check how it will work
and no.3 isn't in use for now (none or only few queries from outside)

everything looks very strange ... and for now I doesn;t found any solution for this
 
Last edited:

xixi

Active Member
Mar 11, 2004
28
0
156
Yes you have right we have this problem in diffrent situations.
Generally now it shows that it can be problem with rndc because you are also updating zones frome other server in cluster.

Maybe someone from CP Support can help ?
 

vistapages

Registered
Mar 31, 2007
2
0
151
We're also seeing this issue on our secondary DNS-only machine:

WHM 11.2.0 cPanel 11.11.0-DNS16984
CENTOS Enterprise 5.2 i686 - WHM X v3.1.0

It was built brand new after our migration to a new network. Our older DNS1, works fine.
 

xixi

Active Member
Mar 11, 2004
28
0
156
So maybe its a problem with Centos 5.2 packages, beacuse we have notice this only in mache with that version ?
 

jclarke

Member
Oct 8, 2005
9
0
151
I've started to notice this occurring occasionally now on our dns cluster. Did anyone find a solution to this?
 

xixi

Active Member
Mar 11, 2004
28
0
156
I have noticed that it doesnt depends on cpanel version.
We have now the latest stable(11.23.6-STABLE_27225) version on our server and problem still occurs.
But we notice that it doesnt occur on our Centos 4.7 server but only on system with CentOS release 5.2.
Centos 5.2 is primary dns in cluster and centos 4.7 is secondary dns in cluster.
So maybe it depends on some bind packages ? or as i said earlier its sth wrong wih rndc ?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
308
cPanel Access Level
Root Administrator
These errors are from BIND itself and specifically from a patch that RedHat applies. The error indicates the internal data BIND is using is not in a state that BIND expects.
 

xixi

Active Member
Mar 11, 2004
28
0
156
Okay, we suppose that problem is coming from system not from CPanel, but now the question is how to solve this problem in Centos 5.2 ?
 

markb14391

Well-Known Member
Jun 9, 2008
305
2
68
I've just set up cPanel DNS Only (OpenVZ VPS running on CentOS) and it's been more of a problem than a help. Named quits working often. Once I checked ntsysv, and named wasn't even in the list of services to be used. Shouldn't cPanel DNS Only have set this?

It's even harder because there is no way in cPanel DNS to confirm whether DNS is working or not. I have to rely on external port monitoring to know when the DNS server is not responding. I mean, it's very frustrating...this app is supposed to do one thing: DNS. And that's the thing I can't get it to do reliably.

Of course, I can't run a hosting business like this. (Good thing these servers aren't in production yet.) Is there a way to make the DNS Only setup run right? Am I really gaining anything by setting it up this way? Would it be just as effective to simply have my cPanel hosting servers handle DNS, and cluster them for redundancy?

Thanks in advance.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
11
313
Houston, TX
cPanel Access Level
Root Administrator
I've just set up cPanel DNS Only (OpenVZ VPS running on CentOS) and it's been more of a problem than a help. Named quits working often. Once I checked ntsysv, and named wasn't even in the list of services to be used. Shouldn't cPanel DNS Only have set this?

It's even harder because there is no way in cPanel DNS to confirm whether DNS is working or not. I have to rely on external port monitoring to know when the DNS server is not responding. I mean, it's very frustrating...this app is supposed to do one thing: DNS. And that's the thing I can't get it to do reliably.

Of course, I can't run a hosting business like this. (Good thing these servers aren't in production yet.) Is there a way to make the DNS Only setup run right? Am I really gaining anything by setting it up this way? Would it be just as effective to simply have my cPanel hosting servers handle DNS, and cluster them for redundancy?

Thanks in advance.
I recommend submitting a support ticket regarding this situation so our technical analysts can provide assistance.
 

markb14391

Well-Known Member
Jun 9, 2008
305
2
68
Thanks. Will they support the DNS Only product even though it's free?

Also, do you think I actually gain anything from using DNS Only? Would it be just as effective to use the nameservers in each of my two cPanel hosting servers (which are in different datacenters), and just sync them? Is there any security risk in having the domain zone files for each server on the other? And will this kind of system support a larger client base as I grow? I just want to decide at this point whether to keep working on this DNS Only issue or change my strategy.

Thanks!
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
11
313
Houston, TX
cPanel Access Level
Root Administrator
Thanks. Will they support the DNS Only product even though it's free?

Also, do you think I actually gain anything from using DNS Only? Would it be just as effective to use the nameservers in each of my two cPanel hosting servers (which are in different datacenters), and just sync them? Is there any security risk in having the domain zone files for each server on the other? And will this kind of system support a larger client base as I grow? I just want to decide at this point whether to keep working on this DNS Only issue or change my strategy.

Thanks!
As cPanel DNS-Only is tied to the functionality of a cPanel/WHM server, yes - it will be supported by our technical analysts.

Usually for small providers, there's not much to be gained from running a separate DNS-Only server. Keep in mind, cPanel DNS Only is only a stripped down cPanel/WHM. Therefore all of that functionality is also present in cPanel/WHM. In the long-term, you could just setup a DNS cluster among cPanel/WHM servers if you grow.

Common uses for DNS-Only are to have a separate server handing DNS so if the cPanel/WHM server goes offline, DNS remains online, and (though not limited to having a DNS-Only server) to have a separate nameserver so when you grow and need to move accounts among servers, the domains can retain the same nameservers so you don't need to have your clients update the nameservers at their registrar.

Zone files can only be edited from the server on which they are issued, and even then only by those with proper permissions. So there is no security risk for hosting zone files across multiple servers.
 

markb14391

Well-Known Member
Jun 9, 2008
305
2
68
Followup: Before putting in a ticket, I thought I would rebuild the VPS and reinstall cPanel DNS Only. Right after installing I ran "service named status" and got this message:

rndc: connect failed: 127.0.0.1#953: connection refused

So named was not running, immediately after installing cPanel DNS Only. Is this because I had not yet activated clustering? Or should it have run from the start no matter what?

Thanks.
 

xixi

Active Member
Mar 11, 2004
28
0
156
These errors are from BIND itself and specifically from a patch that RedHat applies. The error indicates the internal data BIND is using is not in a state that BIND expects.
Can you explain somethig more how to solve this problem ?
Undo the patch ? find new version ?
Any help would be appreciate
 

markb14391

Well-Known Member
Jun 9, 2008
305
2
68
Yes, a little help please. Now that I've resolved my license error issue (cPanel issue on top of all the bugs and other problems that have caused me to spend my weekend troubleshooting), this problem is back. Damn.

Amazing, after installing cPanel DNS only, named isn't running. You'd think that the installer would automatically activate the one feature it needs to work. (Very fed up with cPanel/WHM.)
 

jenlepp

Well-Known Member
Jul 4, 2005
116
2
168
Liberty Hill, TX
cPanel Access Level
DataCenter Provider
I just found this problem on a clustered dns solution as well - massive crash. Is there a version that doesn't have this issue or some kind of a fix yet? (Crashed with "exiting (due to assertion failure)")
 
Last edited: