[Serusers] RE: problem with loading compiled radius modules

Benny Ho bennyho1 at netvigator.com
Fri Feb 21 11:25:35 CET 2003


After a lot of trial and error, I got it compile and linked with the
radiusclient library,
but now it says

[root at md benny]# /usr/sbin/ser
Listening on
              127.0.0.1 [127.0.0.1]::5060
              192.168.10.18 [192.168.10.18]::5060
Aliases: md:5060 md.com:5060 localhost:5060 localhost.localdomain:5060
WARNING: no fork mode  and more than one listen address found (will use only
the
 the first one)
Initializing registrar module
usrloc module - initializing
 0(17686) mod_init(): Database connection opened successfuly
Maxfwd module- initializing
rr - initializing
stateless - initializing
radius_acc - initializing
 0(17686) Error:radius_acc: mod_init: opening configuration file
 0(17686) init_modules(): Error while initializing module radius_acc
ERROR: error while initializing modules
[root at md benny]#

-----------------------------------------------
seems there is an error while initializing the radius_acc?
what happen?

-----Original Message-----
From: Benny Ho [mailto:bennyho1 at netvigator.com]
Sent: Friday, February 21, 2003 6:17 PM
To: Benny Ho; serusers at lists.iptel.org
Subject: RE: problem with loading compiled radius modules


I think the problem lies on the ld
when I installed another radusclient
and recompile
now it says,

ld: cannot find radiusclient

how can I get it run?

-----Original Message-----
From: Benny Ho [mailto:bennyho1 at netvigator.com]
Sent: Friday, February 21, 2003 3:51 PM
To: Benny Ho; serusers at lists.iptel.org
Subject: RE: problem with loading compiled radius modules


I patches the radiusclient.h as said in mailgroup,
recompiled radiusclient

and restart ser

now I got the following error

[root at md benny]# /usr/sbin/ser restart
 0(9881) ERROR: load_module: could not open module
</usr/lib/ser/modules/radius_
acc.so>: /usr/lib/ser/modules/radius_acc.so: undefined symbol: rc_avpair_add
 0(9881) parse error (25,13-48): failed to load module
ERROR: bad config file (1 errors)
[root at md benny]#

Acutally the error exist after I recompile the radiusclient but before I
patched the radiusclient.h

Anyone can help???

-----Original Message-----
From: Benny Ho [mailto:bennyho1 at netvigator.com]
Sent: Friday, February 21, 2003 12:37 PM
To: serusers at lists.iptel.org
Subject: problem with loading compiled radius modules


I had the same error msgs when I load the radius_acc modules

the following is the error msgs


[root at md benny]# /usr/sbin/ser restart
 0(3699) ERROR: load_module: could not open module
</usr/lib/ser/modules/radius_
acc.so>: libradiusclient.so.0: cannot open shared object file: No such file
or d
irectory
 0(3699) parse error (25,13-48): failed to load module
ERROR: bad config file (1 errors)
[root at md benny]#

and I check that the radius_acc.so is in /usr/lib/ser/modules
and the libradiusclient.so.0 is also in /usr/local/lib  as it is stated in
the Makefile.

Where is the error came from? Have any one successfully implement it?




More information about the sr-users mailing list