<div dir="ltr"><span style="font-size:12.8px">59(3750) CRITICAL: <core> [tcp_main.c:4432]: tcp_main_loop(): failed to add process 38 unix socket to the fd list</span><br style="font-size:12.8px"><span style="font-size:12.8px">58(3749) DEBUG: <core> [sr_module.c:920]: init_mod_child(): rank 52: rtpengine</span><br style="font-size:12.8px"><span style="font-size:12.8px">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!</span><br></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=8844057f-3af0-4eaa-bbd5-7573ed85702c"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div>
<br><div class="gmail_quote">On Thu, May 4, 2017 at 12:29 PM, David Escartín Almudévar <span dir="ltr"><<a href="mailto:descartin@bts.io" target="_blank">descartin@bts.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>


  
  

<div 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:<a href="http://6.6.6.6:22222" target="_blank">6.6.6.6:22222</a>> 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:<a href="http://7.7.7.7:22222" target="_blank">7.7.7.7:22222</a>> 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:<a href="http://6.6.6.6:22222" target="_blank">6.6.6.6:22222</a>> 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:<a href="http://7.7.7.7:22222" target="_blank">7.7.7.7:22222</a>> 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<span class="HOEnZb"><font color="#888888"><br>
david</font></span><div><div class="h5"><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/<wbr>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/<wbr>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/<wbr>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>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
    </blockquote>
    <br>
<pre>-- 
Daniel-Constantin Mierla
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a>
______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
</blockquote>
<br>
</div></div></div>

<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>