[Serusers] auth_db and mysql initialization error

Carlo Pires carlo at uga.com.br
Wed Apr 7 00:08:45 CEST 2004


Martin Rusnak escreveu:

> Hi,
>
> I have dovnloaded and compiled the latest sources from the CVS. I use 
> digest authentication with mysql database. When I tried to start ser I 
> received the following error in the log:
>
>  0(0) auth_db module - initializing
>  0(0) find_mod_export: <db_use_table> in module sql not found
>  0(0) auth_db:mod_init(): Unable to bind database module
>  0(0) init_mod(): Error while initializing module auth_db
> ERROR: error while initializing modules
>
> mysql module was successfuly loaded before. It seems the problem is, 
> that auth_db looks up the function db_use_table in sql module and not 
> in mysql. The previous version of ser worked successfully with the 
> same cfg file.
>
> Regards
> Martin
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
I had this problem today morning. Check if you have:
    modparam("usrloc", "db_url", "mysql://ser:voip2@localhost/ser")
and NOT:
    modparam("usrloc", "db_url", "sql://ser:voip2@localhost/ser")
in ser.cfg

-- 
[]s
Carlo Pires




More information about the sr-users mailing list