[Serusers] acc.so start problem

Jesus Bernardo Ruiz Flores jesus.ruiz at aes.com.bo
Thu Jul 8 21:36:53 CEST 2004


i can't start SER with the acc module compiled to use mysql. When i
start SER with out the acc.so module it start fine.

I'm using a penguin with fedora core 2. The debug information returned
when i start with the acc.so module is:

Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/mysql.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/sl.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/tm.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/acc.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/rr.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/maxfwd.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/usrloc.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/registrar.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/auth.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/auth_db.so
Jul  8 15:33:32 gateway ser:  0(2732) loading module /usr/local/lib/ser/modules/enum.so
Jul  8 15:33:32 gateway ser:  0(2732) set_mod_param_regex: enum matches module enum
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: found <domain_suffix> in module enum [/usr/local/lib/ser/modules/enum.so]
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: usrloc matches module usrloc
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/ser/modules/usrloc.so]
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: auth_db|usrloc matches module auth_db
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: found <db_url> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: auth_db|usrloc matches module usrloc
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: found <db_url> in module usrloc [/usr/local/lib/ser/modules/usrloc.so]
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: auth_db matches module auth_db
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: found <calculate_ha1> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: auth_db matches module auth_db
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: found <password_column> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: rr matches module rr
Jul  8 15:33:33 gateway ser:  0(2732) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/ser/modules/rr.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/usr/local/lib/ser/modules/maxfwd.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <loose_route> in module rr [/usr/local/lib/ser/modules/rr.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <www_authorize> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <www_challenge> in module auth [/usr/local/lib/ser/modules/auth.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <save> in module registrar [/usr/local/lib/ser/modules/registrar.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <lookup> in module registrar [/usr/local/lib/ser/modules/registrar.so]
Jul  8 15:33:33 gateway ser:  0(2732) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <sl_reply_error> in module sl_module [/usr/local/lib/ser/modules/sl.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <sl_reply_error> in module sl_module [/usr/local/lib/ser/modules/sl.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <sl_reply_error> in module sl_module [/usr/local/lib/ser/modules/sl.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:34 gateway ser:  0(2732) find_export: found <sl_reply_error> in module sl_module [/usr/local/lib/ser/modules/sl.so]
Jul  8 15:33:34 gateway ser:  0(2732) routing table 0:
Jul  8 15:33:35 gateway ser:  0(2732) if ( 0(2732) NOT(  0(2732)  external_module_call( 0(2732) f_ptr<0x11da90> 0(2732) , "10" 0(2732) );  0(2732)  external_module_call( 0(2732) f_ptr<0x11da90> 0(2732) , "10" 0(2732) );  0(2732)  ) 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x3bc620> 0(2732) , "483" 0(2732) , "Too Many Hops" 0(2732) );  0(2732) drop( 0(2732) type<0> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) UNKNOWN 0(2732) <UNKNOWN> 0(2732) 65535 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x3bc620> 0(2732) , "513" 0(2732) , "Message too big" 0(2732) );  0(2732) drop( 0(2732) type<0> 0(2732) );  0(2732) } else { 0(2732) };  0(2732)  external_module_call( 0(2732) f_ptr<0x1198c0> 0(2732) );  0(2732) if ( 0(2732)  external_module_call( 0(2732) f_ptr<0x117cc0> 0(2732) );  0(2732)  external_module_call( 0(2732) f_ptr<0x117cc0> 0(2732) );  0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732) drop( 0(2732) type<0> 0(2732) );  0(2732) } e
Jul  8 15:33:37 gateway ser: 32) , "location" 0(2732) );  0(2732) drop( 0(2732) type<0> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) uri 0(2732) =~ 0(2732) "^sip:011(.+@)?(200\.105\.128\.37|(gateway\.)?acelerate\.com)([:;\?].*)?$" 0(2732) ) { 0(2732) route( 0(2732) 2 0(2732) );  0(2732) drop( 0(2732) type<0> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) uri 0(2732) =~ 0(2732) "^sip:7(.+@)?(200\.105\.128\.37|(gateway\.)?acelerate\.com)([:;\?].*)?$" 0(2732) ) { 0(2732) route( 0(2732) 3 0(2732) );  0(2732) drop( 0(2732) type<0> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) NOT(  0(2732)  external_module_call( 0(2732) f_ptr<0xc61880> 0(2732) , "location" 0(2732) );  0(2732)  external_module_call( 0(2732) f_ptr<0xc61880> 0(2732) , "location" 0(2732) );  0(2732)  ) 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x3bc620> 0(2732) , "404" 0(2732) , "Not Found" 0(2732) );  0(2732) drop( 0(2732) type<0> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) } else { 0
Jul  8 15:33:37 gateway ser: bc660> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) 
Jul  8 15:33:37 gateway ser:  0(2732) routing table 1:
Jul  8 15:33:37 gateway ser:  0(2732) sethostport( 0(2732) "200.105.128.6:5060" 0(2732) );  0(2732) if ( 0(2732) NOT(  0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732)  ) 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x3bc660> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) NOT(  0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732)  ) 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x3bc660> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) 
Jul  8 15:33:37 gateway ser:  0(2732) routing table 2:
Jul  8 15:33:37 gateway ser:  0(2732) if ( 0(2732) method 0(2732) == 0(2732) "INVITE" 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x1198c0> 0(2732) );  0(2732) strip( 0(2732) 3 0(2732) );  0(2732) sethostport( 0(2732) "200.105.128.6:5060" 0(2732) );  0(2732) prefix( 0(2732) "8888#" 0(2732) );  0(2732) if ( 0(2732) NOT(  0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732)  ) 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x3bc660> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) OR(  0(2732) method 0(2732) == 0(2732) "CANCEL" 0(2732) ,  0(2732) method 0(2732) == 0(2732) "BYE" 0(2732)  ) 0(2732) ) { 0(2732) route( 0(2732) 1 0(2732) );  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) OR(  0(2732) method 0(2732) == 0(2732) "CANCEL" 0(2732) ,  0(2732) method 0(2732) == 0(2732) "BYE" 0(2732)  ) 0(2732) ) { 0(2732) route( 0(2732) 1 0(2732) );  0(2732) } else { 0(
Jul  8 15:33:37 gateway ser:  0(2732) routing table 3:
Jul  8 15:33:37 gateway ser:  0(2732) if ( 0(2732) method 0(2732) == 0(2732) "INVITE" 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x1198c0> 0(2732) );  0(2732) sethostport( 0(2732) "200.105.128.6:5060" 0(2732) );  0(2732) prefix( 0(2732) "8888#591" 0(2732) );  0(2732) if ( 0(2732) NOT(  0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732)  external_module_call( 0(2732) f_ptr<0xa86560> 0(2732) );  0(2732)  ) 0(2732) ) { 0(2732)  external_module_call( 0(2732) f_ptr<0x3bc660> 0(2732) );  0(2732) } else { 0(2732) };  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) OR(  0(2732) method 0(2732) == 0(2732) "CANCEL" 0(2732) ,  0(2732) method 0(2732) == 0(2732) "BYE" 0(2732)  ) 0(2732) ) { 0(2732) route( 0(2732) 1 0(2732) );  0(2732) } else { 0(2732) };  0(2732) if ( 0(2732) OR(  0(2732) method 0(2732) == 0(2732) "CANCEL" 0(2732) ,  0(2732) method 0(2732) == 0(2732) "BYE" 0(2732)  ) 0(2732) ) { 0(2732) route( 0(2732) 1 0(2732) );  0(2732) } else { 0(2732) };  0(2732) 
Jul  8 15:33:40 gateway ser: Listening on 
Jul  8 15:33:40 gateway ser:               127.0.0.1 [127.0.0.1]:5060
Jul  8 15:33:40 gateway ser:               200.105.128.37 [200.105.128.37]:5060
Jul  8 15:33:40 gateway ser: Aliases: localhost:5060 localhost.localdomain:5060 gateway:5060 acelerate.com:5060 gateway.acelerate.com:* 
Jul  8 15:33:40 gateway ser: Listening on 
Jul  8 15:33:40 gateway ser:               127.0.0.1 [127.0.0.1]:5060
Jul  8 15:33:40 gateway ser:               200.105.128.37 [200.105.128.37]:5060
Jul  8 15:33:40 gateway ser: Aliases: localhost:5060 localhost.localdomain:5060 gateway:5060 acelerate.com:5060 gateway.acelerate.com:* 
Jul  8 15:33:40 gateway ser: Listening on 
Jul  8 15:33:40 gateway ser:               127.0.0.1 [127.0.0.1]:5060
Jul  8 15:33:40 gateway ser:               200.105.128.37 [200.105.128.37]:5060
Jul  8 15:33:40 gateway ser: Aliases: localhost:5060 localhost.localdomain:5060 gateway:5060 acelerate.com:5060 gateway.acelerate.com:* 
Jul  8 15:33:40 gateway ser:  0(2734) DEBUG: init_mod: mysql
Jul  8 15:33:40 gateway ser:  0(2734) mysql - initializing
Jul  8 15:33:40 gateway ser:  0(2734) DEBUG: init_mod: sl_module
Jul  8 15:33:40 gateway ser: stateless - initializing
Jul  8 15:33:40 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (sl_stats) registered
Jul  8 15:33:40 gateway ser:  0(2734) DEBUG: MD5 calculated: b27e1a1d33761e85846fc98f5f3a7e58
Jul  8 15:33:40 gateway ser:  0(2734) DEBUG: init_mod: tm
Jul  8 15:33:40 gateway ser:  0(2734) TM - initializing...
Jul  8 15:33:41 gateway ser:  0(2734) Call-ID initialization: '5fd3fcff'
Jul  8 15:33:41 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered
Jul  8 15:33:41 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (t_hash) registered
Jul  8 15:33:41 gateway ser:  0(2734) DEBUG: lock_initialize: lock initialization started
Jul  8 15:33:41 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (t_stats) registered
Jul  8 15:33:41 gateway ser:  0(2734) DEBUG: MD5 calculated: 533cb9e91f4b999cf76861cbb9ed54ed
Jul  8 15:33:41 gateway ser:  0(2734) DEBUG: MD5 calculated: a6a1c5f60faecf035a1ae5b6e96e979a
Jul  8 15:33:41 gateway ser:  0(2734) DEBUG: init_mod: acc
Jul  8 15:33:41 gateway ser: acc - initializing
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <load_tm> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <register_tmcb> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_relay_to_tcp> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_relay_to_udp> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_reply> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_reply_with_body> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_is_local> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_get_trans_ident> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_lookup_ident> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_add_blind> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_forward_nonack> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_request_within> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_request_outside> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <t_request> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:41 gateway ser:  0(2734) find_export: found <new_dlg_uac> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <dlg_response_uac> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <new_dlg_uas> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <dlg_request_uas> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <free_dlg> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <print_dlg> in module tm [/usr/local/lib/ser/modules/tm.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_use_table> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_init> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_close> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_query> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_raw_query> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_free_query> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_insert> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_delete> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) find_export: found <db_update> in module mysql [/usr/local/lib/ser/modules/mysql.so]
Jul  8 15:33:42 gateway ser:  0(2734) DEBUG: init_mod: rr
Jul  8 15:33:42 gateway ser:  0(2734) rr - initializing
Jul  8 15:33:42 gateway ser:  0(2734) DEBUG: init_mod: maxfwd_module
Jul  8 15:33:42 gateway ser: Maxfwd module- initializing
Jul  8 15:33:42 gateway ser:  0(2734) DEBUG: init_mod: usrloc
Jul  8 15:33:42 gateway ser:  0(2734) usrloc - initializing
Jul  8 15:33:42 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (ul_stats) registered
Jul  8 15:33:42 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (ul_rm) registered
Jul  8 15:33:42 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered
Jul  8 15:33:42 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (ul_dump) registered
Jul  8 15:33:43 gateway ser:  0(2734) DEBUG: register_fifo_cmd: new command (ul_flush) registered

what could be the problem?

Thanks.




More information about the sr-users mailing list