Failed binding to authentication address

Federico Olivieri lvrfrc87 at gmail.com
Thu Nov 26 16:45:13 CET 2015


That is what I have done (that is the same before)

root at raspberrypi:~# /etc/init.d/freeradius stop
[ ok ] Stopping FreeRADIUS daemon: freeradius.

oot at raspberrypi:~# ps aux | grep freeradius
root      4523  0.0  0.4   3548  1828 pts/2    S+   15:42   0:00 grep
freeradius

Thu Nov 26 15:42:00 2015 : Info:  ... adding new socket proxy address *
port 47236
Thu Nov 26 15:42:00 2015 : Debug: Listening on authentication address *
port 1812
Thu Nov 26 15:42:00 2015 : Debug: Listening on accounting address * port
1813
Thu Nov 26 15:42:00 2015 : Debug: Listening on authentication address
127.0.0.1 port 18120 as server inner-tunnel
Thu Nov 26 15:42:00 2015 : Debug: Listening on proxy address * port 1814
Thu Nov 26 15:42:00 2015 : Info: Ready to process requests.

Then

root at raspberrypi:~# /etc/init.d/freeradius start
[ ok ] Starting FreeRADIUS daemon: freeradius.
root at raspberrypi:~# ps aux | grep freeradius
freerad   4532  1.5  1.3  54088  6172 ?        Ssl  15:42   0:00
/usr/sbin/freeradius
root      4556  0.0  0.3   3548  1596 pts/2    S+   15:42   0:00 grep
freeradius

Still the same problem

rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=199,
length=20

I really appreciate your time and your e-mail but I don't think is matter
of which guide I used. If you spotted something wrong in the procedure,
just let me know and I'll be happy to fix it!

Anyway, here the problem is that freeradius says that there is another
instance running but the output does not show anything

Can you help me with that?



2015-11-26 15:35 GMT+00:00 Alan DeKok <aland at deployingradius.com>:

> On Nov 26, 2015, at 10:33 AM, Federico Olivieri <lvrfrc87 at gmail.com>
> wrote:
> >
> > That is the link
> >
> >
> http://www.binaryheartbeat.net/2013/12/raspberry-pi-based-freeradius-server.html
>
>   Why are you following some crappy third-party documentation?  The server
> comes with *tons* of documentation. The web site has tons of documentation.
>
>   Follow the *correct* documentation.
>
> > I have just re-booted the server
>
>   You don't need to do that.
>
> > and that is the result
> >
> > root at raspberrypi:~# radtest "John Doe" hello 127.0.0.1 0 testing123
> > Sending Access-Request of id 78 to 127.0.0.1 port 1812
> >        User-Name = "John Doe"
> >        User-Password = "hello"
> >        NAS-IP-Address = 127.0.1.1
> >        NAS-Port = 0
> >        Message-Authenticator = 0x00000000000000000000000000000000
> > rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=78,
> > length=20
> >
> > root at raspberrypi:~# ps aux | grep radiusd
> > root      3531  0.0  0.4   3548  1796 pts/2    S+   15:30   0:00 grep
> > radius
>
>   It's probably called "freeradius"
>
> > Same error
> >
> > Thu Nov 26 15:32:34 2015 : Error: Failed binding to authentication
> address
> > * port 1812: Address already in use
> > Thu Nov 26 15:32:34 2015 : Error: /etc/freeradius/radiusd.conf[240]:
> Error
> > binding to port for 0.0.0.0 port 1812
>
>   Stop the existing FreeRADIUS.  See your OS documentation for how to do
> this.
>
>   Then, run it in debugging mode.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list