Hi,
I tryed to run ser with postgresql but I have problem...
Here is part of ser.cfg
loadmodule "/usr/local/lib/ser/modules/postgres.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
modparam("usrloc", "db_mode", 0)
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
modparam("rr", "enable_full_lr", 1)
modparam("auth_db", "db_url",
"sql://ser:mypass@localhost:5432/ser")
When I start ser in debug mode - ser -ddddddddddddddddddddddddddddd
I got at the end this error:
0(0) auth_db module - initializing
0(0) find_mod_export: <db_use_table> in module sql not found
0(0) bind_dbmod: Module sql does not export db_use_table function
0(0) ERROR: auth_db_bind: unable to bind to the database module
0(0) init_mod(): Error while initializing module auth_db
ERROR: error while initializing modules
Why "module sql not found"?! I changed
modparam("auth_db", "db_url",
"postgres://ser:mypass@localhost:5432/ser")
and I got error message
0(0) find_mod_export: <db_use_table> in module mysql not found !!?
Any suggestions?
Show replies by date