<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rndc: connect failed: connection refused in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562710#M67326</link>
    <description>hi&lt;BR /&gt;&lt;BR /&gt;I solved this problem.&lt;BR /&gt;&lt;BR /&gt;1.) deinstalled lwresd&lt;BR /&gt;2.) deinstalled bind 9 and installed again with  apt-get&lt;BR /&gt;3.) did all steps according to DNS Server section: &lt;A href="http://www.projektfarm.com/en/support/debian_setup/" target="_blank"&gt;http://www.projektfarm.com/en/support/debian_setup/&lt;/A&gt; &lt;BR /&gt;4.) &lt;BR /&gt;# cd /etc/bind&lt;BR /&gt;# rndc-confgen &amp;gt; rndc.conf &lt;BR /&gt;5.) open rndc.key and copy the secret hash&lt;BR /&gt;  paste the secret hash from rndc.key to the rndc.conf.  &lt;BR /&gt;6.) cut following lines from rndc.conf:&lt;BR /&gt;&lt;BR /&gt;key "rndc-key" {&lt;BR /&gt;  algorithm hmac-md5;&lt;BR /&gt;        secret "nCikGvxO65EHAoi9kpn6aa==";&lt;BR /&gt;&lt;BR /&gt;  };&lt;BR /&gt;&lt;BR /&gt;  controls {&lt;BR /&gt;  inet 127.0.0.1 port 953&lt;BR /&gt;   allow { 127.0.0.1; } keys { "rndc-key"; };&lt;BR /&gt;  };&lt;BR /&gt;&lt;BR /&gt;comment out and put them to named.conf &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;now it works without errors:&lt;BR /&gt;# /etc/init.d/bind9 restart&lt;BR /&gt;Stopping domain name service: named.&lt;BR /&gt;Starting domain name service: named.&lt;BR /&gt;&lt;BR /&gt;# rndc status&lt;BR /&gt;number of zones: 6&lt;BR /&gt;debug level: 0&lt;BR /&gt;xfers running: 0&lt;BR /&gt;xfers deferred: 0&lt;BR /&gt;soa queries in progress: 0&lt;BR /&gt;query logging is OFF&lt;BR /&gt;server is up and running&lt;BR /&gt;&lt;BR /&gt;greetings&lt;BR /&gt;chris</description>
    <pubDate>Mon, 13 Jun 2005 18:12:15 GMT</pubDate>
    <dc:creator>'chris'</dc:creator>
    <dc:date>2005-06-13T18:12:15Z</dc:date>
    <item>
      <title>rndc: connect failed: connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562707#M67323</link>
      <description>I cannot start BIND 9 correctly and get following errors:&lt;BR /&gt;&lt;BR /&gt;# /etc/init.d/bind9 restart&lt;BR /&gt;Stopping domain name service: namedrndc: connect failed: connection refused&lt;BR /&gt;.&lt;BR /&gt;Starting domain name service: namednamed: chroot(): No such file or directory&lt;BR /&gt;.&lt;BR /&gt;# rndc reload&lt;BR /&gt;rndc: connect failed: connection refused&lt;BR /&gt;&lt;BR /&gt;knows someone what's wrong ?&lt;BR /&gt;I have Debian Sarge.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;chris&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jun 2005 01:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562707#M67323</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-06-13T01:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: rndc: connect failed: connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562708#M67324</link>
      <description>For starters, '/etc/init.d/bind9 restart' ?&lt;BR /&gt;&lt;BR /&gt;That'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'.&lt;BR /&gt;&lt;BR /&gt;What this means is that the directory being passed to the bind configuration (as argument '-t &lt;PATH&gt;') doesn't exist.&lt;BR /&gt;&lt;BR /&gt;Are you expecting bind to start in a CHRoot jail?&lt;BR /&gt;&lt;BR /&gt;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).&lt;/PATH&gt;</description>
      <pubDate>Mon, 13 Jun 2005 02:08:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562708#M67324</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-13T02:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: rndc: connect failed: connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562709#M67325</link>
      <description>Have You created null and random devices?&lt;BR /&gt;If not, try to execute:&lt;BR /&gt;&lt;BR /&gt;mknod /&lt;CHROOT-DIR&gt;/dev/null c 1 3&lt;BR /&gt;mknod /&lt;CHROOT-DIR&gt;/dev/random c 1 8&lt;BR /&gt;chmod 666 /&lt;CHROOT-DIR&gt;/dev/null /&lt;CHROOT-DIR&gt;/dev/random&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs&lt;BR /&gt;&lt;/CHROOT-DIR&gt;&lt;/CHROOT-DIR&gt;&lt;/CHROOT-DIR&gt;&lt;/CHROOT-DIR&gt;</description>
      <pubDate>Mon, 13 Jun 2005 08:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562709#M67325</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2005-06-13T08:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: rndc: connect failed: connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562710#M67326</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;I solved this problem.&lt;BR /&gt;&lt;BR /&gt;1.) deinstalled lwresd&lt;BR /&gt;2.) deinstalled bind 9 and installed again with  apt-get&lt;BR /&gt;3.) did all steps according to DNS Server section: &lt;A href="http://www.projektfarm.com/en/support/debian_setup/" target="_blank"&gt;http://www.projektfarm.com/en/support/debian_setup/&lt;/A&gt; &lt;BR /&gt;4.) &lt;BR /&gt;# cd /etc/bind&lt;BR /&gt;# rndc-confgen &amp;gt; rndc.conf &lt;BR /&gt;5.) open rndc.key and copy the secret hash&lt;BR /&gt;  paste the secret hash from rndc.key to the rndc.conf.  &lt;BR /&gt;6.) cut following lines from rndc.conf:&lt;BR /&gt;&lt;BR /&gt;key "rndc-key" {&lt;BR /&gt;  algorithm hmac-md5;&lt;BR /&gt;        secret "nCikGvxO65EHAoi9kpn6aa==";&lt;BR /&gt;&lt;BR /&gt;  };&lt;BR /&gt;&lt;BR /&gt;  controls {&lt;BR /&gt;  inet 127.0.0.1 port 953&lt;BR /&gt;   allow { 127.0.0.1; } keys { "rndc-key"; };&lt;BR /&gt;  };&lt;BR /&gt;&lt;BR /&gt;comment out and put them to named.conf &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;now it works without errors:&lt;BR /&gt;# /etc/init.d/bind9 restart&lt;BR /&gt;Stopping domain name service: named.&lt;BR /&gt;Starting domain name service: named.&lt;BR /&gt;&lt;BR /&gt;# rndc status&lt;BR /&gt;number of zones: 6&lt;BR /&gt;debug level: 0&lt;BR /&gt;xfers running: 0&lt;BR /&gt;xfers deferred: 0&lt;BR /&gt;soa queries in progress: 0&lt;BR /&gt;query logging is OFF&lt;BR /&gt;server is up and running&lt;BR /&gt;&lt;BR /&gt;greetings&lt;BR /&gt;chris</description>
      <pubDate>Mon, 13 Jun 2005 18:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562710#M67326</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-06-13T18:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: rndc: connect failed: connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562711#M67327</link>
      <description>have only a question:&lt;BR /&gt;&lt;BR /&gt;why named.pif wasn't created ?&lt;BR /&gt;/var/lib/named/var/run is empty &lt;BR /&gt;&lt;BR /&gt;at any others Bind 9 servers running on linux SUSE,&lt;BR /&gt;named.pif was created.</description>
      <pubDate>Mon, 13 Jun 2005 18:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562711#M67327</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-06-13T18:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: rndc: connect failed: connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562712#M67328</link>
      <description>sorry I've found it in:&lt;BR /&gt;&lt;BR /&gt;/var/run/bind/run/named.pid</description>
      <pubDate>Mon, 13 Jun 2005 19:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562712#M67328</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-06-13T19:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: rndc: connect failed: connection refused</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562713#M67329</link>
      <description>how configure comment out and put rndc.conf to named.conf&lt;BR /&gt;&lt;BR /&gt;I have a problem sam u .&lt;BR /&gt;&lt;BR /&gt;# rndc reload&lt;BR /&gt;rndc: connect failed: connection refused</description>
      <pubDate>Wed, 14 Dec 2005 21:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rndc-connect-failed-connection-refused/m-p/3562713#M67329</guid>
      <dc:creator>gerrychen</dc:creator>
      <dc:date>2005-12-14T21:35:38Z</dc:date>
    </item>
  </channel>
</rss>

