Hi Again,<br>
<br>
Last log lines weren't attached:<br>
<br>
DEBUG:init_mod_child: CHILD , rank=1, module=dispatcher<br>
Aug 20 17:40:11 [3897] DBG:dispatcher:child_init: #1 / pid <3897><br>
Segmentation fault (core dumped)<br>
<br>
<br>
Thanks,<br>
<br>
Borislav<br><br><div><span class="gmail_quote">2007/8/20, Borislav Ivandic <<a href="mailto:francisco.ivandic@gmail.com">francisco.ivandic@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Daniel,<br><br>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:
<span class="q"><br><br>Thanks in advance,<br><br>Borislav Ivandic<br><br></span>Log:<br><br>loading module /usr/local/lib/openser/modules/sl.so<br>loading module /usr/local/lib/openser/modules/tm.so<br>DEBUG: register_pv: tm
<br>xl_add_extra_spec: extra items list is not initialized
<br>xl_add_extra_spec: inserting extra item [T_branch_idx] at [0]<br>xl_add_extra_spec: inserting extra item [T_reply_code] at [1]<br>loading module /usr/local/lib/openser/modules/rr.so<br>loading module /usr/local/lib/openser/modules/maxfwd.so
<br>loading module /usr/local/lib/openser/modules/usrloc.so<br>loading module /usr/local/lib/openser/modules/registrar.so<br>loading module /usr/local/lib/openser/modules/nathelper.so<br>loading module /usr/local/lib/openser/modules/textops.so
<br>loading module /usr/local/lib/openser/modules/exec.so<br>loading module /usr/local/lib/openser/modules/uri.so<br>loading module /usr/local/lib/openser/modules/uri_db.so<br>loading module /usr/local/lib/openser/modules/dispatcher.so
<br>loading module /usr/local/lib/openser/modules/avpops.so<br>loading module /usr/local/lib/openser/modules/mi_fifo.so<br>loading module /usr/local/lib/openser/modules/mysql.so<br>loading module /usr/local/lib/openser/modules/auth.so
<br>loading module /usr/local/lib/openser/modules/auth_db.so<br>set_mod_param_regex: usrloc matches module usrloc<br>set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]<br>
set_mod_param_regex: usrloc matches module usrloc<br>set_mod_param_regex: found <db_url> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]<br>set_mod_param_regex: usrloc matches module usrloc<br>set_mod_param_regex: found <timer_interval> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
<br>set_mod_param_regex: auth_db matches module auth_db<br>set_mod_param_regex: found <calculate_ha1> in module auth_db [/usr/local/lib/openser/modules/auth_db.so]<br>set_mod_param_regex: auth_db matches module auth_db
<br>set_mod_param_regex: found <db_url> in module auth_db [/usr/local/lib/openser/modules/auth_db.so]<br>set_mod_param_regex: auth_db matches module auth_db<br>set_mod_param_regex: found <password_column> in module auth_db [/usr/local/lib/openser/modules/auth_db.so]
<br>set_mod_param_regex: uri_db matches module uri_db<br>set_mod_param_regex: found <db_url> in module uri_db [/usr/local/lib/openser/modules/uri_db.so]<br>set_mod_param_regex: rr matches module rr<br>set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/openser/modules/rr.so]
<br>set_mod_param_regex: registrar matches module registrar<br>set_mod_param_regex: found <max_expires> in module registrar [/usr/local/lib/openser/modules/registrar.so]<br>set_mod_param_regex: registrar matches module registrar
<br>set_mod_param_regex: found <min_expires> in module registrar [/usr/local/lib/openser/modules/registrar.so]<br>set_mod_param_regex: registrar matches module registrar<br>set_mod_param_regex: found <append_branches> in module registrar [/usr/local/lib/openser/modules/registrar.so]
<br>set_mod_param_regex: nathelper matches module nathelper<br>set_mod_param_regex: found <natping_interval> in module nathelper [/usr/local/lib/openser/modules/nathelper.so]<br>set_mod_param_regex: nathelper matches module nathelper
<br>set_mod_param_regex: found <ping_nated_only> in module nathelper [/usr/local/lib/openser/modules/nathelper.so]<br>set_mod_param_regex: usrloc matches module usrloc<br>set_mod_param_regex: found <nat_bflag> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
<br>set_mod_param_regex: tm matches module tm<br>set_mod_param_regex: found <fr_timer> in module tm [/usr/local/lib/openser/modules/tm.so]<br>set_mod_param_regex: dispatcher matches module dispatcher<br>set_mod_param_regex: found <list_file> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
<br>set_mod_param_regex: dispatcher matches module dispatcher<br>set_mod_param_regex: found <flags> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]<br>set_mod_param_regex: dispatcher matches module dispatcher
<br>set_mod_param_regex: found <dst_avp> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]<br>set_mod_param_regex: dispatcher matches module dispatcher<br>set_mod_param_regex: found <grp_avp> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
<br>set_mod_param_regex: dispatcher matches module dispatcher<br>set_mod_param_regex: found <cnt_avp> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]<br>set_mod_param_regex: dispatcher matches module dispatcher
<br>set_mod_param_regex: found <force_dst> in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]<br>set_mod_param_regex: mi_fifo matches module mi_fifo<br>set_mod_param_regex: found <fifo_name> in module mi_fifo [/usr/local/lib/openser/modules/mi_fifo.so]
<br>find_cmd_export_t: found <mf_process_maxfwd_header>(1) in module maxfwd [/usr/local/lib/openser/modules/maxfwd.so]<br>find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
<br>find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]<br>find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]<br>find_cmd_export_t: found <record_route>(0) in module rr [/usr/local/lib/openser/modules/rr.so]
<br>find_cmd_export_t: found <loose_route>(0) in module rr [/usr/local/lib/openser/modules/rr.so]<br>find_cmd_export_t: found <append_hf>(1) in module textops [/usr/local/lib/openser/modules/textops.so]<br>find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]
<br>find_cmd_export_t: found <lookup>(1) in module registrar [/usr/local/lib/openser/modules/registrar.so]<br>find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]<br>
find_cmd_export_t: found <nat_uac_test>(1) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]<br>find_cmd_export_t: found <fix_nated_contact>(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
<br>find_cmd_export_t: found <t_on_reply>(1) in module tm [/usr/local/lib/openser/modules/tm.so]<br>find_cmd_export_t: found <www_authorize>(2) in module auth_db [/usr/local/lib/openser/modules/auth_db.so]<br>
find_cmd_export_t: found <www_challenge>(2) in module auth [/usr/local/lib/openser/modules/auth.so]<br>find_cmd_export_t: found <check_to>(0) in module uri_db [/usr/local/lib/openser/modules/uri_db.so]<br>find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
<br>find_cmd_export_t: found <save>(1) in module registrar [/usr/local/lib/openser/modules/registrar.so]<br>find_cmd_export_t: found <www_authorize>(2) in module auth_db [/usr/local/lib/openser/modules/auth_db.so]
<br>find_cmd_export_t: found <www_challenge>(2) in module auth [/usr/local/lib/openser/modules/auth.so]<br>find_cmd_export_t: found <check_from>(0) in module uri_db [/usr/local/lib/openser/modules/uri_db.so]<br>
find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]<br>find_cmd_export_t: found <append_hf>(1) in module textops [/usr/local/lib/openser/modules/textops.so]<br>find_cmd_export_t: found <append_hf>(1) in module textops [/usr/local/lib/openser/modules/textops.so]
<br>find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]<br>find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/openser/modules/sl.so]<br>find_cmd_export_t: found <t_on_failure>(1) in module tm [/usr/local/lib/openser/modules/tm.so]
<br>find_cmd_export_t: found <ds_select_dst>(2) in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]<br>find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]
<br>
find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/openser/modules/sl.so]<br>find_cmd_export_t: found <fix_nated_contact>(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
<br>find_cmd_export_t: found <nat_uac_test>(1) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]<br>find_cmd_export_t: found <fix_nated_contact>(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
<br>find_cmd_export_t: found <t_check_status>(1) in module tm [/usr/local/lib/openser/modules/tm.so]<br>find_cmd_export_t: found <ds_mark_dst>(0) in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]
<br>find_cmd_export_t: found <ds_next_dst>(0) in module dispatcher [/usr/local/lib/openser/modules/dispatcher.so]<br>find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]<br>
find_cmd_export_t: found <t_on_failure>(1) in module tm [/usr/local/lib/openser/modules/tm.so]<br>routing table 0:<br>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
<br>"); external_module_call(f<t_relay>); exit(type<0>); }; if (EVAL( OR( EVAL( srcip==<a href="http://192.168.1.167/255.255.255.255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.167/255.255.255.255</a> ), EVAL( srcip==<a href="http://192.168.1.168/255.255.255.255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.168/255.255.255.255</a> ) ) )) {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==
<a href="http://192.168.1.167/255.255.255.255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.167/255.255.255.255</a> ), EVAL( srcip==<a href="http://192.168.1.168/255.255.255.255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.168/255.255.255.255</a> ) ) )) {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
<br>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
<br>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
<br>"); route(2); exit(type<0>); }; external_module_call(f<append_hf>, "P-hint: usrloc applied<br>"); route(2);<br>routing table 1:<br>if (EVAL( NOT( external_module_call(f<t_relay>); ) )) { external_module_call(f<sl_reply_error>); };
<br>routing table 2:<br> external_module_call(f<t_on_failure>, "1"); if (EVAL( AND( EVAL( srcip!=<a href="http://192.168.1.167/255.255.255.255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.167/255.255.255.255</a> ), EVAL( srcip!=<a href="http://192.168.1.168/255.255.255.255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.168/255.255.255.255</a> ) ) )) {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>); };
<br>onreply routing table 1:<br>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>); }; };
<br>failure routing table 1:<br>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"); }; };
<br>DEBUG:socket2str: <udp:<a href="http://192.168.1.160:5060" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.160:5060</a>><br>DEBUG:socket2str: <tcp:<a href="http://192.168.1.160:5060" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.160:5060</a>><br>Listening on<br> udp:
<a href="http://192.168.1.160" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.160</a> [<a href="http://192.168.1.160" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.160</a>]:5060<br> tcp: <a href="http://192.168.1.160" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.160</a> [<a href="http://192.168.1.160" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.160</a>
]:5060<br>Aliases:<br> tcp: tel:5060<br> tcp: tel.tex.sip:5060<br> udp: tel:5060<br> udp: tel.tex.sip:5060<br><br>WARNING: no fork mode<br>fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048
<br>fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16560<br>fm_malloc_init(0xb5a7f000, 33554432), start=0xb5a7f000<br>shm_mem_init: success<br>init_tcp: using epoll_lt as the io watch method (auto detected)<br>Aug 20 16:49:32 [3904] DBG:core:count_module_procs: modules require 1 extra processes
<br>core dump limits set to 4294967295<br>DEBUG:add_avp_galias: registering <serial_branch> for avp id <16725044><br>INFO: statistics manager successfully initialized<br>DEBUG: init_mod: sl<br>Aug 20 16:49:32 [0] INFO:sl:mod_init: Initializing StateLess engine
<br>DEBUG: MD5 calculated: e9a4f4c9dcdf4315c1670e73ac4e2059<br>DEBUG: register_stats: sl<br>DEBUG: init_mod: tm<br>TM - initializing...<br>Call-ID initialization: '12fefdff'<br>DEBUG: lock_initialize: lock initialization started
<br>DEBUG: MD5 calculated: d4526bf2434202fc2c5ada37346c05b8<br>DEBUG: MD5 calculated: ad0c0bb146c3a220dd8eb5f7c99d4fed<br>DEBUG: register_stats: tm<br>DEBUG: register_mi: tm<br>DEBUG: init_mod: rr<br>rr - initializing<br>
DEBUG: init_mod: maxfwd<br>Aug 20 16:49:32 [0] NOTICE:maxfwd:mod_init: initializing<br>DEBUG: init_mod: usrloc<br>usrloc - initializing<br>INFO:ul_init_locks: locks array size 512<br>find_mod_export: found <db_use_table> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_init> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_close> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_fetch_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_raw_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_free_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_insert> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_delete> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_replace> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_last_inserted_id> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_insert_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>DEBUG: register_stats: usrloc<br>DEBUG: register_mi: usrloc<br>DEBUG: init_mod: registrar<br>registrar - initializing<br>find_cmd_export_t: found <load_sl>(0) in module sl [/usr/local/lib/openser/modules/sl.so]
<br>
find_cmd_export_t: found <ul_bind_usrloc>(1) in module usrloc [/usr/local/lib/openser/modules/usrloc.so]<br>DEBUG: register_stats: registrar<br>DEBUG: init_mod: nathelper<br>find_cmd_export_t: found <ul_bind_usrloc>(1) in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
<br>DEBUG: register_mi: nathelper<br>DEBUG: init_mod: textops<br>TextOPS - initializing<br>DEBUG: init_mod: exec<br>EXEC - initializing<br>DEBUG: init_mod: uri_db<br>uri_db - initializing<br>find_mod_export: found <db_use_table> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_init> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_close> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_fetch_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_raw_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_free_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_insert> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_delete> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_replace> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_last_inserted_id> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_insert_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool<br>new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser<br>new_connection: Connection type is Localhost via UNIX socket
<br>new_connection: Protocol version is 10<br>new_connection: Server version is 5.0.26-log<br>DEBUG:db_free_rows: Freeing 1 rows<br>DEBUG:db_free_row: Row[0]=0x8160d18<br>DEBUG:db_free_rows: 0x8160d18=pkg_free() RES_ROWS
<br>
pool_remove: Removing connection from the pool<br>DEBUG: init_mod: dispatcher<br>Aug 20 16:49:32 [0] DBG:dispatcher:mod_init: initializing ...<br>Aug 20 16:49:32 [0] DBG:dispatcher:add_dest2list: dest [1/1] <sip:<a href="http://192.168.1.161:5060" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.161:5060</a>><br>Aug 20 16:49:32 [0] DBG:dispatcher:add_dest2list: dest [1/2] <sip:<a href="http://192.168.1.167:5060" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.167:5060
</a>><br>Aug 20 16:49:32 [0] DBG:dispatcher:add_dest2list: dest [1/3] <sip:
<a href="http://192.168.1.102:5060" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.102:5060</a>><br>Aug 20 16:49:32 [0] DBG:dispatcher:reindex_dests: found [1] dest sets<br>Aug 20 16:49:32 [0] DBG:dispatcher:mod_init: loaded dispatching list
<br>xl_parse_name: name [i:271] index [0]
<br>xl_parse_vname: avp [i:271]<br>xl_parse_name: name [i:272] index [0]<br>xl_parse_vname: avp [i:272]<br>xl_parse_name: name [i:273] index [0]<br>xl_parse_vname: avp [i:273]<br>DEBUG: register_mi: dispatcher<br>DEBUG: init_mod: avpops
<br>AVPops - initializing<br>DEBUG: init_mod: mi_fifo<br>Aug 20 16:49:32 [0] DBG:mi_fifo:mi_mod_init: testing fifo existance ...<br>DEBUG: init_mod: mysql<br>mysql: MySQL client version is 5.0.26<br>DEBUG: init_mod: auth
<br>
AUTH module - initializing<br>find_cmd_export_t: found <load_sl>(0) in module sl [/usr/local/lib/openser/modules/sl.so]<br>xl_parse_name: name [s:rpid] index [0]<br>xl_parse_vname: avp [s:rpid]<br>DEBUG: init_mod: auth_db
<br>AUTH_DB module - initializing<br>find_mod_export: found <db_use_table> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_init> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_close> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_fetch_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_raw_query> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_free_result> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_insert> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_delete> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_replace> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_mod_export: found <db_last_inserted_id> in module mysql [/usr/local/lib/openser/modules/mysql.so]<br>find_mod_export: found <db_insert_update> in module mysql [/usr/local/lib/openser/modules/mysql.so]
<br>find_cmd_export_t: found <bind_auth>(0) in module auth [/usr/local/lib/openser/modules/auth.so]<br>find_cmd_export_t: found <load_sl>(0) in module sl [/usr/local/lib/openser/modules/sl.so]<br>fixing mf_process_maxfwd_header, line 85
<br>fixing sl_send_reply, line 86<br>xl_parse_format: parsing [483]<br>xl_parse_format: format parsed OK: [1] items<br>xl_parse_format: parsing [Too Many Hops]<br>xl_parse_format: format parsed OK: [1] items<br>fixing sl_send_reply, line 90
<br>xl_parse_format: parsing [513]<br>xl_parse_format: format parsed OK: [1] items<br>xl_parse_format: parsing [Message too big]<br>xl_parse_format: format parsed OK: [1] items<br>fixing sl_send_reply, line 96<br>xl_parse_format: parsing [405]
<br>xl_parse_format: format parsed OK: [1] items<br>xl_parse_format: parsing [Method Not Allowed]<br>xl_parse_format: format parsed OK: [1] items<br>fixing record_route, line 101<br>fixing loose_route, line 105<br>fixing append_hf, line 107
<br>xl_parse_format: parsing [P-hint: rr-enforced<br>]<br>xl_parse_format: format parsed OK: [1] items<br>fixing t_relay, line 108<br>fixing lookup, line 114<br>db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool
<br>new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser<br>new_connection: Connection type is Localhost via UNIX socket<br>new_connection: Protocol version is 10<br>new_connection: Server version is
5.0.26-log<br>DEBUG:db_free_rows: Freeing 1 rows<br>DEBUG:db_free_row: Row[0]=0x8160d28<br>DEBUG:db_free_rows: 0x8160d28=pkg_free() RES_ROWS<br>DEBUG:db_free_rows: Freeing 0 rows<br>pool_remove: Removing connection from the pool
<br>fixing sl_send_reply, line 115<br>xl_parse_format: parsing [404]<br>xl_parse_format: format parsed OK: [1] items<br>xl_parse_format: parsing [Not Found]<br>xl_parse_format: format parsed OK: [1] items<br>fixing nat_uac_test, line 136
<br>fixing fix_nated_contact, line 139<br>fixing t_on_reply, line 142<br>fixing www_authorize, line 149<br>db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool<br>new_connection: Opening MySQL connection:
mysql://root:.tel@localhost/openser<br>new_connection: Connection type is Localhost via UNIX socket<br>new_connection: Protocol version is 10<br>new_connection: Server version is 5.0.26-log<br>DEBUG:db_free_rows: Freeing 1 rows
<br>DEBUG:db_free_row: Row[0]=0x8160d28<br>DEBUG:db_free_rows: 0x8160d28=pkg_free() RES_ROWS<br>pool_remove: Removing connection from the pool<br>fixing www_challenge, line 150<br>fixing check_to, line 153<br>fixing sl_send_reply, line 155
<br>xl_parse_format: parsing [403]<br>xl_parse_format: format parsed OK: [1] items<br>xl_parse_format: parsing [Digest username and<br>URI username do NOT match! Stay away!]<br>xl_parse_format: format parsed OK: [1] items
<br>fixing save, line 159<br>fixing www_authorize, line 165<br>db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool<br>new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser
<br>new_connection: Connection type is Localhost via UNIX socket<br>new_connection: Protocol version is 10<br>new_connection: Server version is 5.0.26-log<br>DEBUG:db_free_rows: Freeing 1 rows<br>DEBUG:db_free_row: Row[0]=0x8160d28
<br>DEBUG:db_free_rows: 0x8160d28=pkg_free() RES_ROWS<br>pool_remove: Removing connection from the pool<br>fixing www_challenge, line 166<br>fixing check_from, line 170<br>fixing sl_send_reply, line 172<br>xl_parse_format: parsing [403]
<br>xl_parse_format: format parsed OK: [1] items<br>xl_parse_format: parsing [Digest username and<br>URI username do NOT match! Stay away!]<br>xl_parse_format: format parsed OK: [1] items<br>fixing append_hf, line 182<br>
xl_parse_format: parsing [P-hint: outbound<br>]<br>xl_parse_format: format parsed OK: [1] items<br>fixing append_hf, line 187<br>xl_parse_format: parsing [P-hint: usrloc applied<br>]<br>xl_parse_format: format parsed OK: [1] items
<br>fixing t_relay, line 192<br>fixing sl_reply_error, line 193<br>fixing t_on_failure, line 203<br>fixing ds_select_dst, line 210<br>fixing t_relay, line 214<br>fixing sl_reply_error, line 215<br>fixing fix_nated_contact, line 223
<br>fixing nat_uac_test, line 227<br>fixing fix_nated_contact, line 228<br>fixing t_check_status, line 233<br>DEBUG:fixup_str2regexp: fixing 408<br>fixing ds_mark_dst, line 234<br>fixing ds_next_dst, line 236<br>fixing t_relay, line 237
<br>fixing t_on_failure, line 238<br>INFO: udp_init: SO_RCVBUF is initially 109568<br>DEBUG: udp_init: trying SO_RCVBUF: 219136<br>DEBUG: setting SO_RCVBUF; set=219136,verify=219136<br>DEBUG: udp_init: trying SO_RCVBUF: 221184
<br>DEBUG: setting SO_RCVBUF; set=221184,verify=219136<br>DEBUG: setting SO_RCVBUF has no effect<br>INFO: udp_init: SO_RCVBUF is finally 219136<br>Aug 20 16:49:32 [0] DBG:core:openser_fork: forking new process "timer"
<br>DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=tm<br>DEBUG: callid: '<a href="mailto:12fefdff-3909@192.168.1.160" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">12fefdff-3909@192.168.1.160
</a>'<br>DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=usrloc
<br>db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool<br>new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser<br>Aug 20 16:49:32 [3909] DBG:core:start_module_procs: forking process "MI FIFO"/0 for module mi_fifo
<br>Aug 20 16:49:32 [3909] DBG:core:openser_fork: forking new process "MI FIFO"<br>Aug 20 16:49:32 [3911] DBG:mi_fifo:fifo_process: new process with pid = 3911 created<br>DEBUG:mi_fifo:mi_init_fifo_server: FIFO created @ /tmp/openser_fifo
<br>DEBUG:mi_fifo:mi_init_fifo_server: fifo /tmp/openser_fifo opened, mode=660<br>db_init: Connection 'mysql://root:.tel@localhost/openser' not found in pool<br>new_connection: Opening MySQL connection: mysql://root:.tel@localhost
/openser<br>DEBUG:init_mod_child: CHILD , rank=1, module=tm<br>DEBUG: callid: '<a href="mailto:12fefdff-3904@192.168.1.160" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">12fefdff-3904@192.168.1.160
</a>'<br>DEBUG:init_mod_child: CHILD , rank=1, module=usrloc<br>
db_init: Connection 'mysql://root:.acantoflextel@localhost/openser' not found in pool<br>new_connection: Opening MySQL connection: mysql://root:.tel@localhost/openser<br>new_connection: Connection type is Localhost via UNIX socket
<br>new_connection: Protocol version is 10<br>new_connection: Server version is 5.0.26-log<br>DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=registrar<br>DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=nathelper<br>
DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=uri_db<br>db_init: Connection 'mysql://root:.tel@localhost/openser' found in pool<br>DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=dispatcher<br>Aug 20 16:49:32 [3909] DBG:dispatcher:child_init: #-1 / pid <3909>
<br>DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=avpops<br>DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=mi_fifo<br>DEBUG:init_mod_child: PROC_TIMER , rank=-1, module=auth_db<br>db_init: Connection 'mysql://root:.tel@localhost
/openser' found in pool<br>DBUG:run_timer: tv = 0, 100000 , m=10<br>new_connection: Connection type is Localhost via UNIX socket<br>new_connection: Protocol version is 10<br>new_connection: Server version is 5.0.26-log
<br>preload_udomain(): Table is empty<br>DEBUG:db_free_rows: Freeing 0 rows<br>DEBUG:init_mod_child: CHILD , rank=1, module=registrar<br>DEBUG:init_mod_child: CHILD , rank=1, module=nathelper<br>DEBUG:init_mod_child: CHILD , rank=1, module=uri_db
<br>db_init: Connection 'mysql://root:.tel@localhost/openser' found in pool<br>DEBUG:init_mod_child: CHILD , rank=1, module=dispatcher<br>Aug 20 16:49:32 [3904] DBG:dispatcher:child_init: #1 / pid <3904><br>
new_connection: Connection type is Localhost via UNIX socket<br>new_connection: Protocol version is 10<br>new_connection: Server version is 5.0.26-log<br><br><br><br><br><br><br><div><span class="gmail_quote">2007/8/15, Daniel-Constantin Mierla <
<a href="mailto:daniel@voice-system.ro" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">daniel@voice-system.ro</a>>:</span><div><span class="e" id="q_11484992875b0e99_3"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>
can you get latest devel version (trunk) and give it a try? I did some<br>fix, hopefully. Please report the results.<br><br>Cheers,<br>Daniel<br><br><br>On 08/14/07 23:32, Francisco Ivandic wrote:<br>> Hi All,<br>>
<br>
> I'm using dispatcher succesfully, with round robin alg (option 4), and<br>> also use ds_mark_dst and ds_next_dst to select other proxy in case of<br>> failure. It balances great when all servers are active, but when there
<br>> are inactive servers, round robin alg selects the next in the round,<br>> even if it's marked as inactive. This results in going through<br>> ds_next_dst, and overloads the first active server in the dispatcher
<br>> file until completing the round. Then, other active servers are<br>> called, and when passing to a group of inactive servers, starts going<br>> through the first active (as much times as inactive servers there
<br>> are), and again completing the round.<br>><br>> Does anyone know a way to implement a round robin aware of inactive<br>> servers?<br>><br>><br>> Thanks in advance,<br>><br>> Borislav Ivandic
<br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@openser.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Users@openser.org
</a><br>> <a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openser.org/cgi-bin/mailman/listinfo/users</a><br>><br></blockquote>
</span></div></div><br>
</blockquote></div><br>