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.

named failed to start

Discussion in 'General Discussion' started by omenix, Aug 19, 2007.

  1. omenix

    omenix Active Member

    Joined:
    Aug 24, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    /dev/null
    Hey guys,

    1 of my client's server got named failed to start and my client said that he failed to upgrade to CentOS 5 so he revert back to 4.5 and this is what I get from /var/log/messages

    Aug 20 09:49:04 sv1 named[20943]: starting BIND 9.2.4 -u named
    Aug 19 23:49:04 sv1 named[20943]: using 2 CPUs
    Aug 19 23:49:04 sv1 named[20943]: loading configuration from '/etc/named.conf'
    Aug 19 23:49:04 sv1 named[20943]: none:0: open: /etc/named.conf: permission denied
    Aug 19 23:49:04 sv1 named[20943]: loading configuration: permission denied
    Aug 19 23:49:04 sv1 named[20943]: exiting (due to fatal error)

    And I believed it has nothing to do with the normal permission such as (chown named.named) problems. Is there a way that I can figure this out? Actually few services are still down

    eximstats,spamd and named. Any suggestions much appreciate.
     
  2. Keegan

    Keegan Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Same problem here, well actually I have tons of problems =(

    Fighting this crap to the point of giving up.

    Crackers are just ruining me.
     
  3. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    This fix the problem for me:

    /scripts/fixndc
    /scripts/fixndc

    /scripts/fixrndc
    /scripts/fixrndc

    /scripts/fixnamed
    /scripts/fixnamed

    (all 2 times)

    /scripts/rebuildnamedconf
     
  4. Ghulam Yaseen

    Ghulam Yaseen Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Karachi,Pakistan
    linux/ Unix thirst

    Hello :),
    The below commands are right but in fact before going ahead with the

    --> /scripts/rebuildnamedconf
    please do this before above:

    --> mv /etc/named.conf named.conf.bk
    and then execute the /scripts/rebuildnamedconf. this should fix it:cool:
     
Loading...

Share This Page