Hi,
based on your trace, it looks like you have no Sip-Src-Ip inside your
freeradius dictionary. Make sure you load your dictionaries properly (the
example of dictionary in the documentation you have mentioned should still
do).
Regarding FreeRADIUS version, there should be not really important since
OpenSER has no real connection with the FreeRADIUS, but personally I would
suggest you use the latest stable FreeRADIUS version (bug less one).
Hope that helps,
Dan
2008/3/7 htl_22 <htl_22(a)163.com>om>:
Dear
openser.org:
I have studied "Build SIP-based VOIP Service With RADIUS AAA Using
OpenSER And FreeRadius" web pages.This documentation is valid for OpenSER
v1.0.1 and FreeRadius v1.1.0.
My OS is unbuntu 6.10.The radius and openser install are
successful.MySQl work well,and the radius start also,but OpenSER don't
start!
The error information is:
tr<0xb7f603a0> 0(5988) ); 0(5988) } else { 0(5988) }; 0(5988) exit(
0(5988) type<0> 0(5988) ); 0(5988) exit( 0(5988) type<0> 0(5988) );
0(5988)
Listening on
udp: 10.1.37.22 [10.1.37.22]:5060
Aliases:
udp: htl-desktop:5060
*: openser.org:*
WARNING: no fork mode
0(5988) fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048
0(5988) fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16548
0(5988) fm_malloc_init(0xb5a9f000, 33554432), start=0xb5a9f000
0(5988) shm_mem_init: success
0(0) core dump limits set to 4294967295
0(0) DEBUG: init_mod: mysql
0(0) mysql: MySQL client version is 5.0.24a
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: 8f36450dbf9496a39daffb98efb4221a
0(0) DEBUG: init_mod: tm
0(0) TM - (size of cell=2832, sip_msg=768) initializing...
0(0) Call-ID initialization: '2ff5b7ea'
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: 741ad5dfb14662b78989a07dc5c8b59e
0(0) DEBUG: MD5 calculated: eb9313e49dd2c8bc3fd8ed1343760911
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: avpops
0(0) AVPops - 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) find_mod_export: found <db_use_table> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_init> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_close> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_query> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_raw_query> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_free_result> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_insert> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_delete> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_update> in module mysql
[/usr/local/lib/openser/modules/]
0(0) find_mod_export: found <db_replace> in module mysql
[/usr/local/lib/openser/modules/]
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/]
0(0) find_export: found <ul_bind_usrloc> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_register_udomain> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_get_all_ucontacts> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_insert_urecord> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_delete_urecord> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_get_urecord> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_lock_udomain> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_unlock_udomain> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_release_urecord> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_insert_ucontact> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_delete_ucontact> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_get_ucontact> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_update_ucontact> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_register_watcher> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_unregister_watcher> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) find_export: found <ul_register_ulcb> in module usrloc
[/usr/local/lib/openser/modules/]
0(0) DEBUG: init_mod: textops
textops - initializing
0(0) DEBUG: init_mod: xlog
0(0) XLOG: initializing ...
0(0) DEBUG: init_mod: acc
0(0) ACC - initializing
0(0) find_export: found <load_tm> in module tm
[/usr/local/lib/openser/modules/]
0(0) *ERROR: acc: can't get code for the Sip-Src-IP attribute
* 0(0) init_mod(): Error while initializing module acc
ERROR: error while initializing modules
0(0) XLOG: destroy module ...
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(5988) shm_mem_destroy
0(5988) destroying the shared memory lock
I wish that you can hint me and help me solving the problem!
If openser's version is 1.1.0 and it need the "presence" module, Which
freeradius version will be choosed?
sincerely tlhe
------------------------------
中 国 最 强 网 游 --- 网 易 梦 幻 西 游 ,166 万 玩 家 同 时 在 线
<http://event.mail.163.com/chanel/click.htm?from=NO_26&domain=163>
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users