Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 1998 15:49:20 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Inetd: bug or expected behaviour
Message-ID:  <Pine.BSF.3.96.980518154809.9951M-100000@gdi.uoregon.edu>
In-Reply-To: <19980518172333.A14723@ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980518154809.9951M-100000>