Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

named Failure after server migration

Discussion in 'General Discussion' started by kapone_pt, May 12, 2007.

  1. kapone_pt

    kapone_pt Member

    Joined:
    May 13, 2006
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    aftter a RH4 server to centOS 4.4 server using this script http://forums.cpanel.net/showthread.php?t=35046&highlight=cpbackup+all+accounts

    I can´t start named, i already used:

    /scripts/fixnamed
    /scripts/fixdnc
    /scripts/rebuildnamedconf

    named has failed, please contact the sysadmin (result was "named is not running"). May 12 11:16:02 WEB named: failed May 12 11:16:02 WEB named[22792]: starting BIND 9.2.4 -u named -t /var/named/chroot May 12 11:16:02 WEB named[22792]: using 2 CPUs May 12 11:16:02 WEB named[22792]: loading configuration from '/etc/named.conf' May 12 11:16:02 WEB named[22792]: /etc/named.conf:1: open: /etc/rndc.key: permission denied May 12 11:16:02 WEB named[22792]: loading configuration: permission denied May 12 11:16:02 WEB named[22792]: exiting (due to fatal error) May 12 11:16:02 WEB named: arranque do named failed

    Nothing result :(
     
  2. WhmSonic

    WhmSonic Well-Known Member

    Joined:
    Mar 19, 2007
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    156
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice