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.

Unable to start named

Discussion in 'General Discussion' started by edwin.brocke, Nov 7, 2008.

  1. edwin.brocke

    edwin.brocke Registered

    Joined:
    Oct 3, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I tried restarting named through SSH and through WHM but get the following error:

    Starting named:
    Error in named configuration:
    none:0: open: /etc/named.conf: file not found

    I have tried all the suggestions on this forum but still doesn't work. Please advise.
     
  2. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    hi please check whether named is there...

    use command "whereis named"

    :)
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    What cPanel version are you using, v11.24 or earlier? Are you sure this file is not deleted?
     
  4. edwin.brocke

    edwin.brocke Registered

    Joined:
    Oct 3, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    There is no named.conf file in /etc however BIND is installed with the required RPM's. In the named.conf file the ROOT_DIR is chroot I believe. Does this help?
     
  5. lngtanseco

    lngtanseco Well-Known Member

    Joined:
    Jun 9, 2006
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Have you tried:

    Code:
    /scripts/rebuildnamedconf
     
  6. edwin.brocke

    edwin.brocke Registered

    Joined:
    Oct 3, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    /scripts/rebuildnamedconf

    !! fixrndc requires a syntactically correct /etc/named.conf.
    !! No changes were made to /etc/named.conf. Problem was:
    !! /etc/named.conf:1: '{' expected near 'section'
     
  7. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    Do a

    rename your named.conf , and then do

    /scripts/rebuiltnamedconf
     
  8. rhenderson

    rhenderson Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    785
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Oklahoma
    cPanel Access Level:
    Root Administrator
    Hi, according to cPanel /scripts/rebuiltnamedconf is depreciated and you should be using /scripts/rebuilddnsconfig

    So you might try
    /scripts/fixndc
    Then
    /scripts/rebuilddnsconfig
     
Loading...

Share This Page