From owner-freebsd-isp Mon Sep 30 19:49: 1 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57F8637B401 for ; Mon, 30 Sep 2002 19:49:00 -0700 (PDT) Received: from inet03.citec.qld.gov.au (inet03.citec.qld.gov.au [203.5.10.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0248843E3B for ; Mon, 30 Sep 2002 19:48:59 -0700 (PDT) (envelope-from sgcccdc@citec.qld.gov.au) Received: by inet03.citec.qld.gov.au; id g912mvb38245; Tue, 1 Oct 2002 12:48:57 +1000 (EST) Received: from citecub.citec.qld.gov.au( 131.242.4.98) by inet03.citec.qld.gov.au via smap (V2.0) id xma038133; Tue, 1 Oct 02 12:48:51 +1000 Received: from guru.citec.qld.gov.au by citecub.citec.qld.gov.au (SMI-8.6/SMI-SVR4) id MAA16136; Tue, 1 Oct 2002 12:48:50 +1000 Received: by guru.citec.qld.gov.au (Postfix, from userid 60097) id 4D294D96A; Tue, 1 Oct 2002 12:48:50 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by guru.citec.qld.gov.au (Postfix) with ESMTP id 3DCBB1F5B; Tue, 1 Oct 2002 12:48:50 +1000 (EST) Date: Tue, 1 Oct 2002 12:48:49 +1000 (EST) From: Colin Campbell To: Andrew Nelson Cc: Subject: Re: radius/udp: bind: Address already in use - How to unbind them? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Tue, 1 Oct 2002, Andrew Nelson wrote: > Hi, > > I use two radius servers on my FreeBSD machine for > external authentication. For some reason, one of > them fails occasionally and, when I HUP inetd ( > or stop/start it), I get (in messages): > > inetd[81739]: radius2/udp: bind: Address already in use > inetd[81739]: radius/udp: bind: Address already in use > > Only the 2nd radius process is actually running and I have > to reboot the whole server to get the other one back. What do you mean by "Only the 2nd radius process is actually running"? There should be NO radius processes running unless thay are handling a "call". You have inetd listening on ports "radius" and "radiusd" and when a packet arrives inetd will fork the radius server, wait for it to exit and then start listening again. Are you sure you want to run them out of inetd? > Is there any way to clear the address/port so it can > restart? You need to know who's listening on those ports when you HUP inetd. What does sockstat show? Colin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message