- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- rndc: connect failed: connection refused
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2005 06:54 PM
тАО06-12-2005 06:54 PM
# /etc/init.d/bind9 restart
Stopping domain name service: namedrndc: connect failed: connection refused
.
Starting domain name service: namednamed: chroot(): No such file or directory
.
# rndc reload
rndc: connect failed: connection refused
knows someone what's wrong ?
I have Debian Sarge.
kind regards
chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2005 07:08 PM
тАО06-12-2005 07:08 PM
SolutionThat's why you're getting the 'connection refused'. If you just 'start', you'll just get the 2nd error, 'chroot(): No such file or directory'.
What this means is that the directory being passed to the bind configuration (as argument '-t
Are you expecting bind to start in a CHRoot jail?
If so, then find out what directory it's supposed to be CHRoot'd to, then make sure that the 'directory' (as listed in 'options' section of 'named.conf') exists beneath it (along with the 'named.conf', and associated device nodes).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 01:13 AM
тАО06-13-2005 01:13 AM
Re: rndc: connect failed: connection refused
If not, try to execute:
mknod /
mknod /
chmod 666 /
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 11:12 AM
тАО06-13-2005 11:12 AM
Re: rndc: connect failed: connection refused
I solved this problem.
1.) deinstalled lwresd
2.) deinstalled bind 9 and installed again with apt-get
3.) did all steps according to DNS Server section: http://www.projektfarm.com/en/support/debian_setup/
4.)
# cd /etc/bind
# rndc-confgen > rndc.conf
5.) open rndc.key and copy the secret hash
paste the secret hash from rndc.key to the rndc.conf.
6.) cut following lines from rndc.conf:
key "rndc-key" {
algorithm hmac-md5;
secret "nCikGvxO65EHAoi9kpn6aa==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
comment out and put them to named.conf
now it works without errors:
# /etc/init.d/bind9 restart
Stopping domain name service: named.
Starting domain name service: named.
# rndc status
number of zones: 6
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
greetings
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 11:29 AM
тАО06-13-2005 11:29 AM
Re: rndc: connect failed: connection refused
why named.pif wasn't created ?
/var/lib/named/var/run is empty
at any others Bind 9 servers running on linux SUSE,
named.pif was created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2005 12:21 PM
тАО06-13-2005 12:21 PM
Re: rndc: connect failed: connection refused
/var/run/bind/run/named.pid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2005 01:35 PM
тАО12-14-2005 01:35 PM
Re: rndc: connect failed: connection refused
I have a problem sam u .
# rndc reload
rndc: connect failed: connection refused