LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-20-2004, 11:50 AM   #1
bulzbb
Member
 
Registered: Feb 2004
Posts: 50

Rep: Reputation: 15
Question rndc refusing connection?


Hi,

I just installed Fedora FC1. When I typed rndc reload, i got an error:

# rndc reload
rndc: connect failed: connection refused

Any idea what went wrong? I havent done anything yet.

Thanks.

Last edited by bulzbb; 03-20-2004 at 03:53 PM.
 
Old 03-24-2004, 11:53 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
it seems that redhat (fedora i mean) cannot find your host..
have u changed your computer name?
check /etc/hosts file if your hostname exits in this file. to see your hostname type "hostname"
 
Old 03-30-2004, 07:19 PM   #3
aaaa
LQ Newbie
 
Registered: Feb 2003
Posts: 7

Rep: Reputation: 0
bulzbb:
Did you ever find a solution to this, please e-mail me at ebradsha@comcast.net thanks.
 
Old 04-16-2004, 02:55 AM   #4
agent bigote
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
rndc error

i got the same error when i changed my hostname. to see whats wrong in conf files run ./named-checkconf in /usr/sbin. this tells you errors in your named.conf and rndc.conf files. mine said that rndc.... is already used or something like that. i removed the "-" in the rndc.key file. or if you have already put the usual rndc stuff in your named.conf and rndc.conf, it will put another rndckey in your dns keys. if your using webmin for configuring bind, it's a lot easier... go to dns keys and there you will find two or more identical rndc keys. rename them like rndc.key, rndc-key or better yet just leave one. start named and reload rndc (just to make sure). and this should work (it did for me) sometimes reboot is needed. remember before changing hostnames when running bind, stop named and rndc first.

hope this helps....

agent bigote
 
Old 04-27-2004, 07:39 PM   #5
zimmer
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
The solution I've found was to fix my firewall rules to allow input connections on the lo interface.. something like

-A INPUT -i lo -j ACCEPT

In your /etc/sysconfig/iptables file

or just add something similar to your firewall script.

Cheers,

Zim.
 
Old 06-20-2004, 01:32 PM   #6
stocks29
Member
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 15
I tried adding this line, to my iptables file and restarted iptables with no luck. iptables starts fine, but i am still getting the error when i try to restart named

"/etc/init.d/named restart
Stopping named: rndc: connect failed: connection refused
[ OK ]
Starting named: [ OK ]
"

any ideas?
 
Old 06-20-2004, 01:48 PM   #7
stocks29
Member
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 15
solved my problem....

my rndc.key file was empty in my /var/named/chroot/etc/ directory
copied the rndc.key file that was in my /etc directory to /var/named/chroot/etc directory and all is well....

make sure all your files there are correct and atleast have something in them
 
Old 06-21-2004, 05:04 AM   #8
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
another solition is "rndc-confgen" command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind 9 rndc connection refused. 360 Linux - Networking 2 10-15-2010 02:47 PM
RNDC connection refused error cas1106 Linux - Newbie 1 04-23-2006 12:40 PM
sshd refusing connection ??? mayank_a Linux - Security 1 10-16-2005 12:50 AM
X server keeps refusing remote X connection illuminatedwax Linux - General 3 04-16-2004 11:13 AM
ssh refusing connection Sonny Linux - Security 3 01-24-2002 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration