Failed binding to authentication address
lvrfrc87 at gmail.com
Thu Nov 26 16:33:26 CET 2015
Hi, thanks for your reply
That is the link
I have just re-booted the server 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,
root at raspberrypi:~# ps aux | grep radiusd
root 3531 0.0 0.4 3548 1796 pts/2 S+ 15:30 0:00 grep
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: Error
binding to port for 0.0.0.0 port 1812
I don't understand where this second freeradius istance comes frome
2015-11-26 15:27 GMT+00:00 Alan DeKok <aland at deployingradius.com>:
> On Nov 26, 2015, at 10:22 AM, Federico Olivieri <lvrfrc87 at gmail.com>
> > When I stop the service and I run freeradius -xxx the message is:
> > ...
> > Thu Nov 26 15:14:25 2015 : Info: Ready to process requests.
> Yes... the point of testing is to KEEP running it in debugging mode.
> > then, I start radius
> > and when I try to do radtest I get this error:
> > ...
> > rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=126,
> > length=20
> That's a reject. If the server was still running in debugging mode, you
> would see WHY it was rejecting the user.
> > Looking into a second debug I can see:
> > ...
> > Thu Nov 26 15:15:06 2015 : Error: Failed binding to authentication
> > * port 1812: Address already in use
> > Thu Nov 26 15:15:06 2015 : Error: /etc/freeradius/radiusd.conf:
> > binding to port for 0.0.0.0 port 1812
> Because you started the server in daemon mode.
> > What I'm doing wrong? For me is normal that the port is 1812 is busy
> > because freeradius is using it!
> Can you point me to the documentation which suggests doing what you did?
> *None* of the documentation says that. It *all* says "start th server
> in debug mode, and then use radclient to send it packets".
> I have no idea why you think it's important to start it in debug mode,
> stop it, start it in daemon mode, and then try a second debug mode.
> Alan DeKok.
> List info/subscribe/unsubscribe? See
More information about the Freeradius-Users