Address already in use but server is not running
jeff donovan
jdonovan at beth.k12.pa.us
Tue May 29 01:54:17 CEST 2012
On May 28, 2012, at 5:29 PM, Michael Aldridge wrote:
> I recently had to install debian 6.0 on one of my servers after a hard drive crash, and while I had freeradius running before, I can't seem to get it running now.
>
> I ran sudo apt-get install freeradius and hit enter to accept the additional packages, and I also installed dialup admin with the intention of getting to it after getting freeradius running, but now I am running into trouble with starting freeradius. The install completed without errors, but running sudo ./freeradius -X produces the following:
>
>
> Failed binding to authentication address * port 1812: Address already in use
> /etc/freeradius/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812
>
>
> I can post the full contents of the debug dump, but this appears to be the only point at which an error is encountered. I am quite sure that there is not an instance already running, so I don't know what else could be using the port. Any ideas?
ps aux | grep free
or
ps ax | grep radius
check for the process already running.
kill -9 PID
then start radius in debug mode.
/usr/sbin/freeradius -X
you probably have one started manually and one from init.d, and they are arguing over port access.
-j
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2497 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120528/4ed03c57/attachment-0001.bin>
More information about the Freeradius-Users
mailing list