[SR-Users] Kamailio is not starting when it connects against remote mysql server

José Seabra joseseabra4 at gmail.com
Thu Jan 30 19:25:53 CET 2014


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140130/ad02b6bc/attachment-0001.html>


More information about the sr-users mailing list