Hi Again,

Last log lines weren't attached:

DEBUG:init_mod_child: CHILD , rank=1, module=dispatcher
Aug 20 17:40:11 [3897] DBG:dispatcher:child_init:  #1 / pid <3897>
Segmentation fault (core dumped)


Thanks,

Borislav

2007/8/20, Borislav Ivandic <francisco.ivandic@gmail.com>:
Hi Daniel,

Apologize me for the delay, but it wasn't easy setting-up the lab environment. Anyway, downloaded the devel version, and, after installing, found a "Segmentation fault (core dumped)" log message. Maybe it's my short experience working with devel versions, but wasn't able to run openser. Please see below the log:

Thanks in advance,

Borislav Ivandic

Log:

loading module /usr/local/lib/openser/modules/sl.so
loading module /usr/local/lib/openser/modules/tm.so
DEBUG: register_pv: tm
xl_add_extra_spec: extra items list is not initialized
xl_add_extra_spec: inserting extra item [T_branch_idx] at [0]
xl_add_extra_spec: inserting extra item [T_reply_code] at [1]
loading module /usr/local/lib/openser/modules/rr.so
loading module /usr/local/lib/openser/modules/maxfwd.so
loading module /usr/local/lib/openser/modules/usrloc.so
loading module /usr/local/lib/openser/modules/registrar.so
loading module /usr/local/lib/openser/modules/nathelper.so
loading module /usr/local/lib/openser/modules/textops.so
loading module /usr/local/lib/openser/modules/exec.so
loading module /usr/local/lib/openser/modules/uri.so
loading module /usr/local/lib/openser/modules/uri_db.so
loading module /usr/local/lib/openser/modules/dispatcher.so
loading module /usr/local/lib/openser/modules/avpops.so
loading module /usr/local/lib/openser/modules/mi_fifo.so
loading module /usr/local/lib/openser/modules/mysql.so
loading module /usr/local/lib/openser/modules/auth.so
loading module /usr/local/lib/openser/modules/auth_db.so
set_mod_param_regex: usrloc matches module usrloc
set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
set_mod_param_regex: usrloc matches module usrloc
set_mod_param_regex: found <db_url> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
set_mod_param_regex: usrloc matches module usrloc
set_mod_param_regex: found <timer_interval> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
set_mod_param_regex: auth_db matches module auth_db
set_mod_param_regex: found <calculate_ha1> in module auth_db [/usr/local/lib/openser/modules/auth_db.so]
set_mod_param_regex: auth_db matches module auth_db
set_mod_param_regex: found <db_url> in module auth_db [/usr/local/lib/openser/modules/auth_db.so]
set_mod_param_regex: auth_db matches module auth_db
set_mod_param_regex: found <password_column> in module auth_db [/usr/local/lib/openser/modules/auth_db.so]
set_mod_param_regex: uri_db matches module uri_db
set_mod_param_regex: found <db_url> in module uri_db [/usr/local/lib/openser/modules/uri_db.so]
set_mod_param_regex: rr matches module rr
set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/openser/modules/rr.so]
set_mod_param_regex: registrar matches module registrar
set_mod_param_regex: found <max_expires> in module registrar [/usr/local/lib/openser/modules/registrar.so]
set_mod_param_regex: registrar matches module registrar
set_mod_param_regex: found <min_expires> in module registrar [/usr/local/lib/openser/modules/registrar.so]
set_mod_param_regex: registrar matches module registrar
set_mod_param_regex: found <append_branches> in module registrar [/usr/local/lib/openser/modules/registrar.so]
set_mod_param_regex: nathelper matches module nathelper
set_mod_param_regex: found <natping_interval> in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
set_mod_param_regex: nathelper matches module nathelper
set_mod_param_regex: found <ping_nated_only> in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
set_mod_param_regex: usrloc matches module usrloc
set_mod_param_regex: found <nat_bflag> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
set_mod_param_regex: tm matches module tm
set_mod_param_regex: found <fr_timer> in module tm [/usr/local/lib/openser/modules/tm.so]
set_mod_param_regex: dispatcher matches module dispatcher
set_mod_param_regex: found <list_file> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
set_mod_param_regex: dispatcher matches module dispatcher
set_mod_param_regex: found <flags> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
set_mod_param_regex: dispatcher matches module dispatcher
set_mod_param_regex: found <dst_avp> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
set_mod_param_regex: dispatcher matches module dispatcher
set_mod_param_regex: found <grp_avp> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
set_mod_param_regex: dispatcher matches module dispatcher
set_mod_param_regex: found <cnt_avp> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
set_mod_param_regex: dispatcher matches module dispatcher
set_mod_param_regex: found <force_dst> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
set_mod_param_regex: mi_fifo matches module mi_fifo
set_mod_param_regex: found <fifo_name> in module mi_fifo [/usr/local/lib/openser/modules/mi_fifo.so]
find_cmd_export_t: found <mf_process_maxfwd_header>(1) in module maxfwd [/usr/local/lib/openser/modules/maxfwd.so]
find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <record_route>(0) in module rr [/usr/local/lib/openser/modules/rr.so]
find_cmd_export_t: found <loose_route>(0) in module rr [/usr/local/lib/openser/modules/rr.so]
find_cmd_export_t: found <append_hf>(1) in module textops [/usr/local/lib/openser/modules/textops.so]
find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]
find_cmd_export_t: found <lookup>(1) in module registrar [/usr/local/lib/openser/modules/registrar.so]
find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <nat_uac_test>(1) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
find_cmd_export_t: found <fix_nated_contact>(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
find_cmd_export_t: found <t_on_reply>(1) in module tm [/usr/local/lib/openser/modules/tm.so]
find_cmd_export_t: found <www_authorize>(2) in module auth_db [/usr/local/lib/openser/modules/auth_db.so]
find_cmd_export_t: found <www_challenge>(2) in module auth [/usr/local/lib/openser/modules/auth.so]
find_cmd_export_t: found <check_to>(0) in module uri_db [/usr/local/lib/openser/modules/uri_db.so]
find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <save>(1) in module registrar [/usr/local/lib/openser/modules/registrar.so]
find_cmd_export_t: found <www_authorize>(2) in module auth_db [/usr/local/lib/openser/modules/auth_db.so]
find_cmd_export_t: found <www_challenge>(2) in module auth [/usr/local/lib/openser/modules/auth.so]
find_cmd_export_t: found <check_from>(0) in module uri_db [/usr/local/lib/openser/modules/uri_db.so]
find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <append_hf>(1) in module textops [/usr/local/lib/openser/modules/textops.so]
find_cmd_export_t: found <append_hf>(1) in module textops [/usr/local/lib/openser/modules/textops.so]
find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]
find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <t_on_failure>(1) in module tm [/usr/local/lib/openser/modules/tm.so]
find_cmd_export_t: found <ds_select_dst>(2) in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]
find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <fix_nated_contact>(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
find_cmd_export_t: found <nat_uac_test>(1) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
find_cmd_export_t: found <fix_nated_contact>(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
find_cmd_export_t: found <t_check_status>(1) in module tm [/usr/local/lib/openser/modules/tm.so]
find_cmd_export_t: found <ds_mark_dst>(0) in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
find_cmd_export_t: found <ds_next_dst>(0) in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]
find_cmd_export_t: found <t_on_failure>(1) in module tm [/usr/local/lib/openser/modules/tm.so]
routing table 0:
if (EVAL( NOT(  external_module_call(f<mf_process_maxfwd_header>, "10");  ) )) { external_module_call(f<sl_send_reply>, "483", "Too Many Hops"); exit(type<0>); }; if (EVAL( UNKNOWN[11]>65535 )) { external_module_call(f<sl_send_reply>, "513", "Message too big"); exit(type<0>); }; if (EVAL( OR( OR( EVAL( method=="OPTIONS" ), EVAL( method=="SUBSCRIBE" ) ), EVAL( method=="NOTIFY" ) ) )) { external_module_call(f<sl_send_reply>, "405", "Method Not Allowed"); exit(type<0>); }; if (EVAL( NOT( method=="REGISTER" ) )) { external_module_call(f<record_route>); }; if (EVAL(  external_module_call(f<loose_route>);  )) { external_module_call(f<append_hf>, "P-hint: rr-enforced
");  external_module_call(f<t_relay>); exit(type<0>); }; if (EVAL( OR( EVAL( srcip== 192.168.1.167/255.255.255.255 ), EVAL( srcip== 192.168.1.168/255.255.255.255 ) ) )) {if (EVAL( NOT(  external_module_call(f<lookup>, "location");  ) )) { external_module_call(f<sl_send_reply>, "404", "Not Found"); exit(type<0>); }; }; if (EVAL( OR( EVAL( srcip== 192.168.1.167/255.255.255.255 ), EVAL( srcip== 192.168.1.168/255.255.255.255 ) ) )) {if (EVAL( method=="INVITE" )) {route(1); exit(type<0>); }; }; if (EVAL(  external_module_call(f<nat_uac_test>, "3");  )) {if (EVAL( OR( OR( EVAL( method=="REGISTER" ), EVAL( method=="INVITE" ) ), EVAL( method=="OPTIONS" ) ) )) { external_module_call(f<fix_nated_contact>); force_rport(type<0>); setflag(6);  external_module_call(f<t_on_reply>, "1"); }; }; if (EVAL( method=="REGISTER" )) {if (EVAL( NOT(  external_module_call(f<www_authorize>, "", "subscriber");  ) )) { external_module_call(f<www_challenge>, "", "0"); exit(type<0>); }; if (EVAL( NOT(  external_module_call(f<check_to>);  ) )) { external_module_call(f<sl_send_reply>, "403", "Digest username and
URI username do NOT match! Stay away!"); exit(type<0>); };  external_module_call(f<save>, "location"); exit(type<0>); }; if (EVAL( method=="INVITE" )) {if (EVAL( NOT(  external_module_call(f<www_authorize>, "", "subscriber");  ) )) { external_module_call(f<www_challenge>, "", "0"); exit(type<0>); }; if (EVAL( NOT(  external_module_call(f<check_from>);  ) )) { external_module_call(f<sl_send_reply>, "403", "Digest username and
URI username do NOT match! Stay away!"); exit(type<0>); }; }; if (EVAL( method=="ACK" )) {route(2); exit(type<0>); }; if (EVAL( NOT( uri==_myself_ ) )) { external_module_call(f<append_hf>, "P-hint: outbound
"); route(2); exit(type<0>); };  external_module_call(f<append_hf>, "P-hint: usrloc applied
"); route(2);
routing table 1:
if (EVAL( NOT(  external_module_call(f<t_relay>);  ) )) { external_module_call(f<sl_reply_error>); };
routing table 2:
 external_module_call(f<t_on_failure>, "1"); if (EVAL( AND( EVAL( srcip!= 192.168.1.167/255.255.255.255 ), EVAL( srcip!= 192.168.1.168/255.255.255.255 ) ) )) {if (EVAL( method=="INVITE" )) { external_module_call(f<ds_select_dst>, "1", "4"); }; }; if (EVAL( NOT(  external_module_call(f<t_relay>);  ) )) { external_module_call(f<sl_reply_error>); };
onreply routing table 1:
if (EVAL( AND( isflagset(6); , uri=~"(183)|2[0-9][0-9]" ) )) { external_module_call(f<fix_nated_contact>);  } else { if (EVAL(  external_module_call(f<nat_uac_test>, "1");  )) { external_module_call(f<fix_nated_contact>); }; };
failure routing table 1:
if (EVAL(  external_module_call(f<t_check_status>, "408");  )) { external_module_call(f<ds_mark_dst>); if (EVAL(  external_module_call(f<ds_next_dst>);  )) { external_module_call(f<t_relay>);  external_module_call(f<t_on_failure>, "1"); }; };
DEBUG:socket2str: <udp:192.168.1.160:5060>
DEBUG:socket2str: <tcp: 192.168.1.160:5060>
Listening on
             udp: 192.168.1.160 [ 192.168.1.160]:5060
             tcp: 192.168.1.160 [ 192.168.1.160 ]:5060
Aliases:
             tcp: tel:5060
             tcp: tel.tex.sip:5060
             udp: tel:5060
             udp: tel.tex.sip:5060

WARNING: no fork mode
fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048
fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16560
fm_malloc_init(0xb5a7f000, 33554432), start=0xb5a7f000
shm_mem_init: success
init_tcp: using epoll_lt as the io watch method (auto detected)
Aug 20 16:49:32 [3904] DBG:core:count_module_procs: modules require 1 extra processes
core dump limits set to 4294967295
DEBUG:add_avp_galias: registering <serial_branch> for avp id <16725044>
INFO: statistics manager successfully initialized
DEBUG: init_mod: sl
Aug 20 16:49:32 [0] INFO:sl:mod_init: Initializing StateLess engine
DEBUG: MD5 calculated: e9a4f4c9dcdf4315c1670e73ac4e2059
DEBUG: register_stats: sl
DEBUG: init_mod: tm
TM - initializing...
Call-ID initialization: '12fefdff'
DEBUG: lock_initialize: lock initialization started
DEBUG: MD5 calculated: d4526bf2434202fc2c5ada37346c05b8
DEBUG: MD5 calculated: ad0c0bb146c3a220dd8eb5f7c99d4fed
DEBUG: register_stats: tm
DEBUG: register_mi: tm
DEBUG: init_mod: rr
rr - initializing
DEBUG: init_mod: maxfwd
Aug 20 16:49:32 [0] NOTICE:maxfwd:mod_init: initializing
DEBUG: init_mod: usrloc
usrloc - initializing
INFO:ul_init_locks: locks array size 512
find_mod_export: found <db_use_table> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_init> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_close> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_fetch_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_raw_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_free_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_insert> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_delete> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_replace> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_last_inserted_id> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_insert_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
DEBUG: register_stats: usrloc
DEBUG: register_mi: usrloc
DEBUG: init_mod: registrar
registrar - initializing
find_cmd_export_t: found <load_sl>(0) in module sl [/usr/local/lib/openser/modules/sl.so]
find_cmd_export_t: found <ul_bind_usrloc>(1) in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
DEBUG: register_stats: registrar
DEBUG: init_mod: nathelper
find_cmd_export_t: found <ul_bind_usrloc>(1) in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
DEBUG: register_mi: nathelper
DEBUG: init_mod: textops
TextOPS - initializing
DEBUG: init_mod: exec
EXEC - initializing
DEBUG: init_mod: uri_db
uri_db - initializing
find_mod_export: found <db_use_table> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_init> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_close> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_fetch_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_raw_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_free_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_insert> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_delete> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_replace> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_last_inserted_id> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_insert_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool
new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser
new_connection: Connection type is Localhost via UNIX socket
new_connection: Protocol version is 10
new_connection: Server version is 5.0.26-log
DEBUG:db_free_rows: Freeing 1 rows
DEBUG:db_free_row: Row[0]=0x8160d18
DEBUG:db_free_rows: 0x8160d18=pkg_free() RES_ROWS
pool_remove: Removing connection from the pool
DEBUG: init_mod: dispatcher
Aug 20 16:49:32 [0] DBG:dispatcher:mod_init: initializing ...
Aug 20 16:49:32 [0] DBG:dispatcher:add_dest2list: dest [1/1] <sip: 192.168.1.161:5060>
Aug 20 16:49:32 [0] DBG:dispatcher:add_dest2list: dest [1/2] <sip:192.168.1.167:5060 >
Aug 20 16:49:32 [0] DBG:dispatcher:add_dest2list: dest [1/3] <sip: 192.168.1.102:5060>
Aug 20 16:49:32 [0] DBG:dispatcher:reindex_dests: found [1] dest sets
Aug 20 16:49:32 [0] DBG:dispatcher:mod_init: loaded dispatching list
xl_parse_name: name [i:271] index [0]
xl_parse_vname: avp [i:271]
xl_parse_name: name [i:272] index [0]
xl_parse_vname: avp [i:272]
xl_parse_name: name [i:273] index [0]
xl_parse_vname: avp [i:273]
DEBUG: register_mi: dispatcher
DEBUG: init_mod: avpops
AVPops - initializing
DEBUG: init_mod: mi_fifo
Aug 20 16:49:32 [0] DBG:mi_fifo:mi_mod_init: testing fifo existance ...
DEBUG: init_mod: mysql
mysql: MySQL client version is 5.0.26
DEBUG: init_mod: auth
AUTH module - initializing
find_cmd_export_t: found <load_sl>(0) in module sl [/usr/local/lib/openser/modules/sl.so]
xl_parse_name: name [s:rpid] index [0]
xl_parse_vname: avp [s:rpid]
DEBUG: init_mod: auth_db
AUTH_DB module - initializing
find_mod_export: found <db_use_table> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_init> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_close> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_fetch_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_raw_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_free_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_insert> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_delete> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_replace> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_last_inserted_id> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_mod_export: found <db_insert_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
find_cmd_export_t: found <bind_auth>(0) in module auth [/usr/local/lib/openser/modules/auth.so]
find_cmd_export_t: found <load_sl>(0) in module sl [/usr/local/lib/openser/modules/sl.so]
fixing mf_process_maxfwd_header, line 85
fixing sl_send_reply, line 86
xl_parse_format: parsing [483]
xl_parse_format: format parsed OK: [1] items
xl_parse_format: parsing [Too Many Hops]
xl_parse_format: format parsed OK: [1] items
fixing sl_send_reply, line 90
xl_parse_format: parsing [513]
xl_parse_format: format parsed OK: [1] items
xl_parse_format: parsing [Message too big]
xl_parse_format: format parsed OK: [1] items
fixing sl_send_reply, line 96
xl_parse_format: parsing [405]
xl_parse_format: format parsed OK: [1] items
xl_parse_format: parsing [Method Not Allowed]
xl_parse_format: format parsed OK: [1] items
fixing record_route, line 101
fixing loose_route, line 105
fixing append_hf, line 107
xl_parse_format: parsing [P-hint: rr-enforced
]
xl_parse_format: format parsed OK: [1] items
fixing t_relay, line 108
fixing lookup, line 114
db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool
new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser
new_connection: Connection type is Localhost via UNIX socket
new_connection: Protocol version is 10
new_connection: Server version is 5.0.26-log
DEBUG:db_free_rows: Freeing 1 rows
DEBUG:db_free_row: Row[0]=0x8160d28
DEBUG:db_free_rows: 0x8160d28=pkg_free() RES_ROWS
DEBUG:db_free_rows: Freeing 0 rows
pool_remove: Removing connection from the pool
fixing sl_send_reply, line 115
xl_parse_format: parsing [404]
xl_parse_format: format parsed OK: [1] items
xl_parse_format: parsing [Not Found]
xl_parse_format: format parsed OK: [1] items
fixing nat_uac_test, line 136
fixing fix_nated_contact, line 139
fixing t_on_reply, line 142
fixing www_authorize, line 149
db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool
new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser
new_connection: Connection type is Localhost via UNIX socket
new_connection: Protocol version is 10
new_connection: Server version is 5.0.26-log
DEBUG:db_free_rows: Freeing 1 rows
DEBUG:db_free_row: Row[0]=0x8160d28
DEBUG:db_free_rows: 0x8160d28=pkg_free() RES_ROWS
pool_remove: Removing connection from the pool
fixing www_challenge, line 150
fixing check_to, line 153
fixing sl_send_reply, line 155
xl_parse_format: parsing [403]
xl_parse_format: format parsed OK: [1] items
xl_parse_format: parsing [Digest username and
URI username do NOT match! Stay away!]
xl_parse_format: format parsed OK: [1] items
fixing save, line 159
fixing www_authorize, line 165
db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool
new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser
new_connection: Connection type is Localhost via UNIX socket
new_connection: Protocol version is 10
new_connection: Server version is 5.0.26-log
DEBUG:db_free_rows: Freeing 1 rows
DEBUG:db_free_row: Row[0]=0x8160d28
DEBUG:db_free_rows: 0x8160d28=pkg_free() RES_ROWS
pool_remove: Removing connection from the pool
fixing www_challenge, line 166
fixing check_from, line 170
fixing sl_send_reply, line 172
xl_parse_format: parsing [403]
xl_parse_format: format parsed OK: [1] items
xl_parse_format: parsing [Digest username and
URI username do NOT match! Stay away!]
xl_parse_format: format parsed OK: [1] items
fixing append_hf, line 182
xl_parse_format: parsing [P-hint: outbound
]
xl_parse_format: format parsed OK: [1] items
fixing append_hf, line 187
xl_parse_format: parsing [P-hint: usrloc applied
]
xl_parse_format: format parsed OK: [1] items
fixing t_relay, line 192
fixing sl_reply_error, line 193
fixing t_on_failure, line 203
fixing ds_select_dst, line 210
fixing t_relay, line 214
fixing sl_reply_error, line 215
fixing fix_nated_contact, line 223
fixing nat_uac_test, line 227
fixing fix_nated_contact, line 228
fixing t_check_status, line 233
DEBUG:fixup_str2regexp: fixing 408
fixing ds_mark_dst, line 234
fixing ds_next_dst, line 236
fixing t_relay, line 237
fixing t_on_failure, line 238
INFO: udp_init: SO_RCVBUF is initially 109568
DEBUG: udp_init: trying SO_RCVBUF: 219136
DEBUG: setting SO_RCVBUF; set=219136,verify=219136
DEBUG: udp_init: trying SO_RCVBUF: 221184
DEBUG: setting SO_RCVBUF; set=221184,verify=219136
DEBUG: setting SO_RCVBUF has no effect
INFO: udp_init: SO_RCVBUF is finally 219136
Aug 20 16:49:32 [0] DBG:core:openser_fork: forking new process "timer"
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=tm
DEBUG: callid: '12fefdff-3909@192.168.1.160 '
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=usrloc
db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool
new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser
Aug 20 16:49:32 [3909] DBG:core:start_module_procs: forking process "MI FIFO"/0 for module mi_fifo
Aug 20 16:49:32 [3909] DBG:core:openser_fork: forking new process "MI FIFO"
Aug 20 16:49:32 [3911] DBG:mi_fifo:fifo_process: new process with pid = 3911 created
DEBUG:mi_fifo:mi_init_fifo_server: FIFO created @ /tmp/openser_fifo
DEBUG:mi_fifo:mi_init_fifo_server: fifo /tmp/openser_fifo opened, mode=660
db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool
new_connection: Opening MySQL connection: mysql://root:.tel@localhost /openser
DEBUG:init_mod_child: CHILD , rank=1, module=tm
DEBUG: callid: '12fefdff-3904@192.168.1.160 '
DEBUG:init_mod_child: CHILD , rank=1, module=usrloc
db_init: Connection 'mysql://root:.acantoflextel@localhost/openser' not found in pool
new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser
new_connection: Connection type is Localhost via UNIX socket
new_connection: Protocol version is 10
new_connection: Server version is 5.0.26-log
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=registrar
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=nathelper
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=uri_db
db_init: Connection 'mysql://root:.tel@localhost/openser' found in pool
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=dispatcher
Aug 20 16:49:32 [3909] DBG:dispatcher:child_init:  #-1 / pid <3909>
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=avpops
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=mi_fifo
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=auth_db
db_init: Connection 'mysql://root:.tel@localhost /openser' found in pool
DBUG:run_timer: tv = 0, 100000 , m=10
new_connection: Connection type is Localhost via UNIX socket
new_connection: Protocol version is 10
new_connection: Server version is 5.0.26-log
preload_udomain(): Table is empty
DEBUG:db_free_rows: Freeing 0 rows
DEBUG:init_mod_child: CHILD , rank=1, module=registrar
DEBUG:init_mod_child: CHILD , rank=1, module=nathelper
DEBUG:init_mod_child: CHILD , rank=1, module=uri_db
db_init: Connection 'mysql://root:.tel@localhost/openser' found in pool
DEBUG:init_mod_child: CHILD , rank=1, module=dispatcher
Aug 20 16:49:32 [3904] DBG:dispatcher:child_init:  #1 / pid <3904>
new_connection: Connection type is Localhost via UNIX socket
new_connection: Protocol version is 10
new_connection: Server version is 5.0.26-log






2007/8/15, Daniel-Constantin Mierla < daniel@voice-system.ro>:
Hello,

can you get latest devel version (trunk) and give it a try? I did some
fix, hopefully. Please report the results.

Cheers,
Daniel


On 08/14/07 23:32, Francisco Ivandic wrote:
> Hi All,
>
> I'm using dispatcher succesfully, with round robin alg (option 4), and
> also use ds_mark_dst and ds_next_dst to select other proxy in case of
> failure. It balances great when all servers are active, but when there
> are inactive servers, round robin alg selects the next in the round,
> even if it's marked as inactive. This results in going through
> ds_next_dst, and overloads the first active server in the dispatcher
> file until completing the round. Then, other active servers are
> called, and when passing to a group of inactive servers, starts going
> through the first active (as much times as inactive servers there
> are), and again completing the round.
>
> Does anyone know a way to implement a round robin aware of inactive
> servers?
>
>
> Thanks in advance,
>
> Borislav Ivandic
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users@openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>