Hi Team,
*Linux packetfence 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18)
x86_64 (ZEN)*
I don't know how to debug the RADIUS in packetfence. As given in the
Installation guide I tried the debugging
*freeradiud -X -d /usr/local/pf/raddb -n auth*
listen {
type = "auth"
virtual_server = "packetfence"
ipaddr = 172.16.11.10
port = 0
Failed binding to auth address 172.16.11.10 port 1812 bound to server
packetfence: Address already in use
/usr/local/pf/raddb/auth.conf[19]: Error binding to port for 172.16.11.10
port 1812
*freeradius -X -d /usr/local/pf/raddb -n acct*
acct: #### Opening IP addresses and Ports ####
listen {
type = "acct"
virtual_server = "packetfence"
ipaddr = 172.16.11.10
port = 0
Failed binding to acct address 172.16.11.10 port 1813 bound to server
packetfence: Address already in use
/usr/local/pf/raddb/acct.conf[8]: Error binding to port for 172.16.11.10
port 1813
The O/P shows that the port is already in use. Indicated that the RADIUS is
running by using the ports....
*root@packetfence:~# raddebug -t 300 -f /usr/local/pf/var/run/radiusd.sock*
radmin: Failed connecting to /usr/local/pf/var/run/radiusd.sock: No such
file or directory
Perhaps you need to run the commands: cd /etc/raddb
ln -s sites-available/control-socket sites-enabled/control-socket
and then re-start the server?
r*oot@packetfence:~# raddebug -t 300 -f
/usr/local/pf/var/run/radiusd-acct.sock*
radmin: Failed connecting to /usr/local/pf/var/run/radiusd-acct.sock: No
such file or directory
Perhaps you need to run the commands: cd /etc/raddb
ln -s sites-available/control-socket sites-enabled/control-socket
and then re-start the server?
Ref: *RADIUS Debugging*
https://www.packetfence.org/doc/PacketFence_Installation_Guide.html#_radius_debugging
Regards,
Thirunavukkarasu
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users