Freeradius Error binding to port for 0.0.0.0 port 1812
4
votes
1
answer
29100
views
Same problem that the other guys have had but with the difference that the procedure applied to them, are not working in my scenario. Lets make order:
Freeradius on RasPi
Netstat:
root@raspberrypi:~# netstat -unpl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 0.0.0.0:59830 0.0.0.0:* 3574/freeradius
udp 0 0 127.0.0.1:18120 0.0.0.0:* 3574/freeradius
udp 0 0 0.0.0.0:1812 0.0.0.0:* 3574/freeradius
udp 0 0 0.0.0.0:1813 0.0.0.0:* 3574/freeradius
udp 0 0 0.0.0.0:1814 0.0.0.0:* 3574/freeradius
Debug with freeradius-x
Failed binding to authentication address * port 1812: Address already in use
/etc/freeradius/radiusd.conf: Error binding to port for 0.0.0.0 port 1812
root@raspberrypi:~# ps aux | grep free
freerad 3574 0.0 1.3 54088 6032 ? Ssl 16:32 0:00 /usr/sbin/freeradius
root 3610 0.0 0.4 3548 1832 pts/0 S+ 16:35 0:00 grep free
If I kill that process I get from freeradius debug
... adding new socket proxy address * port 50820
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel
Listening on proxy address * port 1814
Ready to process requests.
but radtest "John Doe" hello 127.0.0.1 0 test does not work because the service is not running.
Any suggestions?
Asked by Federi
(963 rep)
Nov 6, 2015, 04:40 PM
Last activity: Apr 18, 2019, 05:00 PM
Last activity: Apr 18, 2019, 05:00 PM