Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Jan 2006
    Posts
    27

    Default New install, cannot start dns server

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Fedora Core 4 is not supported for new installations of cPanel/WHM. I would recommend using Fedora Core 5 instead.

  3. #3
    Member
    Join Date
    Jul 2005
    Posts
    22

    Smile Reinstall named

    Dear unomateo,

    try uninstall named with yum remove bind and reinstall them again with yum install bind.
    Regards,

    Eduardo Silvestre

  4. #4
    Member
    Join Date
    Jun 2004
    Location
    amsterdam
    Posts
    267

    Default

    you can use beter CentOS then Fedora. The support of Fedora is shortly and is a devel OS
    Last edited by rachweb; 05-11-2007 at 01:29 PM.

  5. #5
    Member
    Join Date
    Jan 2006
    Posts
    27

    Default

    Quote Originally Posted by jsilvestre View Post
    Dear unomateo,

    try uninstall named with yum remove bind and reinstall them again with yum install bind.
    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. #6
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by unomateo View Post
    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?
    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. #7
    Member
    Join Date
    Jan 2006
    Posts
    27

    Default

    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. #8
    Member
    Join Date
    Mar 2007
    Posts
    45

    Default

    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.
    Best Regards,
    WHMSonic Plugins Administrator ( ShoutCast Admin Pro Plugin )
    Details Click Here

  9. #9
    Registered User
    Join Date
    Jul 2005
    Posts
    2

    Default 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. #10
    Member
    Join Date
    Jan 2006
    Posts
    27

    Default

    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 Code:
    [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. #11
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2006
    Location
    Lansing, Mi
    Posts
    19

    Default fixed.

    Quote Originally Posted by WhmSonic View Post
    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.
    This fixed it for me. Thanks.

  12. #12
    Member
    Join Date
    Dec 2001
    Location
    Bay Area
    Posts
    12

    Default

    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

Similar Threads & Tags
Similar threads

  1. MySQL won't start [fresh install]
    By HeSWeB in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-03-2008, 08:54 AM
  2. DNS Server (BIND) not working (new install)
    By wsenter in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-07-2007, 10:35 PM
  3. cPanel DNS only install dont start...
    By Danny_T in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-09-2006, 05:02 AM
  4. dns only install on existing server
    By dotcomguy in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-23-2006, 01:57 AM
  5. X cannot start right after cPanel install
    By norus in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-23-2005, 05:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube