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 Problems *Need Help*

Discussion in 'Bind / DNS / Nameserver Issues' started by NobeleeNa, Aug 18, 2004.

  1. NobeleeNa

    NobeleeNa Active Member

    Joined:
    May 26, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Makassar, Sulawesi Selatan - INDONESIA
    I just install my server with RedHat 9 and install CPanel in the server. When the installation is complete, I login to WHM and make the setup. When I want to enable the nameserver it shows failed and I just keep continue the setup. After setup is complete, I try to restart the BIND but this is what I got.

    Attempting to restart named
    Waiting for named to restart.... . . . . . . . . . . finished.

    named status


    named has failed, please contact the sysadmin (result was "named is not running").

    I was trying to fix this by doing "/scripts/fixndc" in the Shell box and bellow is what I saw.

    Fixndc using rh9/rhes3/fedora support
    Adding key...
    Adding controls...
    Adding hint zone...
    cp: cannot stat `/etc/namedb/named.conf': No such file or directory
    cp: cannot stat `/etc/namedb/named.conf.fixndc': No such file or directory
    Restarting bind.....Waiting for named to restart..............finished.


    named has failed, please contact the sysadmin (result was "named is not running").
    Done
    All fixed

    I never had this issue before using CPanel. So can anyone help me out please?


    Regards,

    Bryan
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    this has already been discussed at length with fixes posted

    just do a search
     
  3. NobeleeNa

    NobeleeNa Active Member

    Joined:
    May 26, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Makassar, Sulawesi Selatan - INDONESIA
    Hello,

    I have do some research and I have create a named.conf in /etc and /etc/namedb directory. I'm doing "/scripts/fixndc" in the Shell box again and bellow is what I saw.

    root@sulawesi [/var/named]# /scripts/fixndc
    Fixndc using rh9/rhes3/fedora support
    Found controls in named.conf ..
    Adding key...
    Restarting bind.....Waiting for named to restart..............finished.

    named 3396 0.2 0.2 29696 2576 ? S 19:12 0:00 /usr/sbin/named -u named

    named started ok
    Aug 18 19:12:55 sulawesi named[3330]: shutting down
    Aug 18 19:12:55 sulawesi named[3330]: no longer listening on 127.0.0.1#53
    Aug 18 19:12:55 sulawesi named[3330]: no longer listening on 66.199.233.2#53
    Aug 18 19:12:55 sulawesi named[3330]: exiting
    Aug 18 19:12:55 sulawesi named: named shutdown succeeded
    Aug 18 19:12:55 sulawesi named[3396]: starting BIND 9.2.1 -u named
    Aug 18 19:12:55 sulawesi named[3396]: using 1 CPU
    Aug 18 19:12:55 sulawesi named[3396]: loading configuration from '/etc/named.conf'
    Aug 18 19:12:55 sulawesi named[3396]: no IPv6 interfaces found
    Aug 18 19:12:55 sulawesi named[3396]: listening on IPv4 interface lo, 127.0.0.1#53
    Aug 18 19:12:55 sulawesi named[3396]: listening on IPv4 interface eth0, 66.199.233.2#53
    Aug 18 19:12:55 sulawesi named[3396]: zone 'localhost' allows updates by IP address, which is insecure
    Aug 18 19:12:55 sulawesi named[3396]: zone '0.0.127.in-addr.arpa' allows updates by IP address, which is insecure
    Aug 18 19:12:55 sulawesi named[3396]: command channel listening on 127.0.0.1#953
    Aug 18 19:12:55 sulawesi named: named startup succeeded
    Aug 18 19:12:55 sulawesi named[3396]: zone 0.0.127.in-addr.arpa/IN: loaded serial 20040819
    Aug 18 19:12:55 sulawesi named[3396]: zone localhost/IN: loaded serial 20040819
    Aug 18 19:12:55 sulawesi named[3396]: running
    Done
    All fixed

    Also, I was trying to create a Hostname entry in the DNS Zone but when I check, nothing is show.

    Looking forward to hear from you.


    Regards,

    Bryan
     
    #3 NobeleeNa, Aug 18, 2004
    Last edited: Aug 18, 2004
Loading...

Share This Page