<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.8.4">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
hello Daniel<BR>
<BR>
launching the kamailio with debug enabled i get this<BR>
<BR>
59(3750) DEBUG: <core> [local_timer.c:61]: init_local_timer(): timer_list between 0xa28888 and 0xa6c888<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 14, 1, 0x7fb73aa05c10), fd_no=0<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 17, 4, 0x7fb6b9060304), fd_no=1<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 18, 4, 0x7fb6b9060390), fd_no=2<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 19, 4, 0x7fb6b906041c), fd_no=3<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 20, 4, 0x7fb6b90604a8), fd_no=4<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 21, 4, 0x7fb6b9060534), fd_no=5<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 22, 4, 0x7fb6b90605c0), fd_no=6<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 23, 4, 0x7fb6b906064c), fd_no=7<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 24, 4, 0x7fb6b90606d8), fd_no=8<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 25, 4, 0x7fb6b9060764), fd_no=9<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 26, 4, 0x7fb6b90607f0), fd_no=10<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 27, 4, 0x7fb6b906087c), fd_no=11<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 28, 4, 0x7fb6b9060908), fd_no=12<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 29, 4, 0x7fb6b9060994), fd_no=13<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 30, 4, 0x7fb6b9060a20), fd_no=14<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 31, 4, 0x7fb6b9060aac), fd_no=15<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 32, 4, 0x7fb6b9060b38), fd_no=16<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 33, 4, 0x7fb6b9060bc4), fd_no=17<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 34, 4, 0x7fb6b9060c50), fd_no=18<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 35, 4, 0x7fb6b9060cdc), fd_no=19<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 36, 4, 0x7fb6b9060d68), fd_no=20<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 37, 4, 0x7fb6b9060df4), fd_no=21<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 38, 4, 0x7fb6b9060e80), fd_no=22<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 39, 4, 0x7fb6b9060f0c), fd_no=23<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 40, 4, 0x7fb6b9060f98), fd_no=24<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 41, 4, 0x7fb6b9061024), fd_no=25<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 42, 4, 0x7fb6b90610b0), fd_no=26<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 43, 4, 0x7fb6b906113c), fd_no=27<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 44, 4, 0x7fb6b90611c8), fd_no=28<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 45, 4, 0x7fb6b9061254), fd_no=29<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 46, 4, 0x7fb6b90612e0), fd_no=30<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 47, 4, 0x7fb6b906136c), fd_no=31<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 48, 4, 0x7fb6b90613f8), fd_no=32<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 49, 4, 0x7fb6b9061484), fd_no=33<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 50, 4, 0x7fb6b9061510), fd_no=34<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 51, 4, 0x7fb6b906159c), fd_no=35<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 52, 4, 0x7fb6b9061628), fd_no=36<BR>
58(3749) DEBUG: app_lua [app_lua_api.c:333]: lua_sr_init_child(): Lua initialized!<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 53, 4, 0x7fb6b90616b4), fd_no=37<BR>
58(3749) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 52: htable<BR>
59(3750) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa286c0, 54, 4, 0x7fb6b9061740), fd_no=38<BR>
58(3749) DEBUG: htable [htable.c:237]: child_init(): rank is (52)<BR>
58(3749) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 52: uac<BR>
58(3749) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 52: dialog<BR>
59(3750) ERROR: <core> [io_wait.h:459]: io_watch_add(): epoll_ctl failed: Invalid argument [22]<BR>
59(3750) CRITICAL: <core> [tcp_main.c:4432]: tcp_main_loop(): failed to add process 38 unix socket to the fd list<BR>
58(3749) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 52: rtpengine<BR>
59(3750) CRITICAL: <core> [tcp_main.c:4523]: tcp_main_loop(): exiting...58(3749) DEBUG: rtpengine [rtpengine.c:572]: bind_force_send_ip(): force_send_ip_str not specified in .cfg file!<BR>
58(3749) INFO: rtpengine [rtpengine.c:2542]: rtpp_test(): rtp proxy <udp:6.6.6.6:22222> found, support for it enabled<BR>
58(3749) DEBUG: rtpengine [rtpengine.c:572]: bind_force_send_ip(): force_send_ip_str not specified in .cfg file!<BR>
56(3747) DEBUG: app_lua [app_lua_api.c:333]: lua_sr_init_child(): Lua initialized!<BR>
56(3747) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 50: htable<BR>
56(3747) DEBUG: htable [htable.c:237]: child_init(): rank is (50)<BR>
56(3747) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 50: uac<BR>
56(3747) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 50: dialog<BR>
56(3747) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 50: rtpengine<BR>
58(3749) INFO: rtpengine [rtpengine.c:2542]: rtpp_test(): rtp proxy <udp:7.7.7.7:22222> found, support for it enabled<BR>
57(3748) DEBUG: app_lua [app_lua_api.c:333]: lua_sr_init_child(): Lua initialized!<BR>
57(3748) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 51: htable<BR>
57(3748) DEBUG: htable [htable.c:237]: child_init(): rank is (51)<BR>
57(3748) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 51: uac<BR>
57(3748) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 51: dialog<BR>
57(3748) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 51: rtpengine<BR>
56(3747) DEBUG: rtpengine [rtpengine.c:572]: bind_force_send_ip(): force_send_ip_str not specified in .cfg file!<BR>
56(3747) INFO: rtpengine [rtpengine.c:2542]: rtpp_test(): rtp proxy <udp:6.6.6.6:22222> found, support for it enabled<BR>
56(3747) DEBUG: rtpengine [rtpengine.c:572]: bind_force_send_ip(): force_send_ip_str not specified in .cfg file!<BR>
58(3749) DEBUG: <core> [local_timer.c:61]: init_local_timer(): timer_list between 0xa6cb28 and 0xab0b28<BR>
58(3749) DEBUG: <core> [io_wait.h:376]: io_watch_add(): DBG: io_watch_add(0xa6c960, 80, 1, (nil)), fd_no=0<BR>
56(3747) INFO: rtpengine [rtpengine.c:2542]: rtpp_test(): rtp proxy <udp:7.7.7.7:22222> found, support for it enabled<BR>
 0(3691) ALERT: <core> [main.c:736]: handle_sigs(): child process 3750 exited normally, status=255<BR>
 0(3691) INFO: <core> [main.c:754]: handle_sigs(): terminating due to SIGCHLD<BR>
 0(3691) DEBUG: <core> [main.c:756]: handle_sigs(): terminating due to SIGCHLD<BR>
