module db_mysql does not export db_use_table function

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

module db_mysql does not export db_use_table function

Manivasagam Sivaraman
I installed opensips 1.5.3 from source. I installed all required dependencies and opensips compiled and installed good with no errors. I have the following in the exclude modules in Makefile.
 
exclude_modules?= mi_xmlrpc \
        db_postgres db_unixodbc db_oracle db_berkeley \
        avp_radius auth_radius group_radius uri_radius \
        osp perl snmpstats perlvdb peering carrierroute mmgeoip \
        ldap h350 identity regex seas
I used 'make all' and 'make install'. I installed mysql server, created tables using script and created opensipsrw user  and granted them all rights. Now when I start opensips I get the error "ERROR:core:db_check_api: module db_mysql does not export db_use_table function".
 

Oct 12 13:37:24 [27590] ERROR:core:db_check_api: module db_mysql does not export db_use_table function
Oct 12 13:37:24 [27590] ERROR:usrloc:mod_init: failed to bind database module
Oct 12 13:37:24 [27590] ERROR:core:init_mod: failed to initialize module usrloc
Oct 12 13:37:24 [27590] ERROR:core:main: error while initializing modules
Oct 12 13:37:24 [27590] NOTICE:presence:destroy: destroy module ...
 
MySql server runs fine and I checked it all. Not sure why I'm getting this error. Please help me resolve tihs error.
Mani

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: module db_mysql does not export db_use_table function

Bogdan-Andrei Iancu
Hi Mani,

do you load the db_mysql module ?

Regards,
Bogdan

Manivasagam Sivaraman wrote:

> I installed opensips 1.5.3 from source. I installed all required
> dependencies and opensips compiled and installed good with no errors.
> I have the following in the exclude modules in Makefile.
>  
> exclude_modules?= mi_xmlrpc \
>         db_postgres db_unixodbc db_oracle db_berkeley \
>         avp_radius auth_radius group_radius uri_radius \
>         osp perl snmpstats perlvdb peering carrierroute mmgeoip \
>         ldap h350 identity regex seas
> I used 'make all' and 'make install'. I installed mysql server,
> created tables using script and created opensipsrw user  and granted
> them all rights. Now when I start opensips I get the error
> "ERROR:core:db_check_api: module db_mysql does not export db_use_table
> function".
>  
>
> Oct 12 13:37:24 [27590] ERROR:core:db_check_api: module db_mysql does
> not export db_use_table function
> Oct 12 13:37:24 [27590] ERROR:usrloc:mod_init: failed to bind database
> module
> Oct 12 13:37:24 [27590] ERROR:core:init_mod: failed to initialize
> module usrloc
> Oct 12 13:37:24 [27590] ERROR:core:main: error while initializing modules
> Oct 12 13:37:24 [27590] NOTICE:presence:destroy: destroy module ...
>  
> MySql server runs fine and I checked it all. Not sure why I'm getting
> this error. Please help me resolve tihs error.
> Mani
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: module db_mysql does not export db_use_table function

Manivasagam Sivaraman
My bad. You are right. Thought I did, but it was commented. it is all good now. Thank you very much.

On Mon, Oct 12, 2009 at 1:49 PM, Bogdan-Andrei Iancu <[hidden email]> wrote:
Hi Mani,

do you load the db_mysql module ?

Regards,
Bogdan

Manivasagam Sivaraman wrote:
> I installed opensips 1.5.3 from source. I installed all required
> dependencies and opensips compiled and installed good with no errors.
> I have the following in the exclude modules in Makefile.
>
> exclude_modules?= mi_xmlrpc \
>         db_postgres db_unixodbc db_oracle db_berkeley \
>         avp_radius auth_radius group_radius uri_radius \
>         osp perl snmpstats perlvdb peering carrierroute mmgeoip \
>         ldap h350 identity regex seas
> I used 'make all' and 'make install'. I installed mysql server,
> created tables using script and created opensipsrw user  and granted
> them all rights. Now when I start opensips I get the error
> "ERROR:core:db_check_api: module db_mysql does not export db_use_table
> function".
>
>
> Oct 12 13:37:24 [27590] ERROR:core:db_check_api: module db_mysql does
> not export db_use_table function
> Oct 12 13:37:24 [27590] ERROR:usrloc:mod_init: failed to bind database
> module
> Oct 12 13:37:24 [27590] ERROR:core:init_mod: failed to initialize
> module usrloc
> Oct 12 13:37:24 [27590] ERROR:core:main: error while initializing modules
> Oct 12 13:37:24 [27590] NOTICE:presence:destroy: destroy module ...
>
> MySql server runs fine and I checked it all. Not sure why I'm getting
> this error. Please help me resolve tihs error.
> Mani
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users