Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    27

    Default ndc: error: ctl_client: evConnect(fd 3):

    ndc: error: ctl_client: evConnect(fd 3): Connection refused ndc: error: cannot connect to command channel (/var/run/ndc)

    How do we fix

    I ran /scrips/fixndc
    did what it said,. still no go.

  2. #2
    Member
    Join Date
    Aug 2001
    Posts
    151

    Default

    Well, at least I know we arent alone now
    Cheers,
    Nicholas Brown

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    75

    Default

    ndc: error: ctl_client: evConnect(fd 3): Connection refused ndc: error: cannot connect to command channel (/var/run/ndc)

    Same here :P
    Marc Wyss - marc@mchost.com
    MCHost Inc. - Experts in Private Label Reseller Plans
    http://www.mchost.com

  4. #4
    bdraco
    Guest

    Default

    Where are you getting this error.. please make sure its a 7.1 machine.

  5. #5
    Member
    Join Date
    Sep 2001
    Posts
    35

    Default

    i get this error when i try to restart bind .. i use Linux 6.2 from interserver.net

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    2

    Default

    Add this to the top of your /etc/named.conf

    key \"key\" {
    algorithm hmac-md5;
    secret \"XXXXXXXXXXXXXXXXXXXXXX\";
    };

    controls {
    inet 127.0.0.1 allow { any; } keys { \"key\"; };
    };

    server 127.0.0.1
    {
    keys { \"key\"; };
    };

    In /etc/rndc.conf there will be a line similar to the secret line above

    copy the secret line from it and replace the one above, restart bind and voila it works

  7. #7
    bdraco
    Guest

    Default

    Just run /scripts/fixndc .. its updated to take care of everything now.

  8. #8
    Member
    Join Date
    Jan 2002
    Posts
    160

    Default

    How do you run that script?

  9. #9
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    From the shell as root I\'d imagine...
    SSH in, and with root access you can run anything from within /script

    good luck.
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  10. #10
    Member nitromax's Avatar
    Join Date
    Feb 2002
    Posts
    189

    Default Same Problem Here.... /scripts/fixndc didn't work!

    We are getting the same error message, but when we run /scripts/fixndc from SSH root it says this:

    Found controls in named.conf ..
    Found key in (include) named.conf ..
    named.conf has already been fixed!

    We restart bind and we still get the following error:

    ndc: error: ctl_client: evConnect(fd 3): Connection refused ndc: error: cannot connect to command channel (/var/run/ndc)



    Here is what the top of our file looks like:

    // generated by named-bootconf.pl

    options {
    directory &/var/named&;
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;
    };

    //
    // a caching only nameserver config
    //
    zone &.& IN {
    type hint;
    file &named.ca&;
    };

    zone &localhost& IN {
    type master;
    file &localhost.zone&;
    allow-update { none; };
    };


    controls {
    inet * allow { any; } keys { &rndc-key&; };
    };

    include &/etc/rndc.key&;


    ## Domains ##
    zone &yourhostserver.com& IN {
    type master;
    file &yourhostserver.com.db&;
    };

    ## Domains ##


    There is nothing in the /etc/rndc.key file.
    Chad E. Roadhouse

Similar Threads & Tags
Similar threads

  1. DNS Zone Edit error, ndc connect failed?
    By budiarto in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-03-2004, 05:27 AM
  2. getting ndc errors
    By Nick V/D Bri in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-06-2003, 07:50 PM
  3. ndc error when adding new subdomains.
    By nsr81 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-21-2003, 02:25 PM
  4. What is NDC?
    By acer2k in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-24-2003, 01:36 AM
  5. ndc and no server specified error
    By rastoma in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-28-2002, 01:59 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube