Dear All, is it possible to run Freeradius using oracle 10g DB on different servers? i have freeradius 1.0.1-3 under Redhat AS4 (rpm package). please how can compile freeradius to use the oracle DB?
Ashraf Al-Basti wrote:
Dear All, is it possible to run Freeradius using oracle 10g DB on different servers? i have freeradius 1.0.1-3 under Redhat AS4 (rpm package). please how can compile freeradius to use the oracle DB? -
You need to install oracle instant client on your radius server: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linu... *Instant Client Package - SDK: Additional header files and an example makefile for developing Oracle applications with Instant Client instantclient-sdk-linux32-10.2.0.3-20061115.zip (602,897 bytes) (cksum - 3448986035) oracle-instantclient-devel-10.2.0.3-1.i386.rpm (289,346 bytes) (cksum - 1040344589) -- Sincerely Yours, Alexander
On Tue 22 May 2007, Ashraf Al-Basti wrote:
Dear All, is it possible to run Freeradius using oracle 10g DB on different servers?
yes
i have freeradius 1.0.1-3 under Redhat AS4 (rpm package). please how can compile freeradius to use the oracle DB?
On SUSE, you simple rebuild my spec file after changing: %define _oracle_support 0 to %define _oracle_support 1 You need the oracle devel package installed of course. For RedHat you will need to do something similar.. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Dear All, this is what i have, rlm_sql (sql): Could not link driver rlm_sql_oracle: rlm_sql_oracle.so: cannot open shared object file: No such file or directory rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld. radiusd.conf[10]: sql: Module instantiation failed. radiusd.conf[1844] Unknown module "sql". radiusd.conf[1773] Failed to parse authorize section. the rlm_sql_oracle.so is missing, any one have any idea about that. Peter Nixon wrote:
On Tue 22 May 2007, Ashraf Al-Basti wrote:
Dear All, is it possible to run Freeradius using oracle 10g DB on different servers?
yes
i have freeradius 1.0.1-3 under Redhat AS4 (rpm package). please how can compile freeradius to use the oracle DB?
On SUSE, you simple rebuild my spec file after changing:
%define _oracle_support 0
to
%define _oracle_support 1
You need the oracle devel package installed of course. For RedHat you will need to do something similar..
Cheers
On 5/22/07, Ashraf Al-Basti <Ashraf.Albasti@jt.net.jo> wrote:
Dear All, this is what i have,
rlm_sql (sql): Could not link driver rlm_sql_oracle: rlm_sql_oracle.so: cannot open shared object file: No such file or directory rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld. radiusd.conf[10]: sql: Module instantiation failed. radiusd.conf[1844] Unknown module "sql". radiusd.conf[1773] Failed to parse authorize section.
the rlm_sql_oracle.so is missing, any one have any idea about that.
configure script in 1.1.x branch does not support / search for Oracle 10. You may try to set ORACLE_HOME, ORACE_INCLUDE and ORACLE_LIBS environment variables properly before running configure and maybe also use --with-oracle-home-dir configure option. See configure.in in CVS code for some inspiration. th.
participants (4)
-
Alexander Serkin -
Ashraf Al-Basti -
Peter Nixon -
Tomas Hoger