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
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@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
On 06-04 19:08, Carlo Pires wrote:
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
Yes, exactly. The format of the database URI has changed. We are now (in unstable) using the name of the module as the URI scheme. This allows us to use different modules simultaneously.
Jan.