After compilation of new ser-0.8.12 with module mysql i have a problem with starting a ser. Without mysql it is working, but with users in mysql it won't restart. I don't see any errors. Please help me. Thanks in advance :)
# /usr/local/sbin/ser -ddddd -E 0(28464) read 1034558325 from /dev/random 0(28464) seeding PRNG with 2104301493 0(28464) test random number 172698435 0(28464) shm_mem_init: success 0(28464) DEBUG: register_fifo_cmd: new command (print) registered 0(28464) DEBUG: register_fifo_cmd: new command (uptime) registered 0(28464) DEBUG: register_fifo_cmd: new command (version) registered 0(28464) DEBUG: register_fifo_cmd: new command (pwd) registered 0(28464) DEBUG: register_fifo_cmd: new command (arg) registered 0(28464) DEBUG: register_fifo_cmd: new command (which) registered 0(28464) DEBUG: register_fifo_cmd: new command (ps) registered 0(28464) DEBUG: register_fifo_cmd: new command (kill) registered 0(28464) loading module /usr/local/lib/ser/modules/mysql.so 0(28464) loading module /usr/local/lib/ser/modules/sl.so 0(28464) loading module /usr/local/lib/ser/modules/tm.so 0(28464) loading module /usr/local/lib/ser/modules/rr.so 0(28464) loading module /usr/local/lib/ser/modules/maxfwd.so 0(28464) loading module /usr/local/lib/ser/modules/usrloc.so 0(28464) loading module /usr/local/lib/ser/modules/registrar.so 0(28464) loading module /usr/local/lib/ser/modules/auth.so 0(28464) loading module /usr/local/lib/ser/modules/auth_db.so 0(28464) set_mod_param_regex: usrloc matches module usrloc 0(28464) set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28464) set_mod_param_regex: auth_db matches module auth_db 0(28464) set_mod_param_regex: found <calculate_ha1> in module auth_db [/usr/local/lib/ser/modules/auth_db.so] 0(28464) set_mod_param_regex: auth_db matches module auth_db 0(28464) set_mod_param_regex: found <password_column> in module auth_db [/usr/local/lib/ser/modules/auth_db.so] 0(28464) set_mod_param_regex: rr matches module rr 0(28464) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/ser/modules/rr.so] 0(28464) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/usr/local/lib/ser/modules/maxfwd.so] 0(28464) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28464) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28464) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so] 0(28464) find_export: found <loose_route> in module rr [/usr/local/lib/ser/modules/rr.so] 0(28464) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so] 0(28464) find_export: found <www_authorize> in module auth_db [/usr/local/lib/ser/modules/auth_db.so] 0(28464) find_export: found <www_challenge> in module auth [/usr/local/lib/ser/modules/auth.so] 0(28464) find_export: found <save> in module registrar [/usr/local/lib/ser/modules/registrar.so] 0(28464) find_export: found <lookup> in module registrar [/usr/local/lib/ser/modules/registrar.so] 0(28464) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28464) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so] 0(28464) find_export: found <sl_reply_error> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28464) routing table 0: 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x9cfc50> 0(28464) , "10" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x9cfc50> 0(28464) , "10" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "483" 0(28464) , "Too Many Hops" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) UNKNOWN 0(28464) <UNKNOWN> 0(28464) 65535 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "513" 0(28464) , "Message too big" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x113a40> 0(28464) ); 0(28464) if ( 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) UNKNOWN 0(28464) <UNKNOWN> 0(28464) 65535 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "513" 0(28464) , "Message too big" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x113a40> 0(28464) ); 0(28464) if ( 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x113a40> 0(28464) ); 0(28464) if ( 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) Listening on 127.0.0.1 [127.0.0.1]:5060 212.113.33.18 [212.113.33.18]:5060 Aliases: localhost:5060 localhost.localdomain:5060 ron:5060 ron.utel.com.ua:5060 0(28466) DEBUG: init_mod: mysql 0(28466) mysql - initializing 0(28466) DEBUG: init_mod: sl_module stateless - initializing 0(28466) DEBUG: register_fifo_cmd: new command (sl_stats) registered 0(28466) DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58 0(28466) DEBUG: init_mod: tm 0(28466) TM - initializing... 0(28466) Call-ID initialization: '07b5f4ff' 0(28466) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered 0(28466) DEBUG: register_fifo_cmd: new command (t_hash) registered 0(28466) DEBUG: lock_initialize: lock initialization started 0(28466) DEBUG: register_fifo_cmd: new command (t_stats) registered 0(28466) DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed 0(28466) DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a 0(28466) DEBUG: init_mod: rr 0(28466) rr - initializing 0(28466) DEBUG: init_mod: maxfwd_module Maxfwd module- initializing 0(28466) DEBUG: init_mod: usrloc 0(28466) usrloc - initializing 0(28466) DEBUG: register_fifo_cmd: new command (ul_stats) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_rm) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_dump) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_flush) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_add) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_show_contact) registered 0(28466) find_export: found <db_use_table> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_init> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_close> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_raw_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_free_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_insert> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_delete> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_update> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) mod_init(): Database connection opened successfuly 0(28466) DEBUG: init_mod: registrar 0(28466) registrar - initializing 0(28466) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28466) find_export: found <ul_bind_usrloc> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_register_udomain> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_get_all_ucontacts> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_insert_urecord> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_delete_urecord> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_get_urecord> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_lock_udomain> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_unlock_udomain> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_release_urecord> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_insert_ucontact> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_delete_ucontact> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] [root@ron root]# 0(28466) find_export: found <ul_get_ucontact> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_update_ucontact> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) DEBUG: init_mod: auth 0(28466) auth module - initializing 0(28466) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28466) DEBUG: init_mod: auth_db 0(28466) auth_db module - initializing 0(28466) find_export: found <db_use_table> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_init> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_close> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_raw_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_free_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_insert> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_delete> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_update> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <pre_auth> in module auth [/usr/local/lib/ser/modules/auth.so] 0(28466) find_export: found <post_auth> in module auth [/usr/local/lib/ser/modules/auth.so] 0(28466) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(0) fixing /usr/local/lib/ser/modules/maxfwd.so mf_process_maxfwd_header 0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply 0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply 0(0) fixing /usr/local/lib/ser/modules/rr.so record_route 0(0) fixing /usr/local/lib/ser/modules/rr.so loose_route 0(0) fixing /usr/local/lib/ser/modules/tm.so t_relay 0(0) fixing /usr/local/lib/ser/modules/auth_db.so www_authorize 0(0) fixing /usr/local/lib/ser/modules/auth.so www_challenge 0(0) fixing /usr/local/lib/ser/modules/registrar.so save -----after this it die.
I'm using next config:
# # $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $ # # simple quick-start config script #
# ----------- global configuration parameters ------------------------
#debug=3 # debug level (cmd line: -dddddddddd) #fork=yes #log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode debug=7 fork=no log_stderror=yes */
check_via=no # (cmd. line: -v) dns=no # (cmd. line: -r) rev_dns=no # (cmd. line: -R) #port=5060 #children=4 fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database loadmodule "/usr/local/lib/ser/modules/mysql.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"
# Uncomment this if you want digest authentication # mysql.so must be loaded ! loadmodule "/usr/local/lib/ser/modules/auth.so" loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database # for persistent storage and comment the previous line modparam("usrloc", "db_mode", 2)
# -- auth params -- # Uncomment if you are using auth module # modparam("auth_db", "calculate_ha1", yes) # # If you set "calculate_ha1" parameter to yes (which true in this config), # uncomment also the following parameter) # modparam("auth_db", "password_column", "password")
# -- rr params -- # add value to ;lr param to make some broken UAs happy modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with # max_forwards==0, or excessively long requests 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; };
# we record-route all messages -- to make sure that # subsequent messages will go through our proxy; that's # particularly good if upstream and downstream entities # use different transport protocol record_route(); # loose-route processing if (loose_route()) { t_relay(); break; };
# if the request is for other domain use UsrLoc # (in case, it does not work, use the following command # with proper names and addresses in it) if (uri=~ron.utel.com.ua) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication if (!www_authorize("ron.utel.com.ua", "subscriber")) { www_challenge("ron.utel.com.ua", "0"); break; };
save("location"); break; };
# native SIP destinations are handled using our USRLOC DB if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; }; }; # forward to current uri now; use stateful forwarding; that # works reliably even if we forward from TCP to UDP if (!t_relay()) { sl_reply_error(); };
}
i'm using Linux 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux
_________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
Die means that it crashes ? Is there any coredump ?
Jan.
On 24-11 18:16, Sergiy Romanenko wrote:
After compilation of new ser-0.8.12 with module mysql i have a problem with starting a ser. Without mysql it is working, but with users in mysql it won't restart. I don't see any errors. Please help me. Thanks in advance :)
# /usr/local/sbin/ser -ddddd -E 0(28464) read 1034558325 from /dev/random 0(28464) seeding PRNG with 2104301493 0(28464) test random number 172698435 0(28464) shm_mem_init: success 0(28464) DEBUG: register_fifo_cmd: new command (print) registered 0(28464) DEBUG: register_fifo_cmd: new command (uptime) registered 0(28464) DEBUG: register_fifo_cmd: new command (version) registered 0(28464) DEBUG: register_fifo_cmd: new command (pwd) registered 0(28464) DEBUG: register_fifo_cmd: new command (arg) registered 0(28464) DEBUG: register_fifo_cmd: new command (which) registered 0(28464) DEBUG: register_fifo_cmd: new command (ps) registered 0(28464) DEBUG: register_fifo_cmd: new command (kill) registered 0(28464) loading module /usr/local/lib/ser/modules/mysql.so 0(28464) loading module /usr/local/lib/ser/modules/sl.so 0(28464) loading module /usr/local/lib/ser/modules/tm.so 0(28464) loading module /usr/local/lib/ser/modules/rr.so 0(28464) loading module /usr/local/lib/ser/modules/maxfwd.so 0(28464) loading module /usr/local/lib/ser/modules/usrloc.so 0(28464) loading module /usr/local/lib/ser/modules/registrar.so 0(28464) loading module /usr/local/lib/ser/modules/auth.so 0(28464) loading module /usr/local/lib/ser/modules/auth_db.so 0(28464) set_mod_param_regex: usrloc matches module usrloc 0(28464) set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28464) set_mod_param_regex: auth_db matches module auth_db 0(28464) set_mod_param_regex: found <calculate_ha1> in module auth_db [/usr/local/lib/ser/modules/auth_db.so] 0(28464) set_mod_param_regex: auth_db matches module auth_db 0(28464) set_mod_param_regex: found <password_column> in module auth_db [/usr/local/lib/ser/modules/auth_db.so] 0(28464) set_mod_param_regex: rr matches module rr 0(28464) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/ser/modules/rr.so] 0(28464) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/usr/local/lib/ser/modules/maxfwd.so] 0(28464) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28464) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28464) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so] 0(28464) find_export: found <loose_route> in module rr [/usr/local/lib/ser/modules/rr.so] 0(28464) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so] 0(28464) find_export: found <www_authorize> in module auth_db [/usr/local/lib/ser/modules/auth_db.so] 0(28464) find_export: found <www_challenge> in module auth [/usr/local/lib/ser/modules/auth.so] 0(28464) find_export: found <save> in module registrar [/usr/local/lib/ser/modules/registrar.so] 0(28464) find_export: found <lookup> in module registrar [/usr/local/lib/ser/modules/registrar.so] 0(28464) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28464) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so] 0(28464) find_export: found <sl_reply_error> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28464) routing table 0: 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x9cfc50> 0(28464) , "10" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x9cfc50> 0(28464) , "10" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "483" 0(28464) , "Too Many Hops" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) UNKNOWN 0(28464) <UNKNOWN> 0(28464) 65535 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "513" 0(28464) , "Message too big" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x113a40> 0(28464) ); 0(28464) if ( 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) UNKNOWN 0(28464) <UNKNOWN> 0(28464) 65535 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "513" 0(28464) , "Message too big" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x113a40> 0(28464) ); 0(28464) if ( 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x113a40> 0(28464) ); 0(28464) if ( 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x111e40> 0(28464) ); 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) uri 0(28464) =~ 0(28464) "ron.utel.com.ua" 0(28464) ) { 0(28464) if ( 0(28464) method 0(28464) == 0(28464) "REGISTER" 0(28464) ) { 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x3c3270> 0(28464) , "ron.utel.com.ua" 0(28464) , "subscriber" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x9b9540> 0(28464) , "ron.utel.com.ua" 0(28464) , "0" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) external_module_call( 0(28464) f_ptr<0x4ae8b0> 0(28464) , "location" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0x4ada40> 0(28464) , "location" 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e87f0> 0(28464) , "404" 0(28464) , "Not Found" 0(28464) ); 0(28464) drop( 0(28464) type<0> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) if ( 0(28464) NOT( 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) external_module_call( 0(28464) f_ptr<0xce5740> 0(28464) ); 0(28464) ) 0(28464) ) { 0(28464) external_module_call( 0(28464) f_ptr<0x2e8830> 0(28464) ); 0(28464) } else { 0(28464) }; 0(28464) Listening on 127.0.0.1 [127.0.0.1]:5060 212.113.33.18 [212.113.33.18]:5060 Aliases: localhost:5060 localhost.localdomain:5060 ron:5060 ron.utel.com.ua:5060 0(28466) DEBUG: init_mod: mysql 0(28466) mysql - initializing 0(28466) DEBUG: init_mod: sl_module stateless - initializing 0(28466) DEBUG: register_fifo_cmd: new command (sl_stats) registered 0(28466) DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58 0(28466) DEBUG: init_mod: tm 0(28466) TM - initializing... 0(28466) Call-ID initialization: '07b5f4ff' 0(28466) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered 0(28466) DEBUG: register_fifo_cmd: new command (t_hash) registered 0(28466) DEBUG: lock_initialize: lock initialization started 0(28466) DEBUG: register_fifo_cmd: new command (t_stats) registered 0(28466) DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed 0(28466) DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a 0(28466) DEBUG: init_mod: rr 0(28466) rr - initializing 0(28466) DEBUG: init_mod: maxfwd_module Maxfwd module- initializing 0(28466) DEBUG: init_mod: usrloc 0(28466) usrloc - initializing 0(28466) DEBUG: register_fifo_cmd: new command (ul_stats) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_rm) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_dump) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_flush) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_add) registered 0(28466) DEBUG: register_fifo_cmd: new command (ul_show_contact) registered 0(28466) find_export: found <db_use_table> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_init> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_close> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_raw_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_free_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_insert> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_delete> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_update> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) mod_init(): Database connection opened successfuly 0(28466) DEBUG: init_mod: registrar 0(28466) registrar - initializing 0(28466) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28466) find_export: found <ul_bind_usrloc> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_register_udomain> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_get_all_ucontacts> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_insert_urecord> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_delete_urecord> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_get_urecord> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_lock_udomain> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_unlock_udomain> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_release_urecord> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_insert_ucontact> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_delete_ucontact> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] [root@ron root]# 0(28466) find_export: found <ul_get_ucontact> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) find_export: found <ul_update_ucontact> in module usrloc [/usr/local/lib/ser/modules/usrloc.so] 0(28466) DEBUG: init_mod: auth 0(28466) auth module - initializing 0(28466) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(28466) DEBUG: init_mod: auth_db 0(28466) auth_db module - initializing 0(28466) find_export: found <db_use_table> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_init> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_close> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_raw_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_free_query> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_insert> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_delete> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <db_update> in module mysql [/usr/local/lib/ser/modules/mysql.so] 0(28466) find_export: found <pre_auth> in module auth [/usr/local/lib/ser/modules/auth.so] 0(28466) find_export: found <post_auth> in module auth [/usr/local/lib/ser/modules/auth.so] 0(28466) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so] 0(0) fixing /usr/local/lib/ser/modules/maxfwd.so mf_process_maxfwd_header 0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply 0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply 0(0) fixing /usr/local/lib/ser/modules/rr.so record_route 0(0) fixing /usr/local/lib/ser/modules/rr.so loose_route 0(0) fixing /usr/local/lib/ser/modules/tm.so t_relay 0(0) fixing /usr/local/lib/ser/modules/auth_db.so www_authorize 0(0) fixing /usr/local/lib/ser/modules/auth.so www_challenge 0(0) fixing /usr/local/lib/ser/modules/registrar.so save -----after this it die.
I'm using next config:
# # $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $ # # simple quick-start config script #
# ----------- global configuration parameters ------------------------
#debug=3 # debug level (cmd line: -dddddddddd) #fork=yes #log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode debug=7 fork=no log_stderror=yes */
check_via=no # (cmd. line: -v) dns=no # (cmd. line: -r) rev_dns=no # (cmd. line: -R) #port=5060 #children=4 fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database loadmodule "/usr/local/lib/ser/modules/mysql.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"
# Uncomment this if you want digest authentication # mysql.so must be loaded ! loadmodule "/usr/local/lib/ser/modules/auth.so" loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database # for persistent storage and comment the previous line modparam("usrloc", "db_mode", 2)
# -- auth params -- # Uncomment if you are using auth module # modparam("auth_db", "calculate_ha1", yes) # # If you set "calculate_ha1" parameter to yes (which true in this config), # uncomment also the following parameter) # modparam("auth_db", "password_column", "password")
# -- rr params -- # add value to ;lr param to make some broken UAs happy modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with # max_forwards==0, or excessively long requests 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; }; # we record-route all messages -- to make sure that # subsequent messages will go through our proxy; that's # particularly good if upstream and downstream entities # use different transport protocol record_route(); # loose-route processing if (loose_route()) { t_relay(); break; }; # if the request is for other domain use UsrLoc # (in case, it does not work, use the following command # with proper names and addresses in it) if (uri=~ron.utel.com.ua) { if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication if (!www_authorize("ron.utel.com.ua", "subscriber")) { www_challenge("ron.utel.com.ua", "0"); break; };
save("location"); break; }; # native SIP destinations are handled using our USRLOC DB if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; }; }; # forward to current uri now; use stateful forwarding; that # works reliably even if we forward from TCP to UDP if (!t_relay()) { sl_reply_error(); };
}
i'm using Linux 2.4.22-1.2115.nptl #1 Wed Oct 29 15:42:51 EST 2003 i686 i686 i386 GNU/Linux
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers