Hi,
My SER server crashes when I am testing presence support using Windows messenger. I know from seruser mailing list that the messenger is using non-standard conformant messages so the presence may not work correctly. But it is still surprising that SER actually crashes.
In order to obtain detailed debugging info, I enabled logging in the ser.cfg as follows: (Please see the entire ser.cfg attached at the end of this message)
debug=9 # debug level (cmd line: -dddddddddd) fork=yes log_stderror=no # (cmd line: -E)
However, no detailed logging is showing up in syslog. All I get is as follows (See part 1 of attachment). Can anyone shed some light on why the logging is not working? I tried different combinations of debug level, fork, and log_stderror, but it is not working.
Any help is really appreciated.
Thanks, Haipeng
===================Part 1: the log I have got============================================================== Dec 7 11:20:14 std-sip2 /usr/local/sbin/ser[29332]: mod_init(): Database connection opened successfuly Dec 7 11:20:14 std-sip2 /usr/local/sbin/ser[29332]: INFO: udp_init: SO_RCVBUF is initially 65535 Dec 7 11:20:14 std-sip2 /usr/local/sbin/ser[29332]: INFO: udp_init: SO_RCVBUF is finally 131070 Dec 7 11:20:14 std-sip2 /usr/local/sbin/ser[29332]: INFO: udp_init: SO_RCVBUF is initially 65535 Dec 7 11:20:14 std-sip2 /usr/local/sbin/ser[29332]: INFO: udp_init: SO_RCVBUF is finally 131070 Dec 7 11:20:14 std-sip2 /usr/local/sbin/ser[29367]: INFO: fifo process starting: 29367 Dec 7 11:20:14 std-sip2 /usr/local/sbin/ser[29367]: SER: open_uac_fifo: fifo server up at /tmp/ser_fifo... Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29332]: child process 29351 exited by a signal 11 Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29332]: core was not generated Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29332]: INFO: terminating due to SIGCHLD Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29335]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29336]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29337]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29338]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29355]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29357]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29367]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29387]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29348]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29381]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29383]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29343]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29345]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29377]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29379]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29341]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29342]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29373]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29375]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29339]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29340]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29369]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29371]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29353]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29347]: INFO: signal 15 received Dec 7 11:26:24 std-sip2 /usr/local/sbin/ser[29385]: INFO: signal 15 received
===================Part 2: my ser.cfg============================================== # ----------- global configuration parameters ------------------------
debug=9 # debug level (cmd line: -dddddddddd) fork=yes log_stderror=no # (cmd line: -E)
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"
loadmodule "/usr/local/lib/ser/modules/sl.so" loadmodule "/usr/local/lib/ser/modules/tm.so" loadmodule "/usr/local/lib/ser/modules/usrloc.so" loadmodule "/usr/local/lib/ser/modules/registrar.so" loadmodule "/usr/local/lib/ser/modules/pa.so" loadmodule "/usr/local/lib/ser/modules/mysql.so"
modparam("usrloc", "db_mode", 2) modparam("usrloc", "db_url", "sql://ser:3456@localhost/ser")
modparam("usrloc", "use_domain", 1) modparam("registrar", "use_domain", 1)
route { if (uri==myself) { if (method=="SUBSCRIBE") { if (t_newtran()) { handle_subscription("registrar"); break; }; };
if (method=="REGISTER") { save("location"); break; };
lookup("location"); };
if (!t_relay()) { sl_reply_error(); }; }