56(3747) INFO: <core> [main.c:809]: sig_usr(): signal 15 received<BR>
40(3731) INFO: <core> [main.c:809]: sig_usr(): signal 15 received<BR>
42(3733) INFO: <core> [main.c:809]: sig_usr(): signal 15 received<BR>
<BR>
best regards<BR>
david<BR>
<BR>
<BR>
El jue, 04-05-2017 a las 08:14 +0200, Daniel-Constantin Mierla escribió:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hello,<BR>
    <BR>
    if you start with debug=3, do you see other useful log messages before the errors, they may be printed as debug?<BR>
    <BR>
    Cheers,<BR>
    Daniel<BR>
    <BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    On 03.05.17 18:01, David Escartín Almudévar wrote:<BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE TYPE=CITE>
        hello all<BR>
        <BR>
        we have seen today something quite weird<BR>
        <BR>
        having this line in the kamailio.cfg<BR>
        (1) else if (status =~ "4" || status =~ "5" || status =~ "6") {<BR>
        <BR>
        causes the process not to start hacing this error<BR>
        <BR>
        May  3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: ERROR: <core> [io_wait.h:459]: io_watch_add(): epoll_ctl failed: Invalid argument [22] <BR>
        May  3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL: <core> [tcp_main.c:4432]: tcp_main_loop(): failed to add process 37 unix socket to the fd list <BR>
        May  3 10:28:14 xxxx /usr/local/kamailio/sbin/kamailio[2896]: CRITICAL: <core> [tcp_main.c:4523]: tcp_main_loop(): exiting...<BR>
        <BR>
        but placing <BR>
        (2) } else if (status =~ "^[456]") {<BR>
        <BR>
        instead, makes it work<BR>
        this happens with kamailio 4.4.1 and the platform is running on centos6.5<BR>
        <BR>
        on the other hand we have the same line (1) on an ubuntu 10.0.4 makes the kamailio also start properly<BR>
        <BR>
        could you know why this is happening?<BR>
        <BR>
        best regards<BR>
        david <BR>
        <BR>
<PRE>
_______________________________________________
Kamailio (SER) - Users Mailing List
<A HREF="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</A>
<A HREF="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE>
    </BLOCKQUOTE>
    <BR>
<PRE>
-- 
Daniel-Constantin Mierla
<A HREF="http://www.twitter.com/miconda">www.twitter.com/miconda</A> -- <A HREF="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</A>
Kamailio Advanced Training - May 22-24 (USA) - <A HREF="http://www.asipto.com">www.asipto.com</A>
Kamailio World Conference - May 8-10, 2017 - <A HREF="http://www.kamailioworld.com">www.kamailioworld.com</A>
_______________________________________________
Kamailio (SER) - Users Mailing List
<A HREF="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</A>
<A HREF="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>