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.

ndc key problem in WHM

Discussion in 'General Discussion' started by tabernack, Nov 26, 2001.

  1. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    when I add or modify a dns zone, I get the following error:

    KillDNS 0.1 (c) DarkORB Communications Inc.
    adf.com -> deleted
    ndc: get key definition: not found

    I\'ve had the ndc: connection refused problem in the past, and all I had to do was copy the key in /etc/rndc.conf into the named.conf file and restart bind. I did that, but I now get this error.

    Any idea how to fix this?
     
  2. MichaelShanks

    MichaelShanks Well-Known Member
    PartnerNOC

    Joined:
    Aug 20, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    try

    /scripts/fixndc

    if that doesnt work post up the relevant lines from your named.conf and rncd.conf (both in /etc)
     
  3. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Yeah, I\'m familiar with how to fix the:

    NDC: connection refused error

    but this error is slightly different. I already ran the fixndc script and ran it again and received:

    root@wasp [~]# /scripts/fixndc
    Found key in named.conf ..
    Found controls in named.conf ..
    named.conf has already been fixed!

    The key\'s in my named.conf and rndc.conf match. So, I think this is a different error since the error message is slightly different:

    KillDNS 0.1 (c) DarkORB Communications Inc.
    asdfasdf.com -> deleted
    ndc: get key definition: not found
     
  4. MichaelShanks

    MichaelShanks Well-Known Member
    PartnerNOC

    Joined:
    Aug 20, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    put the key in rndc.conf into named.conf in appropriate place

    [Edited on 12/2/01 by MichaelShanks]
     
  5. MrInfotell

    MrInfotell Member

    Joined:
    Aug 19, 2001
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Now I got this

    rndc: \'status\' is not yet implemented

    What is wrong??????? :mad:
     
  6. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    [quote:ad9a939f81]put the key in rndc.conf into named.conf in appropriate place

    [Edited on 12/2/01 by MichaelShanks] [/quote:ad9a939f81]

    already did that (read previous posts :))
     
  7. MichaelShanks

    MichaelShanks Well-Known Member
    PartnerNOC

    Joined:
    Aug 20, 2001
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    16
    [quote:c9114b8398]Now I got this

    rndc: \'status\' is not yet implemented

    What is wrong??????? :mad: [/quote:c9114b8398]

    it hasn\'t been coded into rndc yet :O)

    \"this is feature b and will do something later\"

    Taberneck, I\'m not sure then :eek:\\

    does /var/log/messages say anything?
     
  8. tabernack

    tabernack Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    Nope, /var/log/messages doesn\'t show any entries when I get that error. This is happening on other servers now as well. Looks like adding subdomains won\'t work unless it\'s fixed.

    root@wasp [~]# ndc reload
    ndc: get key definition: not found
    root@wasp [~]#

    Same output everytime. Keys are in the right place in named.conf. Any other ideas?

    Thanks :)
     
  9. Jedito

    Jedito Well-Known Member

    Joined:
    Aug 16, 2001
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I saw that in one of my new server.

    try with:

    In named.conf change:

    key \"rndckey\" {

    to

    key \"key\" {


    And in rndc.conf:

    key \"rndckey\" {

    to

    key \"key\" {

    And restart named.


    I hope this help.

    [Edited on 12/16/01 by Jedito]
     
Loading...

Share This Page