Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Bind Restart Error

Discussion in 'Bind/DNS/Nameserver' started by pfmartin, Feb 12, 2002.

  1. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Earth
    I am getting the following error when restarting BIND:

    stdin: is not a tty ndc: error: ctl_client: evConnect(fd 3): Connection refused ndc: error: cannot connect to command channel (/var/run/ndc)

    Any ideas?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Earth
    Oops, my bad. There is already a thread on this:

    http://support.cpanel.net/obb/read.php?TID=1189&page=1
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. raylin

    raylin Active Member

    Joined:
    Sep 9, 2001
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    301
    I have same problem.

    WHM 4.5.0 & Cpanel 4.4.0-147 RedHat 7.2
    Every time I created an account , I got error message:
    [quote:e5af284e80]
    ... snip ...
    ndc: reload command successful
    Added Remote Named File
    Rebuilding DNS Zones List from master server .....
    stdin: is not a tty
    [b:e5af284e80]ndc: operation failed: verify failure (failed to verify signature)
    ndc: reload command failure: verify failure[/b:e5af284e80]
    Rebuild Complete
    Restarting apache
    Ftp Password Files synced
    [/quote:e5af284e80]

    So I tried to run /scripts/fixndc, but I got message:
    [quote:e5af284e80]
    root@host1 [~]# /scripts/fixndc
    Found key in named.conf ..
    Found controls in named.conf ..
    named.conf has already been fixed!
    [/quote:e5af284e80]

    Any idea?
     
  4. bdraco

    bdraco Guest

    [quote:35c033a34a][i:35c033a34a]Originally posted by raylin[/i:35c033a34a]

    WHM 4.5.0 & Cpanel 4.4.0-147 RedHat 7.2
    Every time I created an account , I got error message:
    [quote:35c033a34a]
    ... snip ...
    ndc: reload command successful
    Added Remote Named File
    Rebuilding DNS Zones List from master server .....
    stdin: is not a tty
    [b:35c033a34a]ndc: operation failed: verify failure (failed to verify signature)
    ndc: reload command failure: verify failure[/b:35c033a34a]
    Rebuild Complete
    Restarting apache
    Ftp Password Files synced
    [/quote:35c033a34a]

    So I tried to run /scripts/fixndc, but I got message:
    [quote:35c033a34a]
    root@host1 [~]# /scripts/fixndc
    Found key in named.conf ..
    Found controls in named.conf ..
    named.conf has already been fixed!
    [/quote:35c033a34a]

    Any idea?[/quote:35c033a34a]

    The key in /etc/rnds.conf does not match the key in named.conf ..

    Try removing the key lines out of named.conf and re-running fixndc
     
  5. raylin

    raylin Active Member

    Joined:
    Sep 9, 2001
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    301
    Many thanks, nick.
     
  6. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    316
    I had the same types of error messages and I tried this fix, but I'm getting same error message when I click on restart BIND in WHM:

    rndc: get config key list: not found bind status bind did not return a status report


    bind started ok


    any other suggesitions?

    [quote:4da5c80045][i:4da5c80045]Originally posted by bdraco[/i:4da5c80045]

    [quote:4da5c80045][i:4da5c80045]Originally posted by raylin[/i:4da5c80045]

    WHM 4.5.0 & Cpanel 4.4.0-147 RedHat 7.2
    Every time I created an account , I got error message:
    [quote:4da5c80045]
    ... snip ...
    ndc: reload command successful
    Added Remote Named File
    Rebuilding DNS Zones List from master server .....
    stdin: is not a tty
    [b:4da5c80045]ndc: operation failed: verify failure (failed to verify signature)
    ndc: reload command failure: verify failure[/b:4da5c80045]
    Rebuild Complete
    Restarting apache
    Ftp Password Files synced
    [/quote:4da5c80045]

    So I tried to run /scripts/fixndc, but I got message:
    [quote:4da5c80045]
    root@host1 [~]# /scripts/fixndc
    Found key in named.conf ..
    Found controls in named.conf ..
    named.conf has already been fixed!
    [/quote:4da5c80045]

    Any idea?[/quote:4da5c80045]

    The key in /etc/rnds.conf does not match the key in named.conf ..

    Try removing the key lines out of named.conf and re-running fixndc[/quote:4da5c80045]
     
  7. maxhost

    maxhost Well-Known Member

    Joined:
    Jan 30, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    306
    what server do you have ?

    could be the following works (for me on a Redhat 6.2 server)
    /usr/sbin/ndc reload

    Bu it does not work on a 7.1 Redhat...

    If it is a 7.1 (or 7.2) try this:
    /etc/rc.d/init.d/named reload
    or:
    /etc/rc.d/init.d/named restart



    Sometime when i reebot a server (7.1) bind does not start and i do this manually...
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice