pfmartin

Well-Known Member
Aug 18, 2001
167
0
316
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?
 

raylin

Active Member
Sep 9, 2001
26
0
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]
[email protected] [~]# /scripts/fixndc
Found key in named.conf ..
Found controls in named.conf ..
named.conf has already been fixed!
[/quote:e5af284e80]

Any idea?
 
B

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]
[email protected] [~]# /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
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
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]
[email protected] [~]# /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]
 

maxhost

Well-Known Member
Jan 30, 2002
72
0
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...