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