[Serusers] Problems with version SER 0.9
Jesús M. Movilla
jmms03 at tid.es
Fri Jun 10 14:07:51 CEST 2005
Hi to all,
I took the sources of SER version 0.9. and I compiled them. I installed this SER version but when I tried to start it up I got this error:
textops - initializing
0(0) fixing /usr/local/lib/ser/modules/maxfwd.so mf_process_maxfwd_header
0(0) qm_free(0x80fbe60, 0x8130d58), called from maxfwd.c: fixup_maxfwd_header(122)
0(0) qm_free: freeing frag. 0x8130d40 alloc'ed from cfg.lex: addstr(572)
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) qm_free(0x80fbe60, 0x8130f90), called from sl.c: fixup_sl_send_reply(142)
0(0) qm_free: freeing frag. 0x8130f78 alloc'ed from cfg.lex: addstr(572)
0(0) fixing /usr/local/lib/ser/modules/sl.so sl_send_reply
0(0) qm_free(0x80fbe60, 0x81312d4), called from sl.c: fixup_sl_send_reply(142)
0(0) qm_free: freeing frag. 0x81312bc alloc'ed from cfg.lex: addstr(572)
ERROR: error -478 while trying to fix configuration
0(0) qm_free(0x80fbe60, 0x813096c), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130954 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x80fbe60, 0x813087c), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130864 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x401ff000, 0x403b6400), called from ul_callback.c: destroy_ulcb_list(75)
0(0) qm_free: freeing frag. 0x403b63e8 alloc'ed from ul_callback.c: init_ulcb_list(50)
0(0) qm_free(0x80fbe60, 0x813078c), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130774 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x80fbe60, 0x813069c), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130684 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x80fbe60, 0x81305ac), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x8130594 alloc'ed from sr_module.c: register_module(136)
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) qm_free(0x401ff000, 0x40236070), called from h_table.c: free_hash_table(309)
0(0) qm_free: freeing frag. 0x40236058 alloc'ed from h_table.c: init_hash_table(323)
0(0) DEBUG: tm_shutdown : releasing timers
0(0) qm_free(0x401ff000, 0x403b60e0), called from timer.c: free_timer_table(551)
0(0) qm_free: freeing frag. 0x403b60c8 alloc'ed from timer.c: tm_init_timers(515)
0(0) DEBUG: tm_shutdown : removing semaphores
0(0) qm_free(0x401ff000, 0x403b60a0), called from lock.c: lock_cleanup(205)
0(0) qm_free: freeing frag. 0x403b6088 alloc'ed from lock.c: lock_initialize(99)
0(0) DEBUG: tm_shutdown : destroying tmcb lists
0(0) qm_free(0x401ff000, 0x403b63c8), called from t_hooks.c: destroy_tmcb_lists(83)
0(0) qm_free: freeing frag. 0x403b63b0 alloc'ed from t_hooks.c: init_tmcb_lists(58)
0(0) qm_free(0x401ff000, 0x403b6368), called from t_stats.c: free_tm_stats(223)
0(0) qm_free: freeing frag. 0x403b6350 alloc'ed from t_stats.c: init_tm_stats(185)
0(0) qm_free(0x401ff000, 0x403b6308), called from t_stats.c: free_tm_stats(225)
0(0) qm_free: freeing frag. 0x403b62f0 alloc'ed from t_stats.c: init_tm_stats(178)
0(0) qm_free(0x401ff000, 0x403b62a8), called from t_stats.c: free_tm_stats(227)
0(0) qm_free: freeing frag. 0x403b6290 alloc'ed from t_stats.c: init_tm_stats(171)
0(0) qm_free(0x401ff000, 0x403b6250), called from t_stats.c: free_tm_stats(228)
0(0) qm_free: freeing frag. 0x403b6238 alloc'ed from t_stats.c: init_tm_stats(163)
0(0) DEBUG: tm_shutdown : done
0(0) qm_free(0x80fbe60, 0x81304bc), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x81304a4 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x401ff000, 0x40235bfc), called from sl_stats.c: sl_stats_destroy(164)
0(0) qm_free: freeing frag. 0x40235be4 alloc'ed from sl_stats.c: init_sl_stats(179)
0(0) qm_free(0x401ff000, 0x4023603c), called from sl_funcs.c: sl_shutdown(99)
0(0) qm_free: freeing frag. 0x40236024 alloc'ed from sl_funcs.c: sl_startup(82)
0(0) qm_free(0x80fbe60, 0x81303cc), called from sr_module.c: destroy_modules(357)
0(0) qm_free: freeing frag. 0x81303b4 alloc'ed from sr_module.c: register_module(136)
0(0) qm_free(0x401ff000, 0x40233474), called from tcp_main.c: destroy_tcp(1367)
0(0) qm_free: freeing frag. 0x4023345c alloc'ed from tcp_main.c: init_tcp(1303)
0(0) qm_free(0x401ff000, 0x402334dc), called from tcp_main.c: destroy_tcp(1371)
0(0) qm_free: freeing frag. 0x402334c4 alloc'ed from tcp_main.c: init_tcp(1326)
0(0) qm_free(0x401ff000, 0x4023450c), called from tcp_main.c: destroy_tcp(1375)
0(0) qm_free: freeing frag. 0x402344f4 alloc'ed from tcp_main.c: init_tcp(1338)
0(0) qm_free(0x401ff000, 0x402334a8), called from tcp_main.c: destroy_tcp(1380)
0(0) qm_free: freeing frag. 0x40233490 alloc'ed from tcp_main.c: init_tcp(1315)
0(0) qm_free(0x401ff000, 0x40233440), called from timer.c: destroy_timer(80)
0(0) qm_free: freeing frag. 0x40233428 alloc'ed from timer.c: init_timer(57)
0(0) qm_free(0x80fbe60, 0x8134104), called from timer.c: destroy_timer(89)
0(0) qm_free: freeing frag. 0x81340ec alloc'ed from timer.c: register_timer(104)
0(0) qm_free(0x80fbe60, 0x8133fbc), called from timer.c: destroy_timer(89)
0(0) qm_free: freeing frag. 0x8133fa4 alloc'ed from timer.c: register_timer(104)
0(0) qm_free(0x80fbe60, 0x81344cc), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81344b4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813448c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134474 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813444c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134434 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813440c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81343f4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x81343cc), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x81343b4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813438c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134374 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813434c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8134334 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8134044), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x813402c alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133f7c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133f64 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133f3c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133f24 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133efc), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133ee4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133ebc), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133ea4 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x8133d3c), called from unixsock_server.c: close_unixsock_server(652)
0(0) qm_free: freeing frag. 0x8133d24 alloc'ed from unixsock_server.c: unixsock_register_cmd(673)
0(0) qm_free(0x80fbe60, 0x813430c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81342f4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81342cc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81342b4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813428c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134274 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813424c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134234 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813420c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81341f4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81341cc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x81341b4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x813418c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8134174 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8134004), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133fec alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133e7c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133e64 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133e3c), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133e24 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133dfc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133de4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133dbc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133da4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x8133cfc), called from fifo_server.c: destroy_fifo(158)
0(0) qm_free: freeing frag. 0x8133ce4 alloc'ed from fifo_server.c: register_fifo_cmd(133)
0(0) qm_free(0x80fbe60, 0x81340c4), called from script_cb.c: destroy_script_cb(81)
0(0) qm_free: freeing frag. 0x81340ac alloc'ed from script_cb.c: register_script_cb(53)
0(0) qm_free(0x80fbe60, 0x8133d7c), called from script_cb.c: destroy_script_cb(81)
0(0) qm_free: freeing frag. 0x8133d64 alloc'ed from script_cb.c: register_script_cb(53)
0(0) qm_free(0x80fbe60, 0x8134084), called from script_cb.c: destroy_script_cb(83)
0(0) qm_free: freeing frag. 0x813406c alloc'ed from script_cb.c: register_script_cb(53)
0(0) qm_free(0x401ff000, 0x4023553c), called from main.c: cleanup(373)
0(0) qm_free: freeing frag. 0x40235524 alloc'ed from main.c: main(1534)
0(2180) shm_mem_destroy
0(2180) destroying the shared memory lock
The ser.cfg that I have used is the same included in the compilation except for the debugs to get activated. Next I include it in case you see something rare:
Any help or idea is very very welcome :-)
Thank you very much
Jesús
**********************************************************************
#
# $Id: ser.cfg,v 1.25 2004/11/30 16:28:24 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=7 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode */
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"
loadmodule "/usr/local/lib/ser/modules/textops.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;
};
if (src_ip==193.175.135.0/24){
force_send_socket(smaug:5080);
forward(193.175.135.179);
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
if (!method=="REGISTER") record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
break;
};
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
route(1);
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==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
# if (!www_authorize("iptel.org", "subscriber")) {
# www_challenge("iptel.org", "0");
# break;
# };
save("location");
break;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
append_hf("P-hint: usrloc applied\r\n");
route(1);
}
route[1]
{
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050610/74ba169c/attachment.htm>
More information about the sr-users
mailing list