Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FreeRadius - Failed binding to authentication address

When I run the following command, I can get successfull result.

root@ubuntu:/home/can# radtest user password 127.0.0.1 1812 testing123

Sending Access-Request of id 78 to 127.0.0.1 port 1812

User-Name = "user"
User-Password = "password"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
Message-Authenticator = 0x00000000000000000000000000000000

rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=78, length=20


However When I run the "freeradius -X" , I get error message as following :

.....

Failed binding to authentication address * port 1812: Address already in use /etc/freeradius/radiusd.conf[250]: Error binding to port for 0.0.0.0 port 1812

Please Help Me

Thank you for your efforts.

Can

like image 676
user3648335 Avatar asked Jan 26 '15 14:01

user3648335


1 Answers

Run 'service freeradius restart' and 'service freeradius stop' commands Then run the command,'freeradius -X' you will not face binding issue anymore.

like image 77
Barathi Avatar answered Nov 23 '22 18:11

Barathi