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 MaraBlue, Aug 26, 2012.

  1. MaraBlue

    MaraBlue Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    335
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    I found another thread with the same issue from October 2011 that stated this is a known issue with CentOS 6 (internal case # 51794 with the resolution scheduled to be included in cPanel version 11.30.5).

    Just wanted to state that this wasn't fixed in v11.30.5, it's still a problem on v11.32.3.

    Our server is CentOS release 6.3 (Final) 64-bit
    cPanel/WHM v11.32.3 (build 23)

    I'm hoping cPanelMichael was correct when he said "Please note the message is just a warning, and does not affect functionality."
     
  2. David Pequerul

    Joined:
    Aug 26, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest, Romania
    cPanel Access Level:
    DataCenter Provider
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    @MaraBlue. This problem seems to hapen in most of the CentOS 6.3, never had it with 6.2 or 5.8

    In my case it says 127.0.0.1 Connection refused.


    Update:

    On my DNS-Only I manage somehow to get it partially workin' (Still having the WARNING error, not the Connection refused.)
    On my WHM there's no way, it keeps with the connection refused.

    Update 2:

    Clean install of CentOS 6.2
    yum update

    On the cPanel installer it seems to get stuck on the step of setting RNDC.

    Named could not be restarted, any obious config errors....
    #ON WHM full
    No critical problems found, will attempt to generate keys regardless
    Creating rndc.conf (WHM)
    #ON DNSOnly
    detected empy file at /etc/rndc.key (DNSonly)

    AT this step the installer stops for over 30min on WHM and 1hour in DNSONLY (8 cores vs 1 core)

    Update 3:

    When trying to active the Server with the welcome setup. ON the Configuring Nameserver gets Stuck...

    setting up rndc configuration.

    and appears the Configuring Nameserver. And nothing else happens.

    Update 4:

    After 5minutos on the "Configuring Nameserver" it goes to next page for fnish the setup.
    Attempted to create a new zone and edit. The error is back.

    WARNING: Key file /etc/rndc.key exists, but using default configuration files /etc/rndc.conf
    rndc: connection failed: 127.0.0.1#953: Connection refused.
     
    #2 David Pequerul, Aug 27, 2012
    Last edited: Aug 27, 2012
  3. MaraBlue

    MaraBlue Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    335
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    I could be wrong, but that seems like a different problem entirely. I'd submit a ticket to cPanel and have them sort it out.
     
  4. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    Have a fresh CentOS 6.3 server, and also experiencing the "WARNING: key file (/etc/rndc.key) exists, but using default configuration file" error message. Will be interested in the solution, even if it's just a warning and doesn't affect functionality.

    - Scott
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    Please see this post:

    http://forums.cpanel.net/f34/named-wont-start-284821.html#post1191151

    It has been an issue with portreserve, so it might well be having problems due to that message. Notice the post above mine shows the same error at the end you are all indicating.
     
  6. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Re: WARNING: key file (/etc/rndc.key) exists, but using default configurati

    Tristan, thanks so much for the link to that thread... the solution there solved my problem!!

    - Scott
     
Loading...

Share This Page