not logged in | [Login]
Always use radiusd -X when debugging!
This is the driver of the rlm_sql module that connects to Oracle SQL databases.
This procedure can be used where an rlm_sql_oracle package is not available, and you're using a package management system to install the server.
configure with oracle-specific arguments. You may need to change the paths to ones which are specific to your system and/or the Oracle version.
./configure --with-oracle-lib-dir=/usr/lib/oracle/11.2/client64/lib --with-oracle-include-dir=/usr/lib/oracle/11.2/client64make. You should see it making rlm_sql_oracle-<fr_version>.so
cd src/modules/rlm_sql/drivers/rlm_sql_oraclemake install
That will install ONLY the Oracle module. If you don't see it building or installing anything, edit the Makefile in the rlm_sql_oracle directory, and fix it to point to the correct directories. You do not need to re-run configure
vi /etc/raddb/modules sql
cp -r raddb/sql/oracle /etc/raddb/sql/
LD_LIBRARY_PATH contains the path /usr/lib/oracle/11.2/client64/lib and that ORACLE_HOME contains the path /usr/include/oracle/11.2/client64, if they don't add them in the /etc/init.d/radiusd fileradiusd -X for debug and if everything looks ok start the serviceLast edited by Alan DeKok (alandekok), 2016-02-03 17:09:23
Sponsored by Network RADIUS 