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 problems

Discussion in 'General Discussion' started by cyo, Sep 7, 2003.

  1. cyo

    cyo Active Member

    Joined:
    Oct 26, 2001
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    I keep getting this error bellow what did i do wrong.


    ndc: connection to remote host closed This may indicate that the remote server is using an older version of the command protocol, this host is not authorized to connect, or the key is invalid. The subdomain, secure.mychristiannetwork.com has been removed

    cPanel.net Support Ticket Number:
     
  2. mta

    mta Well-Known Member

    Joined:
    Sep 19, 2003
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    hi
    try these in ssh (but u must enter as a root)
    PHP:
    /scripts/updatenow
    /scripts/fixndc
    /scripts/fixndc 
    yes 2 times.


    if it didn`t work
    try this

    pico /etc/named.conf
    find all instances of rndc-key and change to rndckey

    (that is for the new versions of linux)


    :)
     
  3. perfectsquare

    perfectsquare Active Member

    Joined:
    Sep 11, 2002
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    I actually had to do the opposite to get my ndc problem fixed.

    My named.conf file contained "rndc-key" at the top, and then "rndckey" below.

    I added a dash to the second rndckey instance and saved the file.

    service named stop

    /scripts/fixnamed
    [ FAILED]
    [ OK ]
    /scripts/fixnamed
    [ OK ]
    [ OK ]

    service named start

    Fixed for me! :D

    (I tried to remove the dashes, but it wouldn't work. I saw on rackshack that someone put the dash in the second instance...and it worked for me.)
     
    #3 perfectsquare, Dec 21, 2003
    Last edited: Dec 21, 2003
  4. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    Ditto! Me Too! Thanks!
     
Loading...

Share This Page