Figured it out. The jradius.conf needs to be in /usr/local/etc/raddb/modules. I swear it used to be one directory up… Anyway, I don’t know if it’s the freeRadius team or the JRadius team that maintains this
plugin, but the config file is not automatically copied into the “modules” directory even when freeRadius is compiled with jradius support.
Travis
From: freeradius-users-bounces+tdimmig=impulse.com@lists.freeradius.org [mailto:freeradius-users-bounces+tdimmig=impulse.com@lists.freeradius.org]
On Behalf Of Travis Dimmig
Sent: Thursday, October 27, 2011 2:29 PM
To: FreeRadius users mailing list
Subject: Failed to load module "jradius"
I don’t seem to be able to get freeRadius to load the “jradius” module. My steps are as follows:
wget
ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-2.1.12.tar.gz
tar –xzvf freeradius-server-2.1.12.tar.gz
cd freeradius-server-2.1.12
echo “rlm_jradius” >> src/modules/stable
./configure && make && make install
cp src/modules/rlm_jradius/jradius./conf /usr/local/etc/raddb
I configure jradius.conf to point to my JRadius server, and add jradius to the accounting section of sites-enabled.
“radiusd –X” gives:
/usr/local/etc/raddb/sites-enabled/default[443]: Failed to load module "jradius".
/usr/local/etc/raddb/sites-enabled/default[378]: Errors parsing accounting section.
I have verified that the jradius libraries have been compiled and installed /usr/local/lib.
I’ve managed to comile freeRadius with the jradius module before just fine…..not sure what the problem is now. Any help would be greatly appreciated.
Travis Dimmig
Software Development Specialist
Impulse Point