Bind suddenly failed beyond repair on a cpanel 11.30.6.6 stable server

stormthefront

Member
Apr 15, 2012
18
1
53
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
 
Last edited: