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 failed

Discussion in 'General Discussion' started by LOD-squa, Mar 5, 2006.

  1. LOD-squa

    LOD-squa Member

    Joined:
    Oct 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Yes, I did do a search but however I keep on getting:

    ndc: connect failed: connection refused

    I have tried doing /scripts/fixndc, /scripts/fixnamed, none of them work. I just keep on getting this. If I tried to reboot it from WHM I get this:

    Attempting to restart named
    Waiting for named to restart.... . . . . . . . . . . finished.

    named status

    named has failed, please contact the sysadmin (result was "named is not running").

    Can anyone please help me? It was working fine 'til today.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Not that it will probably help much, but you could try running /scripts/restartsrv_named to see if it gives a more detailed error message.

    Also try giving /scripts/rebuildnamedconf a go.
     
  3. LOD-squa

    LOD-squa Member

    Joined:
    Oct 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    gravity# /scripts/restartsrv_named
    gravity#

    Thats all I got, do I need to look at a certain file or something? Excuse my stupidity.
     
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Looks good, if your server and Web sites are up and running.
     
  5. LOD-squa

    LOD-squa Member

    Joined:
    Oct 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    They don't work, thats the problem. Bind is not responding and it refuses to connect.
     
  6. dropby23

    dropby23 Well-Known Member

    Joined:
    Jan 16, 2005
    Messages:
    155
    Likes Received:
    0
    Trophy Points:
    16
    /scripts/updatenow
    /scripts/upcp --force
    mv /etc/named.conf /etc/named.old
    /scripts/rebuildnamedconf > /etc/named.conf
    service named stop
    killall -9 named
    /scripts/fixndc
    /scripts/fixndc
     
  7. LOD-squa

    LOD-squa Member

    Joined:
    Oct 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I'm currently using FreeBSD and the service one didnt seem to work. Sorry for making this so complicated.
     
  8. LOD-squa

    LOD-squa Member

    Joined:
    Oct 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Anyone mind helping?
     
Loading...

Share This Page