I tried to load SER with Radius Account support. SER failed to start with the following error message:
0(30753) ERROR: load_module: could not open module </usr/local/lib/ser/modules/acc.so>: libradiusclient.so.0: cannot open shared object file: No such file or directory 0(30753) parse error (42,13-47): failed to load module 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (54,32-33): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (58,33-34): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (59,31-32): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (62,31-32): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (64,42-43): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (65,41-42): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (66,58-59): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (67,29-30): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (68,35-36): Can't set module parameter 0(30753) set_mod_param_regex: No module matching acc found | 0(30753) parse error (69,37-38): Can't set module parameter ERROR: bad config file (11 errors)
I cannot figure out what went wrong.
I installed my SER with the latest CVS. I also have radiusclient and freeradius installed on the same machine.
Any idea?
Younger Wang
On Jul 18, 2003 at 16:27, Younger Wang wygmail@yeah.net wrote:
I tried to load SER with Radius Account support. SER failed to start with the following error message:
0(30753) ERROR: load_module: could not open module </usr/local/lib/ser/modules/acc.so>: libradiusclient.so.0: cannot open shared object file: No such file or directory
Try: /sbin/ldconfig -p |grep libradius
If you don't get anything it means libradiusclient is not added to your dynamic linker cache. If your system is linux, edit /etc/ld.so.conf (see ldconfig(8)) and re-run ldconfig or set LD_LIBRARY_PATH.
If you still have problems sent to the list the output of : ldd /usr/local/lib/ser/modules/acc.so /sbin/ldconfig -p |grep libradius
Andrei
You are right. I set env LD_LIBRARY_PATH and ser works now.
Thank you.
Younger Wang
----- Original Message ----- From: "Andrei Pelinescu-Onciul" pelinescu-onciul@fokus.fraunhofer.de To: "Younger Wang" wygmail@yeah.net Cc: serusers@iptel.org Sent: Monday, July 21, 2003 4:12 PM Subject: Re: [Serusers] Acc with Radius support failed.
On Jul 18, 2003 at 16:27, Younger Wang wygmail@yeah.net wrote:
I tried to load SER with Radius Account support. SER failed to start with the following error message:
0(30753) ERROR: load_module: could not open module </usr/local/lib/ser/modules/acc.so>: libradiusclient.so.0: cannot open shared object file: No such file or directory
Try: /sbin/ldconfig -p |grep libradius
If you don't get anything it means libradiusclient is not added to your dynamic linker cache. If your system is linux, edit /etc/ld.so.conf (see ldconfig(8)) and re-run ldconfig or set LD_LIBRARY_PATH.
If you still have problems sent to the list the output of : ldd /usr/local/lib/ser/modules/acc.so /sbin/ldconfig -p |grep libradius
Andrei