[Serusers] USRLOC info in PostgreSQL database.

Jan Janak jan at iptel.org
Sun Oct 23 00:03:59 CEST 2005


You need to configure usrloc module to use postgres module too. You can
write it like this:

modparam("auth_db|usrloc","db_url", "postgres://user:pass@127.0.0.1:5432/dbv")

  Jan.
 
On 22-10-2005 23:51, Adam Rybak wrote:
> Hello,
> 
>     i have succesfully configured retrieving authentication information from
> Postgres database but i cannot use postgres for USRLOC data.
> 
> in debug i get:
> ..
>  0(0) find_mod_export: <db_use_table> in module mysql not found
>  0(0) bind_dbmod: Module mysql does not export db_use_table function
>  0(0) ERROR: mod_init(): Can't bind database module
>  0(0) init_mod(): Error while initializing module usrloc
> ERROR: error while initializing modules
> ..
> 
> but im not loading Mysql modules!
> 
> Config:
> ..
> loadmodule "/usr/local/ser/lib/ser/modules/postgres.so"
> loadmodule "/usr/local/ser/modules/auth.so"
> loadmodule "/usr/local/ser/modules/auth_db.so"
> ..
> modparam("auth_db","db_url", "postgres://user:pass@127.0.0.1:5432/dbv")
> modparam("usrloc", "db_mode", 1)
> ..
> 
> what can be a problem?
> 
> Regards,
> Adam Rybak
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list