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.

Bind suddenly failed beyond repair on a cpanel 11.30.6.6 stable server

Discussion in 'Bind / DNS / Nameserver Issues' started by stormthefront, Apr 15, 2012.

  1. stormthefront

    stormthefront Member

    Joined:
    Apr 15, 2012
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I could not find a specific category for help & issues, which is why I am opening the thread here. I have a server which is running on cpanel 11.30.6.6 stable. Yesterday, out of the blue its BIND service stopped and all my attempts to recover it failed miserably. I have tried the following well known remedies:

    -----------------
    /scripts/fixrndc
    -----------------

    It does not work - strace output:

    write(1, "/usr/local/cpanel/scripts/fixrnd"..., 121/usr/local/cpanel/scripts/fixrndc failed to fix the rndc key (or named is otherwise broken), please investigate manually
    ) = 121

    ---------------------------
    /scripts/rebuilddnsconfig
    ---------------------------

    generally outputs the same.

    -----------------------
    /scripts/upcp --force
    -----------------------

    Outputs the same when dealing with BIND during cpanel update

    ---------------
    rndc-confgen
    ---------------

    Regenerated and updated rndc.conf and rndc.key - no help at all

    ------------------------
    /etc/sysconfig/named
    ------------------------

    root path is commented - this does not seems to be the problem and cpanel does not think bind runs in chroot.

    As I have a number of other servers running on the same cpanel version; same bind version (BIND 9.3.6-P1-RedHat-9.3.6-20.P1.el5), I have thoroughly compared permissions of ALL named related files throughout several working servers and the non-working one.

    Of course, I am currently running bind with:

    named -g -u named 2>/dev/null &

    and this works correctly and I can easily edit its init script but the next cpanel update will wipe it clean.

    Do you guys have ANY constructive suggestions as to how to resolve the problem. Note that the server is running on an x86_64 arch.

    Best Regards,
    Krasimir Velkov
     
    #1 stormthefront, Apr 15, 2012
    Last edited: Apr 15, 2012
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    The best thing to do would be to open a ticket using the link in my signature.
     
Loading...

Share This Page