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.

WARNING: key file (/etc/rndc.key) exists, but using default configuration

Discussion in 'General Discussion' started by MarcoH64, Oct 28, 2011.

Thread Status:
Not open for further replies.
  1. MarcoH64

    MarcoH64 Member

    Joined:
    Oct 4, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Thailand
    cPanel Access Level:
    Root Administrator
    Every time i do anything with DNS on an almost freshly installed server, i get the following warning in WHM:

    Code:
    Error reconfiguring bind on web1: WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
    This happens when editing a DNS zone (without making any actual changes) or when adding a new cPanel account.
     
  2. gnutoolbox

    gnutoolbox Member

    Joined:
    Sep 25, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    try /scripts/fixrndc and restart the nameserver (service named restart)
     
    #2 gnutoolbox, Oct 30, 2011
    Last edited: Oct 30, 2011
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    Hello :)

    It's possible this is related to an existing bug related to the use of CentOS 6.

    Could you let us know which Operating System and version of cPanel is installed on this system?

    Thank you.
     
  4. MarcoH64

    MarcoH64 Member

    Joined:
    Oct 4, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Thailand
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    Hello,

    That sounds like it could be the case, sorry for not stating the OS and cPanel version in the OP.

    O.S.: CentOS 6.0 64-bit
    cPanel: 11.30.4.6
     
  5. MarcoH64

    MarcoH64 Member

    Joined:
    Oct 4, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Thailand
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    Thanks for the suggestion. I will first wait the reply of Michael regarding the bug before trying though.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    Yes, this is a known bug associated with CentOS 6 and rndc. For reference, the internal case number is:

    # 51794

    That case is a backport, with the resolution scheduled to be included in cPanel version 11.30.5.

    You can monitor our Change Log at:

    cPanel Change Log

    Please note the message is just a warning, and does not affect functionality. I am closing this thread at this time. If you continue to experience problems after the fix is published, feel free to use the following URL to submit a bug report:

    Submit A Bug Report

    Thank you.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page