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.

etc/named.conf Not Found Problem

Discussion in 'General Discussion' started by fairblack, Apr 8, 2008.

  1. fairblack

    fairblack Registered

    Joined:
    Apr 8, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I was install Centos 5 And cpanel. But i have got a dns problem on this machine. Named is not working and broken. I cant add any nameserver or new domain or new zone via my WHM.

    I got that error when restarting the DNS Server.
    --------------
    Waiting for named to restart.... . . . . . . . . . . finished.

    named status

    named has failed, please contact the sysadmin (result was "named is not running"). Apr 8 15:03:53 server465 named: none:0: open: /etc/named.conf: file not found
    ---------------

    What can i do?

    Thanks
     
  2. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi there,

    Just for fun, to know, is bind installed? Issue this command in a shell:

    rpm -qa | grep bind

    I'm curious. Paste the output here.

    Regards,
     
  3. Avi-Buda

    Avi-Buda Registered

    Joined:
    Dec 25, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Got same error. Here's the output you were curious about:
    -=-=-=-=-=-=-=-=-
    root@mailserver [~]# rpm -qa | grep bind
    bind-libs-9.3.4-6.0.1.P1.el5_2
    bind-9.3.4-6.0.1.P1.el5_2
    bind-devel-9.3.4-6.0.1.P1.el5_2
    ypbind-1.19-8.el5
    bind-utils-9.3.4-6.0.1.P1.el5_2
    -=-=-=-=-=-=-=-=-
    Now what? :)
     
  4. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    moscow
    you need rebuild /etc/named.conf from WHM. or if you are on new server just create it manually.
     
  5. myweb

    myweb Well-Known Member

    Joined:
    Jun 18, 2002
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tokyo
    I am also having the same problem. The file /etc/named.conf does exist, but with root as owner/group. I tried to chown named:named /etc/named.conf, but it doesnt take any effect, so it remains as root/root. Any idea?
     
  6. phatrik

    phatrik Member

    Joined:
    Jul 27, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto, ON



    Rebuilding namedconf is the solution but any ideas why this would be happening in the first place?



    Thank you


    Rik
     
Loading...

Share This Page