[OpenSIPS-Users] drounting and db_oracle: db_oracle module seems to be never loaded

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Apr 23 22:19:40 CEST 2009


Hi Noel,

Looks like the the db_oracle module is not found and loaded....Could you 
post the whole log in debug mode (debug=6) ?

Regards,
Bogdan

Noel R. Morais wrote:
> Hi Guys,
>
> I have a working script with mysql and I'm migrating it to work with oracle.
>
> I've compiled opensips with db_oracle support and I'm loading the
> module by: loadmodule "db_oracle.so"
>
> I'm setting the drouting db_url parameter as follow:
>
> modparam("drouting", "db_url", "oracle://USERNAME:PASSWORD@HOST:1521/SID")
>
> I'm getting the follow error:
>
> Apr 23 16:20:26 lab7 /usr/local/sbin/opensips[18100]:
> INFO:drouting:dr_init: Dynamic-Routing - initializing
> Apr 23 16:20:26 lab7 /usr/local/sbin/opensips[18100]:
> ERROR:core:db_check_api: module db_oracle does not export db_use_table
> function
> Apr 23 16:20:26 lab7 /usr/local/sbin/opensips[18100]:
> CRITICAL:drouting:dr_init: cannot bind to database module! Did you
> forget to load a database module ?
>
> I really don't have even a clue of what is wrong ....
>
> Thanks,
>
> Noel
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list