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 List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.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