Re: ..lwresd, was meant to be: BIND 9: rcnd: connection refused

From: Joost Witteveen (joostje_at_foko.komputilo.org)
Date: 02/11/04

  • Next message: Adam Aube: "Re: whew"
    Date: Wed, 11 Feb 2004 22:19:19 +0000 (UTC)
    To: debian-user@lists.debian.org
    
    

    In article <20040211215058.1150a5a0.arnt@c2i.net>, Arnt Karlsen wrote:

    >> > When I start Bind from '/etc/init.d/bind9 start', everything looks
    >> > fine, like nothing wrong. But I found out that Bind acctually not
    >> > working properly. /etc/init.d/bind9 reload/restart will give this
    >> > error message:
    >> >
    >> > Stopping domain name service: named
    >> > rndc: connect failed: connection refused
    >
    > ..I've seen these too. ;-)
    >
    >> The magic is in /etc/bind/rndc.conf (and the corresponding key
    >> in /etc/bind/named.conf).
    >>
    >> Create the magic using rndc-confgen.
    >>
    >> In my case, lwresd was somehow installed, messing up the
    >> communication.
    >
    > ..how???

    How was lwresd installed? I don't know. Maybe from first install, maybe
    it was pulled in with some other package.

    How did lwresd mess up the communication between rndc and named(bind9)?
    Apparently, lwresd was listening on port 953, so that named couldn't
    bind on that port (and thus rndc could not communicate to named).

    >> Removing lwresd (and kill-ing the process that stayed on even after I
    >> removed the package) solved it.
    >
    > ..in my case, this took 3 minutes and 9 to 25 seconds

    What took 3 minutes?
    >, lwresd on or off
    > made at best a 2 second difference _if_ it mattered, and I'm not sure of
    > that.

    I guess it depends on who was started first, lwresd or named.
    If named is started first, it will listen on port 953, and then
    everything should work OK.

    As I don't know why I would want to have lwresd, I just removed it.
    I should file a bugreport against one of the packages, but don't
    do that now, as I don't have time to investigate what package is
    wrong etc.

    -- 
    joostje
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Adam Aube: "Re: whew"

    Relevant Pages

    • Re: install erroring out durning mergemaster...
      ... # servers where we install our own BIND package. ... NO_BIND_MTREE=true # Do not run mtree to create chroot directories ... NO_BIND_NAMED=true # Do not build named, rndc, lwresd, etc. ...
      (freebsd-current)
    • [opensuse] NUT nicked my "index.html"
      ... Just installed the nut-2.2.0-20.2 package on a fresh OpenSuSE 10.3. ... I'm surprised NUT would install an index file in that location. ... The contents of this e-mail message and any attachments are intended solely for ... This communication is intended to be and to ...
      (SuSE)
    • Re: ..lwresd, was meant to be: BIND 9: rcnd: connection refused
      ... > How was lwresd installed? ... > How did lwresd mess up the communication between rndc and ... > named couldn't bind on that port (and thus rndc could not communicate ...
      (Debian-User)