[Serusers] Auth_db/mysql module problem with latest CVS sources

Marian Dumitru marian.dumitru at voice-sistem.ro
Wed Nov 17 14:47:06 CET 2004


Hi Tavis,

The format of db_url changed - at the beginning must be the name of the 
module used for DB backend. So replace "sql" with "mysql".

Best regards,
Marian

Tavis wrote:
> build number is 0.8.99-dev15
> checked out somwhere near Wed Nov 17 01:19:11 UTC 2004
> 
> Using the default configuration file, uncommenting the mysql.so, auth.so
> and auth_db.so modules and adding the following line to the config:
> "modparam("auth_db", "db_url","sql://USER:PASSWORD@127.0.0.1/DATABASE")"
> 
> 
> generates the following error:
> Nov 17 01:13:43 sdev2 ../../sbin/ser[29777]: DEBUG: init_mod: auth_db
> Nov 17 01:13:43 sdev2 ../../sbin/ser[29777]: auth_db module - initializing
> Nov 17 01:13:43 sdev2 ../../sbin/ser[29777]: find_mod_export:
> <db_use_table> in module sql not found
> Nov 17 01:13:43 sdev2 ../../sbin/ser[29777]: bind_dbmod: Module sql does
> not export db_use_table function
> Nov 17 01:13:43 sdev2 ../../sbin/ser[29777]: ERROR: auth_db_bind: unable
> to bind to the database module
> Nov 17 01:13:43 sdev2 ../../sbin/ser[29777]: init_mod(): Error while
> initializing module auth_db
> 
> After which SER refuses to start
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
> 

-- 
Voice Sistem
http://www.voice-sistem.ro




More information about the sr-users mailing list