Hi all
I was wondering if any of you might have a solution to my problem! The thing is that i've compiled and installed OpenSer0.9.5 from CVS, on a SUSE 9.2, added MySQL support and created a DB for OpenSer. And now I'm stuck at executing openserctl start and only ending up with the PID filed getting created and ultimately deleted, when OpenSer terminates with the message "PID file /home/ser/var/run/openser.pid does not exist -- OpenSER start failed", and path to the PID has been altered in openserctl. I'm using debug mode 5 but cant realy figure out what might be causing this error! All help will be greatly appreciated.
I have attached the output: (Sorry for the big post)
ser@site1:~/running/openser/sbin> [21Popenserctl start
Starting OpenSER : 0(14441) read 2733431526 from /dev/urandom 0(14441) seeding PRNG with 3856599290 0(14441) test random number 930545650 0(14441) loading module /home/ser/running/openser/lib/openser/modules/mysql.so 0(14441) loading module /home/ser/running/openser/lib/openser/modules/sl.so 0(14441) loading module /home/ser/running/openser/lib/openser/modules/tm.so 0(14441) loading module /home/ser/running/openser/lib/openser/modules/rr.so 0(14441) loading module /home/ser/running/openser/lib/openser/modules/maxfwd.so 0(14441) loading module /home/ser/running/openser/lib/openser/modules/usrloc.so 0(14441) loading module /home/ser/running/openser/lib/openser/modules/registrar.so 0(14441) loading module /home/ser/running/openser/lib/openser/modules/textops.so 0(14441) set_mod_param_regex: usrloc matches module usrloc 0(14441) set_mod_param_regex: found <db_url> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(14441) set_mod_param_regex: usrloc matches module usrloc 0(14441) set_mod_param_regex: found <db_mode> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(14441) set_mod_param_regex: rr matches module rr 0(14441) set_mod_param_regex: found <enable_full_lr> in module rr [/home/ser/running/openser/lib/openser/modules/rr.so] 0(14441) find_export: found <mf_process_maxfwd_header> in module maxfwd [/home/ser/running/openser/lib/openser/modules/maxfwd.so] 0(14441) find_export: found <sl_send_reply> in module sl_module [/home/ser/running/openser/lib/openser/modules/sl.so] 0(14441) find_export: found <sl_send_reply> in module sl_module [/home/ser/running/openser/lib/openser/modules/sl.so] 0(14441) find_export: found <record_route> in module rr [/home/ser/running/openser/lib/openser/modules/rr.so] 0(14441) find_export: found <loose_route> in module rr [/home/ser/running/openser/lib/openser/modules/rr.so] 0(14441) find_export: found <append_hf> in module textops [/home/ser/running/openser/lib/openser/modules/textops.so] 0(14441) find_export: found <append_hf> in module textops [/home/ser/running/openser/lib/openser/modules/textops.so] 0(14441) find_export: found <save> in module registrar [/home/ser/running/openser/lib/openser/modules/registrar.so] 0(14441) find_export: found <lookup> in module registrar [/home/ser/running/openser/lib/openser/modules/registrar.so] 0(14441) find_export: found <append_hf> in module textops [/home/ser/running/openser/lib/openser/modules/textops.so] 0(14441) find_export: found <lookup> in module registrar [/home/ser/running/openser/lib/openser/modules/registrar.so] 0(14441) find_export: found <sl_send_reply> in module sl_module [/home/ser/running/openser/lib/openser/modules/sl.so] 0(14441) find_export: found <append_hf> in module textops [/home/ser/running/openser/lib/openser/modules/textops.so] 0(14441) find_export: found <t_relay> in module tm [/home/ser/running/openser/lib/openser/modules/tm.so] 0(14441) find_export: found <sl_reply_error> in module sl_module [/home/ser/running/openser/lib/openser/modules/sl.so] 0(14441) routing table 0: 0(14441) if ( 0(14441) NOT( 0(14441) external_module_call( 0(14441) f_ptr<0x4027ffd0> 0(14441) , "10" 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x4027ffd0> 0(14441) , "10" 0(14441) ); 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "483" 0(14441) , "Too Many Hops" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) UNKNOWN 0(14441) <UNKNOWN> 0(14441) 2048 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "513" 0(14441) , "Message too big" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4027c7c0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) external_module_call( 0(14441) f_ptr<0x4027a1c0> 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x4027a1c0> 0(14441) ); 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: rr-enforced
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) { 0(14441) if ( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4029bb30> 0(14441) , "location" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "aliases" 0(14441) ); 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound alias
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "404" 0(14441) , "Not Found" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: usrloc applied
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) if ( 0(14441) UNKNOWN 0(14441) <UNKNOWN> 0(14441) 2048 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "513" 0(14441) , "Message too big" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4027c7c0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) external_module_call( 0(14441) f_ptr<0x4027a1c0> 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x4027a1c0> 0(14441) ); 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: rr-enforced
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) { 0(14441) if ( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4029bb30> 0(14441) , "location" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "aliases" 0(14441) ); 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound alias
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "404" 0(14441) , "Not Found" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: usrloc applied
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) if ( 0(14441) NOT( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4027c7c0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) external_module_call( 0(14441) f_ptr<0x4027a1c0> 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x4027a1c0> 0(14441) ); 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: rr-enforced
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) { 0(14441) if ( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4029bb30> 0(14441) , "location" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "aliases" 0(14441) ); 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound alias
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "404" 0(14441) , "Not Found" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: usrloc applied
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) if ( 0(14441) external_module_call( 0(14441) f_ptr<0x4027a1c0> 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x4027a1c0> 0(14441) ); 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: rr-enforced
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) { 0(14441) if ( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4029bb30> 0(14441) , "location" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "aliases" 0(14441) ); 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound alias
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "404" 0(14441) , "Not Found" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: usrloc applied
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) { 0(14441) if ( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4029bb30> 0(14441) , "location" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "aliases" 0(14441) ); 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound alias
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "404" 0(14441) , "Not Found" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: usrloc applied
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) if ( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) { 0(14441) if ( 0(14441) method 0(14441) == 0(14441) "REGISTER" 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x4029bb30> 0(14441) , "location" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "aliases" 0(14441) ); 0(14441) if ( 0(14441) NOT( 0(14441) uri 0(14441) == 0(14441) _myself_ 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: outbound alias
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) if ( 0(14441) NOT( 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x40298490> 0(14441) , "location" 0(14441) ); 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170910> 0(14441) , "404" 0(14441) , "Not Found" 0(14441) ); 0(14441) drop( 0(14441) type<0> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) } else { 0(14441) }; 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: usrloc applied
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x402a1450> 0(14441) , "P-hint: usrloc applied
" 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) route( 0(14441) 1 0(14441) ); 0(14441) 0(14441) routing table 1: 0(14441) if ( 0(14441) NOT( 0(14441) external_module_call( 0(14441) f_ptr<0x4024c740> 0(14441) ); 0(14441) external_module_call( 0(14441) f_ptr<0x4024c740> 0(14441) ); 0(14441) ) 0(14441) ) { 0(14441) external_module_call( 0(14441) f_ptr<0x40170580> 0(14441) ); 0(14441) } else { 0(14441) }; 0(14441) Listening on udp: 212.97.202.73 [212.97.202.73]:5060 tcp: 212.97.202.73 [212.97.202.73]:5060 Aliases: tcp: osite1:5060 tcp: osite1.cuatro.dk:5060 udp: osite1:5060 udp: osite1.cuatro.dk:5060
WARNING: no fork mode 0(14441) shm_mem_init: success 0(0) core dump limits set to 4294967295 0(0) DEBUG: init_mod: sl_module stateless - initializing 0(0) DEBUG: register_fifo_cmd: new command (sl_stats) registered 0(0) unixsock_register_cmd: New command (sl_stats) registered 0(0) DEBUG: MD5 calculated: ba950484b7cb9e0b78ff4f84c7272d40 0(0) DEBUG: init_mod: tm 0(0) TM - (size of cell=2780, sip_msg=760) initializing... 0(0) Call-ID initialization: '773ffe9e' 0(0) DEBUG: register_fifo_cmd: new command (t_uac_dlg) registered 0(0) DEBUG: register_fifo_cmd: new command (t_uac_cancel) registered 0(0) DEBUG: register_fifo_cmd: new command (t_hash) registered 0(0) DEBUG: register_fifo_cmd: new command (t_reply) registered 0(0) unixsock_register_cmd: New command (t_uac_dlg) registered 0(0) unixsock_register_cmd: New command (t_uac_cancel) registered 0(0) unixsock_register_cmd: New command (t_hash) registered 0(0) unixsock_register_cmd: New command (t_reply) registered 0(0) DEBUG: lock_initialize: lock initialization started 0(0) DEBUG: register_fifo_cmd: new command (t_stats) registered 0(0) unixsock_register_cmd: New command (t_stats) registered 0(0) DEBUG: MD5 calculated: 5818e8718167640aef9d06ecea0d94fe 0(0) DEBUG: MD5 calculated: 55629ad9d6de7376eb3d3c6f0e1dea9c 0(0) DEBUG: init_mod: rr 0(0) rr - initializing 0(0) DEBUG: init_mod: maxfwd 0(0) Maxfwd module- initializing 0(0) DEBUG: init_mod: usrloc 0(0) usrloc - initializing 0(0) DEBUG: register_fifo_cmd: new command (ul_stats) registered 0(0) DEBUG: register_fifo_cmd: new command (ul_rm) registered 0(0) DEBUG: register_fifo_cmd: new command (ul_rm_contact) registered 0(0) DEBUG: register_fifo_cmd: new command (ul_dump) registered 0(0) DEBUG: register_fifo_cmd: new command (ul_flush) registered 0(0) DEBUG: register_fifo_cmd: new command (ul_add) registered 0(0) DEBUG: register_fifo_cmd: new command (ul_show_contact) registered 0(0) unixsock_register_cmd: New command (ul_stats) registered 0(0) unixsock_register_cmd: New command (ul_rm) registered 0(0) unixsock_register_cmd: New command (ul_rm_contact) registered 0(0) unixsock_register_cmd: New command (ul_dump) registered 0(0) unixsock_register_cmd: New command (ul_flush) registered 0(0) unixsock_register_cmd: New command (ul_add) registered 0(0) unixsock_register_cmd: New command (ul_show_contact) registered 0(0) find_mod_export: found <db_use_table> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) find_mod_export: found <db_init> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) find_mod_export: found <db_close> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) find_mod_export: found <db_query> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) find_mod_export: found <db_raw_query> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) find_mod_export: found <db_free_result> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) find_mod_export: found <db_insert> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) find_mod_export: found <db_delete> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) find_mod_export: found <db_update> in module mysql [/home/ser/running/openser/lib/openser/modules/mysql.so] 0(0) DEBUG: init_mod: registrar 0(0) registrar - initializing 0(0) find_export: found <sl_send_reply> in module sl_module [/home/ser/running/openser/lib/openser/modules/sl.so] 0(0) find_export: found <ul_bind_usrloc> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_register_udomain> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_get_all_ucontacts> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_insert_urecord> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_delete_urecord> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_get_urecord> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_lock_udomain> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_unlock_udomain> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_release_urecord> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_insert_ucontact> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_delete_ucontact> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_get_ucontact> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_update_ucontact> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_register_watcher> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_unregister_watcher> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) find_export: found <ul_register_ulcb> in module usrloc [/home/ser/running/openser/lib/openser/modules/usrloc.so] 0(0) DEBUG: init_mod: textops textops - initializing 0(0) fixing /home/ser/running/openser/lib/openser/modules/maxfwd.so mf_process_maxfwd_header 0(0) fixing /home/ser/running/openser/lib/openser/modules/sl.so sl_send_reply 0(0) fixing /home/ser/running/openser/lib/openser/modules/sl.so sl_send_reply 0(0) fixing /home/ser/running/openser/lib/openser/modules/rr.so record_route 0(0) fixing /home/ser/running/openser/lib/openser/modules/rr.so loose_route 0(0) fixing /home/ser/running/openser/lib/openser/modules/textops.so append_hf 0(0) fixing /home/ser/running/openser/lib/openser/modules/textops.so append_hf 0(0) fixing /home/ser/running/openser/lib/openser/modules/registrar.so save 0(0) get_connection(): Connection not found in the pool 0(0) preload_udomain(): Table is empty 0(0) release_connection(): Removing connection from the pool 0(0) fixing /home/ser/running/openser/lib/openser/modules/registrar.so lookup 0(0) get_connection(): Connection not found in the pool 0(0) preload_udomain(): Table is empty 0(0) release_connection(): Removing connection from the pool 0(0) fixing /home/ser/running/openser/lib/openser/modules/textops.so append_hf 0(0) fixing /home/ser/running/openser/lib/openser/modules/registrar.so lookup 0(0) fixing /home/ser/running/openser/lib/openser/modules/sl.so sl_send_reply 0(0) fixing /home/ser/running/openser/lib/openser/modules/textops.so append_hf 0(0) fixing /home/ser/running/openser/lib/openser/modules/tm.so t_relay 0(0) fixing /home/ser/running/openser/lib/openser/modules/sl.so sl_reply_error 0(0) INFO: udp_init: SO_RCVBUF is initially 111616 0(0) DEBUG: udp_init: trying SO_RCVBUF: 223232 0(0) DEBUG: setting SO_RCVBUF; set=223232,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 225280 0(0) DEBUG: setting SO_RCVBUF; set=225280,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 227328 0(0) DEBUG: setting SO_RCVBUF; set=227328,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 229376 0(0) DEBUG: setting SO_RCVBUF; set=229376,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 231424 0(0) DEBUG: setting SO_RCVBUF; set=231424,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 233472 0(0) DEBUG: setting SO_RCVBUF; set=233472,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 235520 0(0) DEBUG: setting SO_RCVBUF; set=235520,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 237568 0(0) DEBUG: setting SO_RCVBUF; set=237568,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 239616 0(0) DEBUG: setting SO_RCVBUF; set=239616,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 241664 0(0) DEBUG: setting SO_RCVBUF; set=241664,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 243712 0(0) DEBUG: setting SO_RCVBUF; set=243712,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 245760 0(0) DEBUG: setting SO_RCVBUF; set=245760,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 247808 0(0) DEBUG: setting SO_RCVBUF; set=247808,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 249856 0(0) DEBUG: setting SO_RCVBUF; set=249856,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 251904 0(0) DEBUG: setting SO_RCVBUF; set=251904,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 253952 0(0) DEBUG: setting SO_RCVBUF; set=253952,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 256000 0(0) DEBUG: setting SO_RCVBUF; set=256000,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 258048 0(0) DEBUG: setting SO_RCVBUF; set=258048,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 260096 0(0) DEBUG: setting SO_RCVBUF; set=260096,verify=262142 0(0) DEBUG: udp_init: trying SO_RCVBUF: 262144 0(0) DEBUG: setting SO_RCVBUF; set=262144,verify=262142 0(0) DEBUG: setting SO_RCVBUF has no effect 0(0) INFO: udp_init: SO_RCVBUF is finally 262142 0(0) DBG: open_uac_fifo: opening fifo... 0(0) DEBUG: FIFO created @ /tmp/openser_fifo 0(0) DEBUG: fifo /tmp/openser_fifo opened, mode=777 0(0) ERROR: init_fifo_server: fifo_write did not open: Permission denied 0(0) initializing fifo server failed 0(0) DEBUG: tm_shutdown : start 0(0) DEBUG: unlink_timer_lists : emptying DELETE list 0(0) DEBUG: tm_shutdown : emptying hash table 0(0) DEBUG: tm_shutdown : releasing timers 0(0) DEBUG: tm_shutdown : removing semaphores 0(0) DEBUG: tm_shutdown : destroying tmcb lists 0(0) DEBUG: tm_shutdown : done 0(14441) shm_mem_destroy 0(14441) destroying the shared memory lock PID created! total 0 PID file /home/ser/var/run/openser.pid does not exist -- OpenSER start failed
Kind regards Martin
Hello,
I would suggest you to use init.d script for start/stop rather than opnserctl. For suse you can find a sample init.d script in packaging/rpm/openser.init.SuSE
The problem seems to be that fifo file is created using another userid:groupid that the ones openser is running. Set fifo_user and fifo_group to be the same as user (uid) and group (gid) of openser. Let me now if this solved your problem.
Daniel
On 08/04/05 14:19, Martin Kjeldsen wrote:
Hi all
I was wondering if any of you might have a solution to my problem! The thing is that i've compiled and installed OpenSer0.9.5 from CVS, on a SUSE 9.2, added MySQL support and created a DB for OpenSer. And now I'm stuck at executing openserctl start and only ending up with the PID filed getting created and ultimately deleted, when OpenSer terminates with the message "PID file /home/ser/var/run/openser.pid does not exist -- OpenSER start failed", and path to the PID has been altered in openserctl. I'm using debug mode 5 but cant realy figure out what might be causing this error! All help will be greatly appreciated.
I have attached the output: (Sorry for the big post)
ser@site1:~/running/openser/sbin> [21Popenserctl start
Starting OpenSER : 0(14441) read 2733431526 from /dev/urandom [...] 0(0) DBG: open_uac_fifo: opening fifo... 0(0) DEBUG: FIFO created @ /tmp/openser_fifo 0(0) DEBUG: fifo /tmp/openser_fifo opened, mode=777 0(0) ERROR: init_fifo_server: fifo_write did not open: Permission denied 0(0) initializing fifo server failed 0(0) DEBUG: tm_shutdown : start 0(0) DEBUG: unlink_timer_lists : emptying DELETE list 0(0) DEBUG: tm_shutdown : emptying hash table 0(0) DEBUG: tm_shutdown : releasing timers 0(0) DEBUG: tm_shutdown : removing semaphores 0(0) DEBUG: tm_shutdown : destroying tmcb lists 0(0) DEBUG: tm_shutdown : done 0(14441) shm_mem_destroy 0(14441) destroying the shared memory lock PID created! total 0 PID file /home/ser/var/run/openser.pid does not exist -- OpenSER start failed
Kind regards Martin
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi again
Yup, that seemed to clear things up abit... Now I'm just getting some errors when trying to do a domain_dump or domain_reload, saying "500 command 'domain_dump' not available", is this still linked to the former problem?
And by suggesting that I'd use the init.d script, for starting and stopping rather than openserctl, you're just implying that for long term use since the openser would come back online incase of a reboot?
Thanks for the quick reply by the way.
Martin
Daniel-Constantin Mierla wrote:
Hello,
I would suggest you to use init.d script for start/stop rather than opnserctl. For suse you can find a sample init.d script in packaging/rpm/openser.init.SuSE
The problem seems to be that fifo file is created using another userid:groupid that the ones openser is running. Set fifo_user and fifo_group to be the same as user (uid) and group (gid) of openser. Let me now if this solved your problem.
Daniel
On 08/04/05 14:19, Martin Kjeldsen wrote:
Hi all
I was wondering if any of you might have a solution to my problem! The thing is that i've compiled and installed OpenSer0.9.5 from CVS, on a SUSE 9.2, added MySQL support and created a DB for OpenSer. And now I'm stuck at executing openserctl start and only ending up with the PID filed getting created and ultimately deleted, when OpenSer terminates with the message "PID file /home/ser/var/run/openser.pid does not exist -- OpenSER start failed", and path to the PID has been altered in openserctl. I'm using debug mode 5 but cant realy figure out what might be causing this error! All help will be greatly appreciated.
I have attached the output: (Sorry for the big post)
ser@site1:~/running/openser/sbin> [21Popenserctl start
Starting OpenSER : 0(14441) read 2733431526 from /dev/urandom [...] 0(0) DBG: open_uac_fifo: opening fifo... 0(0) DEBUG: FIFO created @ /tmp/openser_fifo 0(0) DEBUG: fifo /tmp/openser_fifo opened, mode=777 0(0) ERROR: init_fifo_server: fifo_write did not open: Permission denied 0(0) initializing fifo server failed 0(0) DEBUG: tm_shutdown : start 0(0) DEBUG: unlink_timer_lists : emptying DELETE list 0(0) DEBUG: tm_shutdown : emptying hash table 0(0) DEBUG: tm_shutdown : releasing timers 0(0) DEBUG: tm_shutdown : removing semaphores 0(0) DEBUG: tm_shutdown : destroying tmcb lists 0(0) DEBUG: tm_shutdown : done 0(14441) shm_mem_destroy 0(14441) destroying the shared memory lock PID created! total 0 PID file /home/ser/var/run/openser.pid does not exist -- OpenSER start failed
Kind regards Martin
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Upsss...
Was a bit to hasty with the domain problem... Just forgot to load the domain module.... doh.
Thanks again
Daniel-Constantin Mierla wrote:
Hello,
I would suggest you to use init.d script for start/stop rather than opnserctl. For suse you can find a sample init.d script in packaging/rpm/openser.init.SuSE
The problem seems to be that fifo file is created using another userid:groupid that the ones openser is running. Set fifo_user and fifo_group to be the same as user (uid) and group (gid) of openser. Let me now if this solved your problem.
Daniel
On 08/04/05 14:19, Martin Kjeldsen wrote:
Hi all
I was wondering if any of you might have a solution to my problem! The thing is that i've compiled and installed OpenSer0.9.5 from CVS, on a SUSE 9.2, added MySQL support and created a DB for OpenSer. And now I'm stuck at executing openserctl start and only ending up with the PID filed getting created and ultimately deleted, when OpenSer terminates with the message "PID file /home/ser/var/run/openser.pid does not exist -- OpenSER start failed", and path to the PID has been altered in openserctl. I'm using debug mode 5 but cant realy figure out what might be causing this error! All help will be greatly appreciated.
I have attached the output: (Sorry for the big post)
ser@site1:~/running/openser/sbin> [21Popenserctl start
Starting OpenSER : 0(14441) read 2733431526 from /dev/urandom [...] 0(0) DBG: open_uac_fifo: opening fifo... 0(0) DEBUG: FIFO created @ /tmp/openser_fifo 0(0) DEBUG: fifo /tmp/openser_fifo opened, mode=777 0(0) ERROR: init_fifo_server: fifo_write did not open: Permission denied 0(0) initializing fifo server failed 0(0) DEBUG: tm_shutdown : start 0(0) DEBUG: unlink_timer_lists : emptying DELETE list 0(0) DEBUG: tm_shutdown : emptying hash table 0(0) DEBUG: tm_shutdown : releasing timers 0(0) DEBUG: tm_shutdown : removing semaphores 0(0) DEBUG: tm_shutdown : destroying tmcb lists 0(0) DEBUG: tm_shutdown : done 0(14441) shm_mem_destroy 0(14441) destroying the shared memory lock PID created! total 0 PID file /home/ser/var/run/openser.pid does not exist -- OpenSER start failed
Kind regards Martin
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users