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.

New install, cannot start dns server

Discussion in 'Bind / DNS / Nameserver Issues' started by unomateo, May 11, 2007.

  1. unomateo

    unomateo Active Member

    Joined:
    Jan 14, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    fresh install on Fedora 4. First thing I did was upgrade to WHM11.

    When I try to start dns server is failes with this error:
    named has failed, please contact the sysadmin (result was "named is not running"). May 11 00:10:27 14423-26474 named[23231]: starting BIND 9.3.1 -u named -t /var/named/chroot May 11 07:10:27 14423-26474 named[23231]: found 4 CPUs, using 4 worker threads May 11 07:10:27 14423-26474 named[23231]: loading configuration from '/etc/named.conf' May 11 07:10:27 14423-26474 named[23231]: none:0: open: /etc/named.conf: permission denied May 11 07:10:27 14423-26474 named[23231]: loading configuration: permission denied May 11 07:10:27 14423-26474 named[23231]: exiting (due to fatal error)

    I've tried everything fixndc, fixnamed, I've chowned the rndc key and conf to named.named

    I removed and reinstalled bind.

    I really need help
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Fedora Core 4 is not supported for new installations of cPanel/WHM. I would recommend using Fedora Core 5 instead.
     
  3. jsilvestre

    jsilvestre Member

    Joined:
    Jul 7, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Reinstall named

    Dear unomateo,

    try uninstall named with yum remove bind and reinstall them again with yum install bind.
     
  4. rachweb

    rachweb Well-Known Member

    Joined:
    Jun 26, 2004
    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    amsterdam
    you can use beter CentOS then Fedora. The support of Fedora is shortly and is a devel OS
     
    #4 rachweb, May 11, 2007
    Last edited: May 11, 2007
  5. unomateo

    unomateo Active Member

    Joined:
    Jan 14, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I did...it did not work. It was a permission problem. The colocation took care of the problem.

    now my question is, can I upgrade to core 5, or do I have to do a complete reinstall?
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Fedora support for Fedora Core 5 is due to end soon (within months) it is more prudent to:

    * Install Fedora Core 6
    * Wait and install Fedora 7
    * Install CentOS 4 or 5 and no longer play the constant upgrade game of Fedora

    :)
     
  7. unomateo

    unomateo Active Member

    Joined:
    Jan 14, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    is it possible to upgrade from fedora core 4 to 5/6 remotely...

    what is recommended? I cannot upgrade locally. I have seen some threads on how to do it, but I do not knwo if they were howto with local system access.

    thanks
     
  8. WhmSonic

    WhmSonic Well-Known Member

    Joined:
    Mar 19, 2007
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Hello,
    This is a permission problem on some files here is my fix way:

    Code:
    chown -R named:named /etc/named.conf
    chown -R named:named /var/named/chroot/etc/rndc.key
    chmod 755 /var/named/chroot/etc/rndc.key
    service named restart
    
    This will fix your named file permission error.
     
  9. travisjohnson

    travisjohnson Registered

    Joined:
    Jul 20, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    this code works

    This code is truly a life saver - named finally restarted. I used the /scripts/upcp to update my cpanel, next thing I know named was down and none of my sites would showup. After doing some soul searching, I found this thread and code to restart the named server.
    Here it is again:

    chown -R named:named /etc/named.conf
    chown -R named:named /var/named/chroot/etc/rndc.key
    chmod 755 /var/named/chroot/etc/rndc.key
    service named restart

    Thanks!!

    Here is my response to the above code:

    Starting named: [FAILED]
    root@server [~]# chown -R named:named /etc/named.conf
    root@server [~]# chown -R named:named /var/named/chroot/etc/rndc.key
    root@server [~]# chmod 755 /var/named/chroot/etc/rndc.key
    root@server [~]# service named restart
    Stopping named: [FAILED]
    Starting named: [ OK ]
     
  10. unomateo

    unomateo Active Member

    Joined:
    Jan 14, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    we have a fresh install with fedora core 6 and cpanel 11.
    Named failed to start after install.

    I ran the above script and it still failed?

    PHP:
    [root@cp tmp]# chown -R named:named /etc/named.conf
    [root@cp tmp]# chown -R named:named /var/named/chroot/etc/rndc.key
    [root@cp tmp]# chmod 755 /var/named/chroot/etc/rndc.key
    [root@cp tmp]# service named restart
    Stopping named:                                            [FAILED]
    Starting named:
    Error in named configuration:
    /
    etc/named.conf:65open: /var/named/named.rfc1912.zonesfile not found
     
  11. LiquidWebBenny

    PartnerNOC

    Joined:
    Nov 3, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lansing, Mi
    fixed.

    This fixed it for me. Thanks.
     
  12. gounder

    gounder Member

    Joined:
    Dec 4, 2001
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bay Area
    I you remove bind chances are that caching-nameserver will removed as well. So make sure you install "caching-nameserver" as well.

    # yum install caching-nameserver
     
Loading...

Share This Page