I am having problems using acc.so. It seems
that I can't set the following two
modparams:
modparam("acc", "db_flag", 2)
modparam("acc",
"db_missed_flag", 2)
But I have no
problems setting these two modparams and
commenting the top 2:
modparam("acc", "log_level", 1)
modparam("acc",
"log_flag", 1)
I get the following when I start set
up:
0(2902) loading module
/usr/local/lib/ser/modules/mysql.so
0(2902) loading module
/usr/local/lib/ser/modules/sl.so
0(2902) loading module
/usr/local/lib/ser/modules/tm.so
0(2902) loading module
/usr/local/lib/ser/modules/acc.so
0(2902) loading module
/usr/local/lib/ser/modules/rr.so
0(2902) loading module
/usr/local/lib/ser/modules/maxfwd.so
0(2902) loading module
/usr/local/lib/ser/modules/usrloc.so
0(2902) loading module
/usr/local/lib/ser/modules/registrar.so
0(2902) loading module
/usr/local/lib/ser/modules/uri.so
0(2902) loading module
/usr/local/lib/ser/modules/auth.so
0(2902) loading module
/usr/local/lib/ser/modules/auth_db.so
0(2902) set_mod_param_regex:
usrloc matches module usrloc
0(2902) set_mod_param_regex: found
<db_mode> in module usrloc
[/usr/local/lib/ser/modules/usrloc.so
0(2902) set_mod_param_regex:
auth_db matches module auth_db
0(2902) set_mod_param_regex: found
<calculate_ha1> in module auth_db
[/usr/local/lib/ser/modules/au
0(2902) set_mod_param_regex: auth_db
matches module auth_db
0(2902) set_mod_param_regex: found
<password_column> in module auth_db
[/usr/local/lib/ser/modules/
0(2902) set_mod_param_regex: rr matches
module rr
0(2902) set_mod_param_regex: found <enable_full_lr> in
module rr [/usr/local/lib/ser/modules/rr.so]
0(2902)
set_mod_param_regex: acc matches module acc
0(2902)
set_mod_param_regex: found <log_level> in module acc
[/usr/local/lib/ser/modules/acc.so]
0(2902) set_mod_param_regex: acc
matches module acc
0(2902) set_mod_param_regex: found <log_flag>
in module acc [/usr/local/lib/ser/modules/acc.so]
0(2902)
set_mod_param_regex: acc matches module acc
0(2902)
set_mod_param_regex: parameter <db_flag> not found in module
<acc>
0(2902) parse error (80,29-30): Can't set module
parameter
0(2902) set_mod_param_regex: acc matches module
acc
0(2902) set_mod_param_regex: parameter <db_missed_flag> not
found in module <acc>
0(2902) parse error (81,36-37): Can't set
module parameter
0(2902) set_mod_param_regex: acc matches module
acc
0(2902) set_mod_param_regex: found <log_fmt> in module acc
[/usr/local/lib/ser/modules/acc.so]
0(2902) find_export: found
<mf_process_maxfwd_header> in module maxfwd_module
[/usr/local/lib/ser/m
0(2902) find_export: found <sl_send_reply>
in module sl_module [/usr/local/lib/ser/modules/sl.so]
0(2902)
find_export: found <sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(2902) find_export: found
<record_route> in module rr
[/usr/local/lib/ser/modules/rr.so]
0(2902) find_export: found
<loose_route> in module rr
[/usr/local/lib/ser/modules/rr.so]
0(2902) find_export: found
<t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
0(2902)
find_export: found <www_authorize> in module auth_db
[/usr/local/lib/ser/modules/auth_db.so
0(2902) find_export: found
<www_challenge> in module auth
[/usr/local/lib/ser/modules/auth.so]
0(2902) find_export: found
<check_to> in module uri
[/usr/local/lib/ser/modules/uri.so]
0(2902) find_export: found
<sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(2902) find_export: found
<save> in module registrar
[/usr/local/lib/ser/modules/registrar.so]
0(2902) find_export: found
<lookup> in module registrar
[/usr/local/lib/ser/modules/registrar.so]
0(2902) find_export: found
<lookup> in module registrar
[/usr/local/lib/ser/modules/registrar.so]
0(2902) find_export: found
<sl_send_reply> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
0(2902) find_export: found
<t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
0(2902)
find_export: found <sl_reply_error> in module sl_module
[/usr/local/lib/ser/modules/sl.so]
ERROR: bad config file (2
errors)
0(2902) DEBUG: tm_shutdown : start
0(2902) DEBUG:
tm_shutdown : empting hash table
0(2902) DEBUG: tm_shutdown: releasing
timers
0(2902) DEBUG: tm_shutdown : removing
semaphores
0(2902) DEBUG: tm_shutdown : done
0(2902)
shm_mem_destroy
0(2902) destroying the shared memory lock
Does anyone know
what I can be doing wrong, Thanks.
Regards,
Freddy