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: connect: connection refused

Discussion in 'General Discussion' started by AlaskanWolf, May 13, 2002.

  1. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    anyone know a fix for this ndc stuff (again)
    I have confirmed that

    /etc/named.conf
    /etc/rndc.conf
    /etc/ndc.key

    all have the same pass key but i still get

    ndc: connect: connection refused
    Zone Modified!


    xxx
    This seems to affect subdomains, when users create a subdomain, it seems they dont work, even though the dns record has the A record in there

    root@greyfox [/home]# host family.domain.net
    Host family.domain.net. not found: 3(NXDOMAIN)

    ye
     
  2. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    and that fix script doesnt work
     
  3. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Run the fixnamed script. Not the fixndc.
     
  4. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
  5. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    well i had to manually run what was in that script u told me (its all commented out), it did alot of stuff but the end result was the same

    root@greyfox [/scripts]# /scripts/ulimitnamed
    Retrieving ftp://ftp.cpanel.net/bind9/bind-9.2.0-2.i386.rpm
    Retrieving ftp://ftp.cpanel.net/bind9/bind-utils-9.2.0-2.i386.rpm
    Retrieving ftp://ftp.cpanel.net/bind9/bind-devel-9.2.0-2.i386.rpm
    Preparing... ########################################### [100%]
    1:bind-utils ########################################### [ 33%]
    2:bind warning: /etc/rndc.conf created as /etc/rndc.conf.rpmnew
    ########################################### [ 66%]
    warning: /etc/rndc.key saved as /etc/rndc.key.rpmsave
    3:bind-devel ########################################### [100%]
    x - creating lock directory
    x - extracting /etc/rc.d/init.d/named (text)
    x - creating lock directory
    x - extracting /usr/sbin/named-wrapper.c (text)
    cc named-wrapper.c -o named-wrapper
    Shutting down named: [ OK ]
    Shutting down named: [FAILED]
    Starting named: [ OK ]

    xxxxxxxxxxxxxxxxxx

    domain.com -& deleted
    ndc: connect failed: connection refused

    xxxxxxxxxxxxxxxxxx
    Update:

    moved /etc/rndc.conf.rpmnew to /etc/rndc.conf and /etc/rndc.key.rpmsave to /etc/rndc.key and restarted bind, now i get

    root@greyfox [/etc]# ndc reload
    ndc: decode base64 secret: bad base64 encoding

    so im getting closer....
     
Loading...

Share This Page