[SR-Users] start-up crash if wdir is set and WITH_AUTH is defined (Kamailio 4.2)
jack wang
antirazin at gmail.com
Thu Jul 2 09:08:24 CEST 2015
Hello,
If the 'wdir' (or 'workdir') is not set in kamctl.cfg or WITH_AUTH feature
is not defined,
kamailio can normally be started.
Actually , the purpose is thatI want to add the 'wdir' to set the path
coredump file...
And ther error logs like following: (modified for hiding private info)
./kamailio[3565]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module auth_db
(/xxx/kamailio/lib/kamailio/modules/auth_db.so)
./kamailio[3565]: ERROR: <core> [pt.c:341]: fork_process(): init_child
failed for process 2, pid 3565, "udp receiver child=0 sock=10.100.90.62:5060
(10.100.90.62:5060)"
./kamailio[3565]: CRITICAL: <core> [main.c:1621]: main_loop(): Cannot fork
./kamailio[3568]: ERROR: db_sqlite [dbase.c:67]:
db_sqlite_new_connection(): failed to open sqlite database 'tmp/SQLITE_DB'
./kamailio[3564]: ERROR: db_sqlite [dbase.c:67]:
db_sqlite_new_connection(): failed to open sqlite database 'tmp/SQLITE_DB'
./kamailio[3568]: ERROR: <core> [db.c:322]: db_do_init2(): could not add
connection to the pool
./kamailio[3568]: ERROR: auth_db [authdb_mod.c:172]: child_init(): unable
to connect to the database
./kamailio[3568]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module auth_db
(/xxx/kamailio/lib/kamailio/modules/auth_db.so)
./kamailio[3568]: ERROR: <core> [mi.c:128]: init_mi_child(): failed to init
proc rpc for sip handling
./kamailio[3564]: ERROR: <core> [db.c:322]: db_do_init2(): could not add
connection to the pool
./kamailio[3564]: ERROR: auth_db [authdb_mod.c:172]: child_init(): unable
to connect to the database
./kamailio[3568]: CRITICAL: mi_fifo [mi_fifo.c:233]: fifo_process(): Failed
to init the mi process
./kamailio[3564]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module auth_db
(/xxx/kamailio/lib/kamailio/modules/auth_db.so)
./kamailio[3564]: ERROR: <core> [pt.c:341]: fork_process(): init_child
failed for process 1, pid 3564, "udp receiver child=0
sock=[2010:0:0:0:0:0:0:1]:5060"
./kamailio[3567]: CRITICAL: <core> [main.c:1693]: main_loop(): cannot fork
timer process
./kamailio[3569]: ERROR: db_sqlite [dbase.c:67]:
db_sqlite_new_connection(): failed to open sqlite database 'tmp/SQLITE_DB'
./kamailio[3569]: ERROR: <core> [db.c:322]: db_do_init2(): could not add
connection to the pool
./kamailio[3564]: CRITICAL: <core> [main.c:1621]: main_loop(): Cannot fork
./kamailio[3569]: ERROR: auth_db [authdb_mod.c:172]: child_init(): unable
to connect to the database
./kamailio[3569]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module auth_db
(/xxx/kamailio/lib/kamailio/modules/auth_db.so)
./kamailio[3569]: ERROR: <core> [pt.c:341]: fork_process(): init_child
failed for process 6, pid 3569, "ctl handler"
./kamailio[3569]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module ctl (/xxx/kamailio/lib/kamailio/modules/ctl.so)
./kamailio[3569]: ERROR: <core> [main.c:1707]: main_loop(): error in
init_child
./kamailio[3563]: ALERT: <core> [main.c:781]: handle_sigs(): child process
3565 exited normally, status=255
./kamailio[3563]: ALERT: <core> [main.c:781]: handle_sigs(): child process
3566 exited normally, status=255
./kamailio[3572]: ERROR: db_sqlite [dbase.c:67]:
db_sqlite_new_connection(): failed to open sqlite database 'tmp/SQLITE_DB'
./kamailio[3572]: ERROR: <core> [db.c:322]: db_do_init2(): could not add
connection to the pool
./kamailio[3572]: ERROR: auth_db [authdb_mod.c:172]: child_init(): unable
to connect to the database
./kamailio[3572]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module auth_db
(/xxx/kamailio/lib/kamailio/modules/auth_db.so)
./kamailio[3572]: ERROR: <core> [pt.c:341]: fork_process(): init_child
failed for process 9, pid 3572, "RTIMER SEC EXEC"
./kamailio[3572]: ERROR: rtimer [rtimer_mod.c:164]: child_init(): failed to
start timer routine as process
./kamailio[3572]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module rtimer
(/xxx/kamailio/lib/kamailio/modules/rtimer.so)
./kamailio[3572]: ERROR: <core> [main.c:1707]: main_loop(): error in
init_child
./kamailio[3573]: ERROR: db_sqlite [dbase.c:67]:
db_sqlite_new_connection(): failed to open sqlite database 'tmp/SQLITE_DB'
./kamailio[3573]: ERROR: <core> [db.c:322]: db_do_init2(): could not add
connection to the pool
./kamailio[3573]: ERROR: auth_db [authdb_mod.c:172]: child_init(): unable
to connect to the database
./kamailio[3573]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module auth_db
(/xxx/kamailio/lib/kamailio/modules/auth_db.so)
./kamailio[3571]: ERROR: db_sqlite [dbase.c:67]:
db_sqlite_new_connection(): failed to open sqlite database 'tmp/SQLITE_DB'
./kamailio[3573]: ERROR: <core> [pt.c:479]: fork_tcp_process(): init_child
failed for process 10, pid 3573, "tcp receiver (generic) child=0"
./kamailio[3571]: ERROR: <core> [db.c:322]: db_do_init2(): could not add
connection to the pool
./kamailio[3573]: ERROR: <core> [tcp_main.c:4869]: tcp_init_children():
fork failed: No such file or directory
./kamailio[3571]: ERROR: auth_db [authdb_mod.c:172]: child_init(): unable
to connect to the database
./kamailio[3571]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module auth_db
(/xxx/kamailio/lib/kamailio/modules/auth_db.so)
./kamailio[3571]: ERROR: <core> [pt.c:341]: fork_process(): init_child
failed for process 8, pid 3571, "Dialog Clean Timer"
./kamailio[3571]: ERROR: dialog [dialog.c:742]: child_init(): failed to
start clean timer routine as process
./kamailio[3571]: ERROR: <core> [sr_module.c:923]: init_mod_child(): Error
while initializing module dialog
(/xxx/kamailio/lib/kamailio/modules/dialog.so)
./kamailio[3571]: ERROR: <core> [main.c:1707]: main_loop(): error in
init_child
Thanks in advance. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150702/bd3b7c7e/attachment.html>
More information about the sr-users
mailing list