Hi all,
I am trying to configure radius for ser, and have installed
radiusclient-ng-0.5.1.
But when I run SER, it shows Errors with the four lines:
modparam("acc","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")
modparam("acc",
"service_type", 15)
modparam("acc", "radius_flag", 1)
modparam("acc",
"radius_missed_flag", 3)
***************************************************************************************
The errors are recorded in /var/log as following:
Jul 22 11:28:13 localhost ser: set_mod_param_regex: parameter
<radius_config> not found in module <acc>
Jul 22 11:28:13
localhost ser: parse error (77,18-19): Can't set module parameter
Jul 22
11:28:13 localhost ser: set_mod_param_regex: parameter <service_type> not
found in module <acc>
Jul 22 11:28:13 localhost ser: parse error
(79,20-21): Can't set module parameter
Jul 22 11:28:13 localhost ser:
set_mod_param_regex: parameter <radius_flag> not found in module
<acc>
Jul 22 11:28:13 localhost ser: parse error (80,19-20): Can't set
module parameter
Jul 22 11:28:13 localhost ser: set_mod_param_regex:
parameter <radius_missed_flag> not found in module <acc>
Jul 22
11:28:13 localhost ser: parse error (81,19-20): Can't set module parameter
Jul 22 11:28:13 localhost 7ÔÂ 22 11:28:13 ser: ERROR: bad config file
(4 errors)
***************************************************************************************
Any help in solving this problem will be appreciated.
Thanks
PS:
ser.cfg is as following:
# ------------------ module loading
----------------------------------
# Uncomment this if you want to use SQL database
loadmodule
"/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule
"/usr/local/lib/ser/modules/tm.so"
loadmodule
"/usr/local/lib/ser/modules/rr.so"
loadmodule
"/usr/local/lib/ser/modules/maxfwd.so"
loadmodule
"/usr/local/lib/ser/modules/usrloc.so"
loadmodule
"/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/uri.so"
# Uncomment this if you want digest authentication
#
mysql.so must be loaded !
loadmodule
"/usr/local/lib/ser/modules/auth.so"
loadmodule
"/usr/local/lib/ser/modules/auth_db.so"
loadmodule
"/usr/local/lib/ser/modules/acc.so"
#radius
loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
#radius
loadmodule "/usr/local/lib/ser/modules/group_radius.so"
#radius
# ----------------- 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)
# -- auth params --
# Uncomment if you are using auth
module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set
"calculate_ha1" parameter to yes (which true in this config),
# uncomment
also the following parameter)
#
modparam("auth_db", "password_column",
"password")
# -- rr params --
# add value to ;lr param to make some
broken UAs happy
modparam("rr", "enable_full_lr", 1)
modparam("auth_radius","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")
modparam("auth_radius","service_type",15)
modparam("acc","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")
modparam("acc","log_level",1)
modparam("acc",
"service_type", 15)
modparam("acc", "radius_flag", 1)
modparam("acc",
"radius_missed_flag", 3)
modparam("acc", "failed_transactions",
1)
modparam("acc", "report_ack",
0)
modparam("group_radius","radius_config","/usr/local/etc/radiusclient-ng/radiusclient.conf")
modparam("group_radius",
"use_domain", 1)
......