- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- rndc: connect failed: connection refused
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP