[Serusers] Re: ser+radius
Kamran Ahmad
p_kami at yahoo.com
Wed Apr 6 09:12:37 CEST 2005
thanks for replying
now i am started with ser but when i am trying to
register to ser it is saying. i m getting it even if
it try to load only my auth_radius.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/auth_radius.so"
loadmodule "/usr/local/lib/ser/modules/auth.so"
route{
if
(!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if ( msg:len > max_len ) {
sl_send_reply("513", "Message too
big");
break;
};
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
if (uri==myself) {
if (method=="REGISTER") {
save("location");
break;
};
};
if (!t_relay()) {
sl_reply_error();
};
}
-------------------------------------------------------
WARNING: no fork mode and more than one listen
address found (will use only the the first one)
0(9844) DEBUG: init_mod: sl_module
stateless - initializing
0(9844) DEBUG: register_fifo_cmd: new command
(sl_stats) registered
0(9844) DEBUG: MD5 calculated:
b27e1a1d33761e85846fc98f5f3a7e58
0(9844) DEBUG: init_mod: tm
0(9844) TM - initializing...
0(9844) Call-ID initialization: '7fbf6bb7'
0(9844) DEBUG: register_fifo_cmd: new command
(t_uac_dlg) registered
0(9844) DEBUG: register_fifo_cmd: new command
(t_uac_cancel) registered
0(9844) DEBUG: register_fifo_cmd: new command
(t_hash) registered
0(9844) DEBUG: lock_initialize: lock initialization
started
0(9844) DEBUG: register_fifo_cmd: new command
(t_stats) registered
0(9844) DEBUG: MD5 calculated:
533cb9e91f4b999cf76861cbb9ed54ed
0(9844) DEBUG: MD5 calculated:
a6a1c5f60faecf035a1ae5b6e96e979a
0(9844) DEBUG: init_mod: rr
0(9844) rr - initializing
0(9844) DEBUG: init_mod: maxfwd_module
Maxfwd module- initializing
0(9844) DEBUG: init_mod: usrloc
0(9844) usrloc - initializing
0(9844) DEBUG: register_fifo_cmd: new command
(ul_stats) registered
0(9844) DEBUG: register_fifo_cmd: new command (ul_rm)
registered
0(9844) DEBUG: register_fifo_cmd: new command
(ul_rm_contact) registered
0(9844) DEBUG: register_fifo_cmd: new command
(ul_dump) registered
0(9844) DEBUG: register_fifo_cmd: new command
(ul_flush) registered
0(9844) DEBUG: register_fifo_cmd: new command
(ul_add) registered
0(9844) DEBUG: register_fifo_cmd: new command
(ul_show_contact) registered
0(9844) DEBUG: init_mod: registrar
0(9844) registrar - initializing
0(9844) find_export: found <sl_send_reply> in module
sl_module [/usr/local/lib/ser/modules/sl.so]
0(9844) find_export: found <ul_bind_usrloc> in module
usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_register_udomain> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_get_all_ucontacts> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_insert_urecord> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_delete_urecord> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_get_urecord> in module
usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_lock_udomain> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_unlock_udomain> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_release_urecord> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_insert_ucontact> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_delete_ucontact> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_get_ucontact> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) find_export: found <ul_update_ucontact> in
module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9844) DEBUG: init_mod: auth_radius
0(9844) auth_radius - Initializing
0(9844) auth_radius: No `Cisco' vendor in Radius
dictionary
0(9844) find_export: found <pre_auth> in module auth
[/usr/local/lib/ser/modules/auth.so]
0(9844) find_export: found <post_auth> in module auth
[/usr/local/lib/ser/modules/auth.so]
0(9844) ERROR: auth_radius: can't get code for the
Digest-Response attribute
0(9844) init_mod(): Error while initializing module
auth_radius
ERROR: error while initializing modules
0(9844) DEBUG: tm_shutdown : start
0(9844) DEBUG: tm_shutdown : empting DELETE list
0(9844) DEBUG: tm_shutdown : empting hash table
0(9844) DEBUG: tm_shutdown: releasing timers
0(9844) DEBUG: tm_shutdown : removing semaphores
0(9844) DEBUG: tm_shutdown : done
0(9844) shm_mem_destroy
0(9844) destroying the shared memory lock
--- "Greger V. Teigre" <greger at teigre.com> wrote:
> I believe this line says it all:
> libradiusclient.so.2: cannot open shared object
> file:
> No such file or directory
> Do: slocate libradiusclient.so
> The path of its location should be in your
> LD_LIBRARY_PATH
> g-)
>
> Kamran Ahmad wrote:
> > hello
> >
> > can any one tell why i am getting this error
> > i am using freeradius and radiusclient-0.4.8 with
> > SER-0.8.14.
> >
> > when i am tring to load
> > loadmodule
> "/usr/local/lib/ser/modules/auth_radius.so"
> > or
> > loadmodule "/usr/local/lib/ser/modules/acc.so"
> >
> > i am getting this error any help
> >
> > [ser-0.8.14]# ser start
> > 0(8165) loading module
> > /usr/local/lib/ser/modules/sl.so
> > 0(8165) loading module
> > /usr/local/lib/ser/modules/tm.so
> > 0(8165) loading module
> > /usr/local/lib/ser/modules/rr.so
> > 0(8165) loading module
> > /usr/local/lib/ser/modules/maxfwd.so
> > 0(8165) loading module
> > /usr/local/lib/ser/modules/usrloc.so
> > 0(8165) loading module
> > /usr/local/lib/ser/modules/registrar.so
> > 0(8165) loading module
> > /usr/local/lib/ser/modules/auth_radius.so
> > 0(8165) 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(8165) parse error (41,13-55): failed to load
> module
> > 0(8165) find_export: found
> <mf_process_maxfwd_header>
> > in module maxfwd_module
> > [/usr/local/lib/ser/modules/maxfwd.so]
> > 0(8165) find_export: found <sl_send_reply> in
> module
> > sl_module [/usr/local/lib/ser/modules/sl.so]
> > 0(8165) find_export: found <sl_send_reply> in
> module
> > sl_module [/usr/local/lib/ser/modules/sl.so]
> > 0(8165) find_export: found <record_route> in
> module
> > rr [/usr/local/lib/ser/modules/rr.so]
> > 0(8165) find_export: found <loose_route> in module
> rr
> > [/usr/local/lib/ser/modules/rr.so]
> > 0(8165) find_export: found <t_relay> in module tm
> > [/usr/local/lib/ser/modules/tm.so]
> > 0(8165) find_export: found <save> in module
> registrar
> > [/usr/local/lib/ser/modules/registrar.so]
> > 0(8165) find_export: found <lookup> in module
> > registrar
> [/usr/local/lib/ser/modules/registrar.so]
> > 0(8165) find_export: found <sl_send_reply> in
> module
> > sl_module [/usr/local/lib/ser/modules/sl.so]
> > 0(8165) find_export: found <t_relay> in module tm
> > [/usr/local/lib/ser/modules/tm.so]
> > 0(8165) find_export: found <sl_reply_error> in
> module
> > sl_module [/usr/local/lib/ser/modules/sl.so]
> > ERROR: bad config file (1 errors)
> > 0(8165) DEBUG: tm_shutdown : start
> > 0(8165) DEBUG: tm_shutdown : empting hash table
> > 0(8165) DEBUG: tm_shutdown: releasing timers
> > 0(8165) DEBUG: tm_shutdown : removing semaphores
> > 0(8165) DEBUG: tm_shutdown : done
> > 0(8165) shm_mem_destroy
> > 0(8165) destroying the shared memory lock
> >
> >
> >
> > __________________________________
> > Yahoo! Messenger
> > Show us what our next emoticon should look like.
> Join the fun.
> >
> http://www.advision.webevents.yahoo.com/emoticontest
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
__________________________________
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.
http://www.advision.webevents.yahoo.com/emoticontest
More information about the sr-users
mailing list