Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 12:48:49 +1000 (EST)
From:      Colin Campbell <sgcccdc@citec.qld.gov.au>
To:        Andrew Nelson <andrew__nelson@hotmail.com>
Cc:        <freebsd-isp@freebsd.org>
Subject:   Re: radius/udp: bind: Address already in use  - How to unbind them?
Message-ID:  <Pine.BSF.4.33.0210011245100.19207-100000@guru.citec.qld.gov.au>
In-Reply-To: <F52OABdw0WDUohVBaNS000002be@hotmail.com>

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




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