[Users] Re: [Serdev] Please help problem with AUTH with radius....using openser-1.0.9

Klaus Darilion klaus.mailinglists at pernau.at
Mon Nov 21 21:34:59 CET 2005


Hi Lokesh!

A small debugging workshop:
1. Watch the lines with "error" in it:

==> 0(0) ERROR: auth_radius: can't get code for the SIP-AVP attribute

2. Seems like the SIP-AVP attribute is unknown to the radius client. Are 
you using the proper radius dictionary? There must be line with 
"SIP-AVP" in it.

regards
klaus


Lokesh Kumar wrote:
> Hello Friends,
> 
> I had installed openser-1.0.9, and enabled radius accounting in my 
> openser.cfg file. But I am getting  errors mentioned below. and my 
> openser crashed without running. I am unable to find out whats the 
> reason. No posts available relating to this matter also. Please help 
> me.........
> 
>  
> 
> 0(6348) shm_mem_init: success
> 
> 0(0) core dump limits set to 4294967295
> 
> 0(0) DEBUG: init_mod: sl_module
> 
> stateless - initializing
> 
> 0(0) DEBUG: register_fifo_cmd: new command (sl_stats) registered
> 
> 0(0) unixsock_register_cmd: New command (sl_stats) registered
> 
> 0(0) DEBUG: MD5 calculated: 329cfeaa6ded039da25ff8cbb8668bd2
> 
> 0(0) DEBUG: init_mod: tm
> 
> 0(0) TM - (size of cell=2832, sip_msg=768) initializing...
> 
> 0(0) Call-ID initialization: '3f69f754'
> 
> 0(0) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (t_uac_cancel) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (t_hash) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (t_reply) registered
> 
> 0(0) unixsock_register_cmd: New command (t_uac_dlg) registered
> 
> 0(0) unixsock_register_cmd: New command (t_uac_cancel) registered
> 
> 0(0) unixsock_register_cmd: New command (t_hash) registered
> 
> 0(0) unixsock_register_cmd: New command (t_reply) registered
> 
> 0(0) DEBUG: lock_initialize: lock initialization started
> 
> 0(0) DEBUG: register_fifo_cmd: new command (t_stats) registered
> 
> 0(0) unixsock_register_cmd: New command (t_stats) registered
> 
> 0(0) DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed
> 
> 0(0) DEBUG: MD5 calculated: fa997f81440371de71ab448ebdb9af56
> 
> 0(0) DEBUG: init_mod: rr
> 
> 0(0) rr - initializing
> 
> 0(0) DEBUG: init_mod: maxfwd
> 
> 0(0) Maxfwd module- initializing
> 
> 0(0) DEBUG: init_mod: usrloc
> 
> 0(0) usrloc - initializing
> 
> 0(0) DEBUG: register_fifo_cmd: new command (ul_stats) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (ul_rm) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (ul_dump) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (ul_flush) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (ul_add) registered
> 
> 0(0) DEBUG: register_fifo_cmd: new command (ul_show_contact) registered
> 
> 0(0) unixsock_register_cmd: New command (ul_stats) registered
> 
> 0(0) unixsock_register_cmd: New command (ul_rm) registered
> 
> 0(0) unixsock_register_cmd: New command (ul_rm_contact) registered
> 
> 0(0) unixsock_register_cmd: New command (ul_dump) registered
> 
> 0(0) unixsock_register_cmd: New command (ul_flush) registered
> 
> 0(0) unixsock_register_cmd: New command (ul_add) registered
> 
> 0(0) unixsock_register_cmd: New command (ul_show_contact) registered
> 
> 0(0) DEBUG: init_mod: registrar
> 
> 0(0) registrar - initializing
> 
> 0(0) find_export: found <sl_send_reply> in module sl_module 
> [/usr/local/lib/openser/modules/sl.so]
> 
> 0(0) find_export: found <ul_bind_usrloc> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_register_udomain> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_get_all_ucontacts> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_insert_urecord> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_delete_urecord> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_get_urecord> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_lock_udomain> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_unlock_udomain> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_release_urecord> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_insert_ucontact> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_delete_ucontact> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_get_ucontact> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_update_ucontact> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_register_watcher> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_unregister_watcher> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) find_export: found <ul_register_ulcb> in module usrloc 
> [/usr/local/lib/openser/modules/usrloc.so]
> 
> 0(0) DEBUG: init_mod: textops
> 
> textops - initializing
> 
> 0(0) DEBUG: init_mod: auth
> 
> 0(0) AUTH module - initializing
> 
> 0(0) find_export: found <sl_send_reply> in module sl_module 
> [/usr/local/lib/openser/modules/sl.so]
> 
> 0(0) DEBUG: init_mod: auth_radius
> 
> 0(0) auth_radius - Initializing
> 
> 0(0) auth_radius: No `Cisco' vendor in Radius dictionary
> 
> 0(0) find_export: found <bind_auth> in module auth 
> [/usr/local/lib/openser/modules/auth.so]
> 
> 0(0) ERROR: auth_radius: can't get code for the SIP-AVP attribute
> 
> 0(0) init_mod(): Error while initializing module auth_radius
> 
> ERROR: error while initializing modules
> 
> 0(0) DEBUG: tm_shutdown : start
> 
> 0(0) DEBUG: unlink_timer_lists : emptying DELETE list
> 
> 0(0) DEBUG: tm_shutdown : emptying hash table
> 
> 0(0) DEBUG: tm_shutdown : releasing timers
> 
> 0(0) DEBUG: tm_shutdown : removing semaphores
> 
> 0(0) DEBUG: tm_shutdown : destroying tmcb lists
> 
> 0(0) DEBUG: tm_shutdown : done
> 
> 0(6348) shm_mem_destroy
> 
> 0(6348) destroying the shared memory lock
> 
> [root at ser init.d]#
> 
>  
> 
>  
> 
> Thanks you very much
> 
> Lokesh
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Serdev mailing list
> Serdev at iptel.org
> http://mail.iptel.org/mailman/listinfo/serdev





More information about the Users mailing list