Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

BIND issue on a fresh server

Discussion in 'Bind/DNS/Nameserver' started by Indianets, Jan 8, 2011.

  1. Indianets

    Indianets Well-Known Member

    Joined:
    Jun 13, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Hello,

    I am getting this on a new fresh server.

    Code:
    # /scripts/rebuilddnsconfig
    Copying /etc/rndc.key to /var/named/chroot/etc/rndc.key
    /etc/rndc.key already exists in chroot environment.
    
    Some relevant info below -

    Code:
    # rpm -q bind
    bind-9.3.6-4.P1.el5_5.3
    
    # uname -a
    Linux host.servers.tld 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    
    # cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
    
    Any insight?

    Vijay
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    20
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In /etc/sysconfig/named, BIND/named is set to run in a chroot environment, but the bind-chroot package is not installed. To fix this, do the following:

    • Edit /etc/yum.conf and remove bind-chroot from the exclude= line.
    • Run the following commands:
      Code:
      # yum install -y bind-chroot
      # yum remove -y bind-chroot
    • Edit /etc/yum.conf and add bind-chroot back to the exclude= line.

    BIND/named will now be configured in a non-chroot environment, and cPanel utilities such as /scripts/rebuilddnsconfig will work as expected. For most cPanel installations, chrooting BIND/named is not needed and we recommend a regular, non-chrooted nameserver installation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Indianets

    Indianets Well-Known Member

    Joined:
    Jun 13, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Thank you Jared :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice