Re: Could not link driver rlm_sql_oracle: libclntsh.so.10.1

2008-11-24 Thread Alexandre Chapellon


Le 23.11.2008 17:39, Ilya a écrit :
> hello,
>
> i've got Linux 2.6.9-22 and freeRADIUS server v.2.1.1.
>
> after installing and configured FreeRADIUS i try to to start the
> daemon with -X parametr and get the error:
>
> Could not link driver rlm_sql_oracle: libclntsh.so.10.1: cannot open shared 
> object file: No such file or directory
> Make sure it (and all its dependent libraries!) are in the search path of 
> your system's ld.
> /usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql"
> /usr/local/etc/raddb/sites-enabled/default[152]: Failed to find module "sql".
> /usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorize 
> section
>
> can anyone please help to solve this problem or push me to the right
> way?
>
> thanks in advance
>
> ilya
>   

Did you install the oracle instantclient? where? did you add lib path of
this client to your ldpath?
Did the rlm_sql_oracle module compiled successfully when compiling
freeradius (check config.log)?

>
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>   
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Could not link driver rlm_sql_oracle: libclntsh.so.10.1

2008-11-24 Thread tnt
http://wiki.freeradius.org/index.php/FreeRADIUS_Wiki:FAQ#It_says_.22Could_not_link_..._file_not_found.22.2C_what_do_I_do.3F

Example is for mysql, but it applies to all such messages.

Ivan Kalik
Kalik Informatika ISP


Dana 24/11/2008, "Ilya" <[EMAIL PROTECTED]> piše:

>hello,
>
>i've got Linux 2.6.9-22 and freeRADIUS server v.2.1.1.
>
>after installing and configured FreeRADIUS i try to to start the
>daemon with -X parametr and get the error:
>
>Could not link driver rlm_sql_oracle: libclntsh.so.10.1: cannot open shared 
>object file: No such file or directory
>Make sure it (and all its dependent libraries!) are in the search path of your 
>system's ld.
>/usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql"
>/usr/local/etc/raddb/sites-enabled/default[152]: Failed to find module "sql".
>/usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorize 
>section
>
>can anyone please help to solve this problem or push me to the right
>way?
>
>thanks in advance
>
>ilya
>
>
>
>
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Could not link driver rlm_sql_oracle: libclntsh.so.10.1

2008-11-23 Thread Anders Holm
Your config says you are using Oracle as backend. However the Oracle  
driver has not been compiled/installed.


Sent from my iPhone

On 24 Nov 2008, at 03:39, Ilya <[EMAIL PROTECTED]> wrote:


hello,

i've got Linux 2.6.9-22 and freeRADIUS server v.2.1.1.

after installing and configured FreeRADIUS i try to to start the
daemon with -X parametr and get the error:

Could not link driver rlm_sql_oracle: libclntsh.so.10.1: cannot open  
shared object file: No such file or directory
Make sure it (and all its dependent libraries!) are in the search  
path of your system's ld.
/usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module  
"sql"
/usr/local/etc/raddb/sites-enabled/default[152]: Failed to find  
module "sql".
/usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing  
authorize section


can anyone please help to solve this problem or push me to the right
way?

thanks in advance

ilya





-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html