The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Named crashing ...

Discussion in 'General Discussion' started by koniosek, Aug 11, 2008.

  1. koniosek

    koniosek Member

    Joined:
    Feb 6, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    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 ?
     
    #1 koniosek, Aug 11, 2008
    Last edited: Aug 12, 2008
  2. xixi

    xixi Active Member

    Joined:
    Mar 11, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    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 ?
     
  3. koniosek

    koniosek Member

    Joined:
    Feb 6, 2003
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    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
     
    #3 koniosek, Aug 13, 2008
    Last edited: Aug 13, 2008
  4. xixi

    xixi Active Member

    Joined:
    Mar 11, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    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 ?
     
  5. vistapages

    vistapages Registered

    Joined:
    Mar 31, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  6. xixi

    xixi Active Member

    Joined:
    Mar 11, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    So maybe its a problem with Centos 5.2 packages, beacuse we have notice this only in mache with that version ?
     
  7. jclarke

    jclarke Member

    Joined:
    Oct 8, 2005
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I've started to notice this occurring occasionally now on our dns cluster. Did anyone find a solution to this?
     
  8. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The latest builds of cPanel/WHM resolve many of these Named issues.
     
  9. xixi

    xixi Active Member

    Joined:
    Mar 11, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    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 ?
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  11. xixi

    xixi Active Member

    Joined:
    Mar 11, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    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 ?
     
  12. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    18
    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.
     
  13. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend submitting a support ticket regarding this situation so our technical analysts can provide assistance.
     
  14. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    18
    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!
     
  15. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
  16. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    18
    David, thanks for the reply.
     
  17. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    18
    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.
     
  18. xixi

    xixi Active Member

    Joined:
    Mar 11, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    6
    Can you explain somethig more how to solve this problem ?
    Undo the patch ? find new version ?
    Any help would be appreciate
     
  19. markb14391

    markb14391 Well-Known Member

    Joined:
    Jun 9, 2008
    Messages:
    305
    Likes Received:
    2
    Trophy Points:
    18
    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.)
     
  20. jenlepp

    jenlepp Well-Known Member

    Joined:
    Jul 4, 2005
    Messages:
    116
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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)")
     
    #20 jenlepp, Sep 30, 2008
    Last edited: Sep 30, 2008
Loading...

Share This Page