<?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: named didnt stop in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230611#M10876</link>
    <description>rm /var/run/named.pid&lt;BR /&gt;service named stop&lt;BR /&gt;service named start&lt;BR /&gt;&lt;BR /&gt;-Karthik S S</description>
    <pubDate>Fri, 26 Mar 2004 01:30:08 GMT</pubDate>
    <dc:creator>Karthik S S</dc:creator>
    <dc:date>2004-03-26T01:30:08Z</dc:date>
    <item>
      <title>named didnt stop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230610#M10875</link>
      <description>Hi All&lt;BR /&gt; &lt;BR /&gt;I m using RHL 9.0. I have Bind-9.2.1-16 intalled. Prblm is that I have to issue &lt;BR /&gt;'# killall -9 named' to stop the named server, because it dont stop working by issueing '# service named stop'&lt;BR /&gt;&lt;BR /&gt;#service named start&lt;BR /&gt;&lt;BR /&gt;#service named status&lt;BR /&gt;number of zones: 6&lt;BR /&gt;xfers running: 0&lt;BR /&gt;xfers deferred: 0&lt;BR /&gt;soa queris in progress: 0&lt;BR /&gt;querry logging is OFF&lt;BR /&gt;server is up and running&lt;BR /&gt;&lt;BR /&gt;#service named stop&lt;BR /&gt;&lt;BR /&gt;#service named start&lt;BR /&gt;server is already up and running&lt;BR /&gt;&lt;BR /&gt;Second please also explain abt 'xfers running: 0' and 'xfers deferred: 0' that what are xfers ???&lt;BR /&gt;&lt;BR /&gt;Many Thanks in Advance</description>
      <pubDate>Fri, 26 Mar 2004 01:25:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230610#M10875</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2004-03-26T01:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: named didnt stop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230611#M10876</link>
      <description>rm /var/run/named.pid&lt;BR /&gt;service named stop&lt;BR /&gt;service named start&lt;BR /&gt;&lt;BR /&gt;-Karthik S S</description>
      <pubDate>Fri, 26 Mar 2004 01:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230611#M10876</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2004-03-26T01:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: named didnt stop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230612#M10877</link>
      <description>xfers must be zone transfers to other (slave) nameservers.&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Fri, 26 Mar 2004 01:50:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230612#M10877</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-03-26T01:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: named didnt stop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230613#M10878</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Bind can also be stopped/started with it's own programs:&lt;BR /&gt;ndc stop/start&lt;BR /&gt;&lt;BR /&gt;That might give you an error message. If not, check your logfile in /var/log/named or whatever you have set this to. Also check /var/log/messages.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Fri, 26 Mar 2004 02:19:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230613#M10878</guid>
      <dc:creator>Robert Binkhorst</dc:creator>
      <dc:date>2004-03-26T02:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: named didnt stop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230614#M10879</link>
      <description>This is a known bug that you can't stop the named service in redhat 9 using &lt;BR /&gt;service named stop .Nor the service named restart command will work.&lt;BR /&gt;Use kill to stop the service...</description>
      <pubDate>Fri, 26 Mar 2004 02:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230614#M10879</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-26T02:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: named didnt stop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230615#M10880</link>
      <description>Karthik S S, I didnt find /var/run/named.pid...anywayz thanks&lt;BR /&gt;&lt;BR /&gt;Robert Binkhorst, I dont hava ndc on my system.. anywayz thanks&lt;BR /&gt;&lt;BR /&gt;Alexender u informed me abt the actuall reason ... Many Thanks. Is there any patch  available for for this bug???&lt;BR /&gt;&lt;BR /&gt;Jeroen Peereboom, thanks for ur feedback abt xfers.&lt;BR /&gt;&lt;BR /&gt;Many Thanks Again to u All</description>
      <pubDate>Fri, 26 Mar 2004 20:58:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230615#M10880</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2004-03-26T20:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: named didnt stop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230616#M10881</link>
      <description>'ndc' is for bind 8 and before.  'rndc' is for bind 9.&lt;BR /&gt;&lt;BR /&gt;As to whether this will work is a different question.&lt;BR /&gt;&lt;BR /&gt;This is what 'service named stop' is supposed to do:&lt;BR /&gt;&lt;BR /&gt;stop() {&lt;BR /&gt;        # Stop daemons.&lt;BR /&gt;        echo -n $"Stopping $prog: "&lt;BR /&gt;        /usr/sbin/rndc stop&lt;BR /&gt;        RETVAL=$?&lt;BR /&gt;        [ $RETVAL -eq 0 ] &amp;amp;&amp;amp; rm -f /var/lock/subsys/named || {&lt;BR /&gt;                killproc named&lt;BR /&gt;                RETVAL=$?&lt;BR /&gt;                [ $RETVAL -eq 0 ] &amp;amp;&amp;amp; rm -f /var/lock/subsys/named&lt;BR /&gt;        }&lt;BR /&gt;        echo&lt;BR /&gt;        return $RETVAL&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;First it tries using 'rndc' to nicely stop the name server.  This fails, but fails neatly, meaning RETVAL is 0, instead of a faiulre value (of 1 or greater).&lt;BR /&gt;&lt;BR /&gt;Unfortunately, this means that 'killproc' never gets called.&lt;BR /&gt;&lt;BR /&gt;Quick solution would be to change this (in /etc/init.d) to be something simialr to:&lt;BR /&gt;&lt;BR /&gt;stop() {&lt;BR /&gt;        # Stop daemons.&lt;BR /&gt;        echo -n $"Stopping $prog: "&lt;BR /&gt;        killproc named&lt;BR /&gt;        RETVAL=$?&lt;BR /&gt;       [ $RETVAL -eq 0 ] &amp;amp;&amp;amp; rm -f /var/lock/subsys/named&lt;BR /&gt;        echo&lt;BR /&gt;        return $RETVAL&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;i.e. not rely upon 'rndc' to do anything.&lt;BR /&gt;&lt;BR /&gt;There hasn't been an eratta released Bind for RH9, but you could try pulling the Fedora BIND source rpm, and "rpmbild --rebuild" it yourself, see if that makes a difference.  The fedora packages work correctly.&lt;BR /&gt;&lt;BR /&gt;If you need steps on how to do this, drop a note.</description>
      <pubDate>Fri, 26 Mar 2004 21:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230616#M10881</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-03-26T21:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: named didnt stop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230617#M10882</link>
      <description>Many Many Stuart Browne, I followed u and edit /etc/init.d/named, and now its doing fine, now I can service named stop|start|restart&lt;BR /&gt;Many Many Thanks.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Maaz</description>
      <pubDate>Sat, 27 Mar 2004 04:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/named-didnt-stop/m-p/3230617#M10882</guid>
      <dc:creator>Maaz</dc:creator>
      <dc:date>2004-03-27T04:29:23Z</dc:date>
    </item>
  </channel>
</rss>

