From owner-freebsd-questions Mon May 18 15:49:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27774 for freebsd-questions-outgoing; Mon, 18 May 1998 15:49:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA27753 for ; Mon, 18 May 1998 15:49:38 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id PAA10319; Mon, 18 May 1998 15:49:20 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 18 May 1998 15:49:20 -0700 (PDT) From: Doug White Reply-To: Doug White To: Ruslan Ermilov cc: questions@FreeBSD.ORG Subject: Re: Inetd: bug or expected behaviour In-Reply-To: <19980518172333.A14723@ucb.crimea.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 18 May 1998, Ruslan Ermilov wrote: > Recently I've switched from bootp to isc-dhcp2. > They both listen on udp port 67, and I had the > standard entry for bootpd in my inetd.conf: > > bootps dgram udp wait root /usr/libexec/bootpd bootpd > > When I've finished with DHCP configuration file (dhcpd.conf), > I (as usually) commented out the string for ``bootpd'' above > in inetd.conf, killed -HUP inetd, and tried to run dhcpd. > > I was unable to run it with the following diagnostic: > ``Unable to bind, address already in use''. > > There was no bootpd process, and even when I killed inetd itself, > the dhcpd was unable to bind to the 67 port. Wait for a little bit or reboot and see if that clears it up. Most likely bootpd didn't die cleanly (or inetd) so the kernel thinks someone is still using the port. After a while it'll free the resource. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message