Results 1 to 3 of 3

Thread: BIND issue on a fresh server

  1. #1
    Member Indianets's Avatar
    Join Date
    Jun 2008
    Posts
    62
    cPanel/WHM Access Level

    Root Administrator

    Post BIND issue on a fresh server

    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

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,461
    cPanel/WHM Access Level

    Root Administrator

    Default Re: BIND issue on a fresh server

    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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    Member Indianets's Avatar
    Join Date
    Jun 2008
    Posts
    62
    cPanel/WHM Access Level

    Root Administrator

    Default Re: BIND issue on a fresh server

    Thank you Jared

Similar Threads

  1. Bind problem on fresh install on ubuntu
    By Frano8 in forum New User Questions
    Replies: 6
    Last Post: 02-05-2009, 10:36 AM
  2. Fresh install on CentOS - bind failing
    By areh in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 08-12-2007, 11:12 AM
  3. BIND issue?
    By Denis Perisa in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-28-2006, 02:42 PM
  4. Problem installing bind on fresh Cpanel install, CentOS 3.3
    By carock in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 11-30-2004, 03:24 PM
  5. Bind Issue *please help*
    By NH-Benjamin in forum cPanel & WHM Discussions
    Replies: 16
    Last Post: 08-20-2004, 12:12 PM

Tags for this Thread