rndc: connect failed: what's this

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,685
23
318
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
Hello,

I set a up a new box as a slave then changed my mind and switched it back.

but it gets this error when I do a bind restart or try to make a host name:

rndc: connect failed:

Anyone know what this error means and what the fix might be.

I registered the names servers for the box about a week ago and they still do not work.

Please help

Thank you,

Charles
 

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,685
23
318
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
Please help

I just got the on the error log, is my server stuck in slave mode?

[email protected] [~]# tail /var/log/messages
Oct 11 17:51:28 pyle1 named[4080]: starting BIND 9.2.1 -u named
Oct 11 17:51:28 pyle1 named[4080]: using 1 CPU
Oct 11 17:51:28 pyle1 named[4083]: loading configuration from '/etc/named.conf'
Oct 11 17:51:28 pyle1 named[4083]: /etc/named.conf:34: option 'allow-update' is not allowed in 'slave' zone '0.0.127.in-addr.arpa'
Oct 11 17:51:28 pyle1 named[4083]: /etc/named.conf:882: option 'allow-update' is not allowed in 'slave' zone 'localhost'
Oct 11 17:51:28 pyle1 named[4083]: loading configuration: failure
Oct 11 17:51:28 pyle1 named[4083]: exiting (due to fatal error)
Oct 11 17:51:28 pyle1 named: named startup failed
Oct 11 17:52:29 pyle1 proftpd: pyle1.ecommerce-web-hosting-services.com - Fatal: unable to determine IP address of `pyle1.ecommerce-web-hosting-services.com'.
Oct 11 17:52:29 pyle1 proftpd: proftpd startup failed

Please help

The name config file still has averything listed as a slave.

How do you convert a slave server back. Do I have to reinstall cpanel?

Thank you
 

jsteel

Well-Known Member
Jul 4, 2002
646
0
166
Atlanta, GA
I've been getting the rndc message since I upgraded to 225 last night on my slave server. I can't get my slave server to stay online (BIND that is) consistently since then. Anytime I try to restart BIND I get that message in WHM. None of the new zones on the primary are getting copied to the slave server either. After seeing these posts from you, I'm absolutely sure that 225 hosed up DNS on my servers. I'm just glad I didn't upgrade my primary or I'd probably be totally screwed right now.

Jaz
 

lightnin

Member
Jul 11, 2002
11
0
151
This is totally unscientific, but I was able to fix this by going to 'install an rpm' choosing bind and checking 'force install'.

Then all was wine and roses again. :)
 

naiton

Registered
Oct 28, 2002
1
0
151
what's this?

Rebuilding DNS Zones List from master server .....
Scp failed!
Attempting to restart bind
stdin: is not a tty rndc: connect failed: connection refused bind status bind did not return a status report
 

bayservers

Registered
Jul 11, 2004
1
0
151
hi you must be find /var/named/named.root line in /etc/named.conf and remove this addon line. and write this command:
service named restart
i sure your problem will be fix thanx ;)