I there,
I already found the root cause of this issue, the issue is on dns, as my dns server was down kamailio took time to does reverse dns.

Thank you.



2014-01-30 José Seabra <joseseabra4@gmail.com>
Hi there,

I'm having a strange behavior when i start kamailio,  it start processes but after few seconds all processes die,

<core> [main.c:1630]: main_loop(): main_loop: Cannot fork
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7354]: DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://xxxx:xxxx@10.0.30.15/kamailio
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: db_mysql [km_my_con.c:109]: db_mysql_new_connection(): driver error: Can't connect to MySQL server on '10.0.30.15' (4)
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: <core> [db.c:322]: db_do_init2(): could not add connection to the pool
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: uri_db [checks.c:249]: uridb_db_init(): unable to connect to the database
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: <core> [sr_module.c:896]: init_mod_child(): init_mod_child(): Error while initializing module uri_db (/usr/local/lib64/kamailio/modules/uri_db.so)
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: ERROR: <core> [pt.c:350]: fork_process(): ERROR: fork_process(): init_child failed for  process 5, pid 7335, "udp receiver child=4 sock=10.0.20.7:5060 (213.58.213.226:5060)"
Jan 30 18:08:54 vx00-lss01 /usr/local/sbin/kamailio[7335]: : <core> [main.c:1630]: main_loop(): main_loop: Cannot fork

anyone has idea why it is happening, it was working before and we didn't any changes
-- 
Cumprimentos
José Seabra



--
José Seabra
Research | Development

  

VoIP / Virtualization / Enterprise Systems 

www.itcenter.com.pt / store.itcenter.com.pt 


+351 256 370 985