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 after today's /scripts/upcp

Discussion in 'General Discussion' started by skratchit, Mar 28, 2008.

  1. skratchit

    skratchit Member

    Joined:
    Aug 29, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    /scripts/upcp did its usual daily run today and appears to have broken BIND/NAMED. Named is refusing to start with this error:

    From /scripts/upcp
    and

    /etc/named.conf exists (named:named 0777)

    It is a link to /var/named/chroot//etc/named.conf.fixrndc (group named, owner root, 0644), which contains include "/etc/rndc.key";

    /etc/rndc.key exists (named:named 0777), it is a link to /var/named/chroot//etc/rndc.key (named:named, 0660) and contains:

    Code:
    key "rndc-key" {
    	algorithm hmac-md5;
    	secret "XXXXXXXXXXXXXXX";
    };

    (where XXXXXXXXXXXXXXX is a secret...)


    Please help! What has this broken today? Are these new permissions wrong?

    My server:
     
  2. skratchit

    skratchit Member

    Joined:
    Aug 29, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I opened a support ticket and they resolved it very quickly :D
     
  3. borki

    borki Member

    Joined:
    Jan 9, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    And please, how did they resolve it? Run /scripts/upcp again?

    The last two days were a catastrophe - first courier & mail failed due to wrong compat libs (see another thread) and today bind..
     
  4. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    I have the same problem. Can you please post the FIX ?
     
  5. Insyder

    Insyder Member

    Joined:
    Jun 29, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Exact same issue. Edge didnt help either
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    What is defined for ROOTDIR in /etc/sysconfig/named ?
     
  7. Insyder

    Insyder Member

    Joined:
    Jun 29, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    ROOTDIR=/var/named/chroot
     
  8. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Is your system in the same condition as skratchit posted initially, or is it simply a matter that named won't start?
     
    #8 cPanelKenneth, Jul 10, 2008
    Last edited: Jul 10, 2008
  9. m33pstah

    m33pstah Registered

    Joined:
    Jul 10, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I had the same problem today after a update its totally killed my server's named daemon and i found no help for it what so ever, what I have ended up doing is removing the whole thing and re-installing.....

    using yum, This has fixed the problem for me but now i have other problems, I knew turning automatic updates on was a crap idea.
     
  10. Insyder

    Insyder Member

    Joined:
    Jun 29, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Yes, exact same errors, mostly revolving around the 'file not found' part.

    /etc/named.conf.fixrndc and /etc/named.conf are identical at /scripts/cPScript/FileUtils.pm line 264
    Changing ownership of /etc/named.conf: named:named
    Starting named:
    Error in named configuration:
    none:0: open: /etc/named.conf: file not found
    [FAILED]
    ...Done


    none:0: open: /etc/named.conf: file not found
     
  11. sampride

    sampride Member

    Joined:
    Jul 8, 2005
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Just comment out this line in /etc/sysconfig/named.

    #ROOTDIR=/var/named/chroot
     
Loading...

Share This Page