modparam("usrloc", "db_ur1",
"sql://ser:heslo@localhost/ser")
change to
modparam("usrloc", "db_url",
"mysql://ser:heslo@localhost/ser")
Hope it helps
On 5/11/06, Americania <americania(a)hotmail.com> wrote:
I'm using SER 0.9.4 and MySql 4.1.19 on a Linux Suse 10 machine.
I 've installed Ser with rpm
.
If I uncomment the row with mysql.so module in the ser.cfg file, ser does
not start anymore.
What Can I do ?
I 've attacched the cfg section and the konsole text.
--------
ser.cfg :
----
# ------------------ module loading
----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/lib/ser/modules/mysql.so"
loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
loadmodule "/usr/lib/ser/modules/textops.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
#loadmodule "/usr/lib/ser/modules/auth.so"
#loadmodule "/usr/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "db_ur1",
"sql://ser:heslo@localhost/ser")
...
--------------------------------------
linux:~ # ser -D -E
0(1797) loading module /usr/lib/ser/modules/mysql.so
0(1797) ERROR: load_module: could not open module
</usr/lib/ser/modules/mysql.so>:
/usr/lib/ser/modules/mysql.so: cannot open shared object file: No such file
or directory
0(1797) parse error (34,13-14): failed to load module
0(1797) loading module /usr/lib/ser/modules/sl.so
0(1797) loading module /usr/lib/ser/modules/tm.so
0(1797) loading module /usr/lib/ser/modules/rr.so
0(1797) loading module /usr/lib/ser/modules/maxfwd.so
0(1797) loading module /usr/lib/ser/modules/usrloc.so
0(1797) loading module /usr/lib/ser/modules/registrar.so
0(1797) loading module /usr/lib/ser/modules/textops.so
0(1797) set_mod_param_regex: usrloc matches module usrloc
0(1797) set_mod_param_regex: found <db_mode> in module usrloc
[/usr/lib/ser/modules/usrloc.so]
0(1797) set_mod_param_regex: usrloc matches module usrloc
0(1797) set_mod_param_regex: parameter <db_ur1> not found in module
<usrloc>
0(1797) parse error (59,20-21): Can't set module parameter
0(1797) set_mod_param_regex: rr matches module rr
0(1797) set_mod_param_regex: found <enable_full_lr> in module rr
[/usr/lib/ser/modules/rr.so]
0(1797) find_export: found <mf_process_maxfwd_header> in module maxfwd
[/usr/lib/ser/modules/maxfwd.so]
0(1797) find_export: found <sl_send_reply> in module sl_module
[/usr/lib/ser/modules/sl.so]
0(1797) find_export: found <sl_send_reply> in module sl_module
[/usr/lib/ser/modules/sl.so]
0(1797) find_export: found <record_route> in module rr
[/usr/lib/ser/modules/rr.so]
0(1797) find_export: found <loose_route> in module rr
[/usr/lib/ser/modules/rr.so]
0(1797) find_export: found <append_hf> in module textops
[/usr/lib/ser/modules/textops.so]
0(1797) find_export: found <append_hf> in module textops
[/usr/lib/ser/modules/textops.so]
0(1797) find_export: found <save> in module registrar
[/usr/lib/ser/modules/registrar.so]
0(1797) find_export: found <lookup> in module registrar
[/usr/lib/ser/modules/registrar.so]
0(1797) find_export: found <append_hf> in module textops
[/usr/lib/ser/modules/textops.so]
0(1797) find_export: found <lookup> in module registrar
[/usr/lib/ser/modules/registrar.so]
0(1797) find_export: found <sl_send_reply> in module sl_module
[/usr/lib/ser/modules/sl.so]
0(1797) find_export: found <append_hf> in module textops
[/usr/lib/ser/modules/textops.so]
0(1797) find_export: found <t_relay> in module tm
[/usr/lib/ser/modules/tm.so]
0(1797) find_export: found <sl_reply_error> in module sl_module
[/usr/lib/ser/modules/sl.so]
ERROR: bad config file (2 errors)
0(1797) DEBUG: tm_shutdown : start
0(1797) DEBUG: tm_shutdown : emptying hash table
0(1797) DEBUG: tm_shutdown : releasing timers
0(1797) DEBUG: tm_shutdown : removing semaphores
0(1797) DEBUG: tm_shutdown : destroying tmcb lists
0(1797) DEBUG: tm_shutdown : done
0(1797) shm_mem_destroy
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers