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 rndc.key

Discussion in 'General Discussion' started by supersoft, Feb 13, 2007.

  1. supersoft

    supersoft Member

    Joined:
    Feb 10, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello (excuseme for my english) I post this message in Español but without answers
    In last six days 1:30 hour Argentina(GMT -3)
    I recibed messages

    And after some minutes the named failes.

    I restart named --> failed

    The Adm say: failure de conf del rndc



    I solution the problem with

    but in next day at same hour the problem repeat

    Solution?
     
  2. dreamwiz

    dreamwiz Well-Known Member

    Joined:
    Aug 28, 2003
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Have you tried /scripts/fixrndc ?
     
  3. supersoft

    supersoft Member

    Joined:
    Feb 10, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Yes.
    Alfer run /scripts/fixrndc the named--> failed

    Too when edit zone DNS or add new account

     
  4. Shinichi Kato

    Shinichi Kato Well-Known Member

    Joined:
    Mar 7, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Saitama-ken,japan
    /scripts/fixndc
    /scripts/fixrndc
    /scripts/fixnamed
     
  5. supersoft

    supersoft Member

    Joined:
    Feb 10, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    No run:( named--> Failed


     
  6. supersoft

    supersoft Member

    Joined:
    Feb 10, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    All days the same problema:mad: :mad:


     
  7. Rich43

    Rich43 Member

    Joined:
    Jan 7, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I got this problem too.. I had to write my own config file. Cpanel keeps inserting an invalid key.
     
  8. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    You'll need to fix the key in /etc/rndc.key
     
  9. Rich43

    Rich43 Member

    Joined:
    Jan 7, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Yeah I do, but I wish cpanel wouldnt generate a dodgy key, its an annoyance!

    Heres an example of a crap key cpanel makes on centos 5 64bit:
    key "rndc-key" {
    algorithm hmac-md5;
    secret "Sk4oeqLWoeifi8A1e
    ";
    };

    yes it puts the speech marks on next line too.. whats up with that?
     
  10. tangelis

    tangelis Registered

    Joined:
    Jun 26, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I had the same problem.
    To fix this do the following:
    cd /etc
    mv rndc.conf _rndc.conf
    /scripts/fixrndc

    It seems that the source of the problem is the /etc/rndc.conf

    To test that the problem has been fixed, run /scripts/upcp(this is the script that runs every day and by calling the /scripts/fixrndc, creates a corrupt /etc/rndc.key) and then check if named is still running and /etc/rndc.key secret is valid.
     
  11. aontech

    aontech Member

    Joined:
    Sep 29, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Cherryvale, KS
    Code:
    /scripts/fixrndc
    warn [fixrndc] /usr/sbin/rndc status failed: rndc: recv failed: connection reset
    warn [fixrndc] rndc.conf not located on system
    warn [fixrndc] rndc.conf not located on system
    Creating rndc.conf
    Creating /etc/rndc.key
    Including rndc key file to named.conf
    Adding controls clause
    warn [fixrndc] /usr/sbin/rndc status failed: rndc: recv failed: connection reset
    Restarting named
    warn [fixrndc] /usr/sbin/rndc status failed: rndc: recv failed: connection reset
    /scripts/fixrndc failed to fix the rndc key (or named is otherwise broken), please investigate manually
    Time to call support, eh?
     
  12. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you have not already done so, please submit a support ticket so that we may investigate this problem directly on your server.
     
Loading...

Share This Page