Reputation: 1
**Im trying to run freeradius in debugging mode( freeradius -X) but I get an error. the error is "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"
Why I'm I getting this error?**
Upvotes: 0
Views: 21845
Reputation: 1083
You can control the debugging using the init script interface
sudo /etc/init.d/freeradius stop
sudo /etc/init.d/freeradius debug-threaded
Upvotes: 0
Reputation: 3600
You can stop the freeradius using below command
sudo /etc/init.d/freeradius stop
And then you can start again using below command
sudo /etc/init.d/freeradius start
Upvotes: 0
Reputation: 189
Run the command 'killall freeradius' ( if on ubuntu ) Then,Restart the service, '/etc/init.d/freeradius restart' and stop the service, '/etc/init.d/freeradius stop' Now, if you run the command 'freeradius -X' you will not get the error.
Upvotes: 0
Reputation: 75
You can do this to stop all freeradius ID
To get process ID of freeradius
Start FreeRadius again
sudo /etc/init.d/freeradius start
Upvotes: 1
Reputation: 6075
Another instance of FreeRADIUS is running and bound to UDP port 1812. killall radiusd
Upvotes: 0