I'm trying to enable radius auth, but the loadmodule fails. I installed the libradiusclient 0.3.2 and I c libradiusclient.so in /usr/local/lib.
I saw the advice about adding /usr/local/lib to the /etc/ld.so.conf and running ldconfig -v. I even saw that it handles the libradiusclient.so. Then I tried to fool auth_radius by adding a link to libradiusclient.so named libradiusclient.so.2, but then it didn't find some symbol rc_dict..
The configuration file is the default file, except the loadlodule for auth_radius and replacing www_auth with radius_auth. The ser output is:
0(14859) loading module /usr/local/lib/ser/modules/sl.so 0(14859) loading module /usr/local/lib/ser/modules/tm.so 0(14859) loading module /usr/local/lib/ser/modules/rr.so 0(14859) loading module /usr/local/lib/ser/modules/maxfwd.so 0(14859) loading module /usr/local/lib/ser/modules/usrloc.so 0(14859) loading module /usr/local/lib/ser/modules/registrar.so 0(14859) loading module /usr/local/lib/ser/modules/auth.so 0(14859) loading module /usr/local/lib/ser/modules/auth_radius.so 0(14859) ERROR: load_module: could not open module </usr/local/lib/ser/modules/auth_radius.so>: libradiusclient.so.2: cannot open shared object file: No such file or directory 0(14859) parse error (38,13-55): failed to load module 0(14859) set_mod_param_regex: usrloc matches module usrloc 0(14859) set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(14859) set_mod_param_regex: rr matches module rr 0(14859) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/ser/modules/rr.so] 0(14859) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/usr/local/lib/ser/modules/maxfwd.so] 0(14859) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(14859) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(14859) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so] 0(14859) find_export: found <loose_route> in module rr [/usr/local/lib/ser/modules/rr.so] 0(14859) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so] 0(14859) find_export: <radius_www_authorize> not found 0(14859) find_export: <radius_www_authorize> not found 0(14859) parse error (105,32-33): unknown command, missing loadmodule?
.
a. why does the auth_radius looking for 'libradiusclient.so.2' doesn't it seeks the 'libradiusclient.so'? b. what can I do in order to make it work?
Thx in advance, Itsik
what version of ser do you use? You may need radiusclient-ng library -- this is the library used by latest versions of ser. You can find it at: http://developer.berlios.de/projects/radiusclient-ng/
Daniel
On 04/19/05 11:53, itsik wrote:
I'm trying to enable radius auth, but the loadmodule fails. I installed the libradiusclient 0.3.2 and I c libradiusclient.so in /usr/local/lib.
I saw the advice about adding /usr/local/lib to the /etc/ld.so.conf and running ldconfig -v. I even saw that it handles the libradiusclient.so. Then I tried to fool auth_radius by adding a link to libradiusclient.so named libradiusclient.so.2, but then it didn't find some symbol rc_dict..
The configuration file is the default file, except the loadlodule for auth_radius and replacing www_auth with radius_auth. The ser output is:
0(14859) loading module /usr/local/lib/ser/modules/sl.so 0(14859) loading module /usr/local/lib/ser/modules/tm.so 0(14859) loading module /usr/local/lib/ser/modules/rr.so 0(14859) loading module /usr/local/lib/ser/modules/maxfwd.so 0(14859) loading module /usr/local/lib/ser/modules/usrloc.so 0(14859) loading module /usr/local/lib/ser/modules/registrar.so 0(14859) loading module /usr/local/lib/ser/modules/auth.so 0(14859) loading module /usr/local/lib/ser/modules/auth_radius.so 0(14859) ERROR: load_module: could not open module </usr/local/lib/ser/modules/auth_radius.so>: libradiusclient.so.2: cannot open shared object file: No such file or directory 0(14859) parse error (38,13-55): failed to load module 0(14859) set_mod_param_regex: usrloc matches module usrloc 0(14859) set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(14859) set_mod_param_regex: rr matches module rr 0(14859) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/ser/modules/rr.so] 0(14859) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/usr/local/lib/ser/modules/maxfwd.so] 0(14859) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(14859) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(14859) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so] 0(14859) find_export: found <loose_route> in module rr [/usr/local/lib/ser/modules/rr.so] 0(14859) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so] 0(14859) find_export: <radius_www_authorize> not found 0(14859) find_export: <radius_www_authorize> not found 0(14859) parse error (105,32-33): unknown command, missing loadmodule?
.
a. why does the auth_radius looking for 'libradiusclient.so.2' doesn't it seeks the 'libradiusclient.so'? b. what can I do in order to make it work?
Thx in advance, Itsik
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers