Description

Troubleshooting

Reproduction

Debugging Data

(paste your debugging data here)

Log Messages

(paste your log messages here)

SIP Traffic

(paste your sip traffic here)

Possible Solutions

Additional Information

(paste your output here)
(paste your output here)

Hello,

Scenario:
step1: Helm install homer. homer goes well.
step2: helm delete homer.
step3: helm install homer.
kamailio restarts twice, then kamailio goes well.

But Kamailio prints below log, why kamailio restarts and report the ERR logs?

Kamailio container detected MySQL is running & bootstrapped
config file doesn't exist, may not connect to SMTP SERVER
0(19) INFO: [core/sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
0(19) WARNING: [core/socket_info.c:1314]: fix_hostname(): could not rev. resolve 0.0.0.0
config file ok, exiting...
loading modules under config path: //usr/local/lib64/kamailio/modules/
Listening on
udp: 0.0.0.0:9060
Aliases:

0(20) INFO: [core/sctp_core.c:75]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
0(20) WARNING: [core/socket_info.c:1314]: fix_hostname(): could not rev. resolve 0.0.0.0
0(20) WARNING: [core/socket_info.c:1314]: fix_hostname(): could not rev. resolve 0.0.0.0
0(20) INFO: [core/tcp_main.c:4671]: init_tcp(): using epoll_lt as the io watch method (auto detected)
loading modules under config path: //usr/local/lib64/kamailio/modules/
Listening on
udp: 0.0.0.0:9060
tcp: 0.0.0.0:39060
Aliases:

0(20) INFO: sipcapture [sipcapture.c:459]: parse_table_names(): INFO: table name:sip_capture
0(20) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
0(20) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 0(20) INFO: [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
0(20) INFO: [core/udp_server.c:203]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
4(24) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
4(24) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 3(23) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
4(24) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
3(23) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 2(22) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
2(22) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 2(22) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
2(22) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 2 rank: 2 desc: [udp receiver child=1 sock=0.0.0.0:9060])
1(21) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
1(21) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 2(22) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 2, pid 22, "udp receiver child=1 sock=0.0.0.0:9060"
1(21) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
2(22) CRITICAL: [main.c:1611]: main_loop(): Cannot fork
1(21) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 1 rank: 1 desc: [udp receiver child=0 sock=0.0.0.0:9060])
1(21) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 1, pid 21, "udp receiver child=0 sock=0.0.0.0:9060"
1(21) CRITICAL: [main.c:1611]: main_loop(): Cannot fork
4(24) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 4 rank: 4 desc: [udp receiver child=3 sock=0.0.0.0:9060])
3(23) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
4(24) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 4, pid 24, "udp receiver child=3 sock=0.0.0.0:9060"
3(23) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 3 rank: 3 desc: [udp receiver child=2 sock=0.0.0.0:9060])
7(27) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
7(27) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 5(25) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
7(27) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
7(27) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 7 rank: -1 desc: [timer])
7(27) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 7, pid 27, "timer"
7(27) CRITICAL: [main.c:1688]: main_loop(): cannot fork timer process
5(25) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 6(26) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
6(26) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 6(26) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
6(26) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 6 rank: -1 desc: [slow timer])
6(26) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 6, pid 26, "slow timer"
6(26) CRITICAL: [main.c:1672]: main_loop(): cannot fork "slow" timer process
5(25) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
5(25) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 5 rank: 5 desc: [udp receiver child=4 sock=0.0.0.0:9060])
5(25) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 5, pid 25, "udp receiver child=4 sock=0.0.0.0:9060"
5(25) CRITICAL: [main.c:1611]: main_loop(): Cannot fork
9(29) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
9(29) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 9(29) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
9(29) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 9 rank: -1 desc: [RTIMER EXEC child=0 timer=ta])
8(28) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
9(29) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 9, pid 29, "RTIMER EXEC child=0 timer=ta"
9(29) ERROR: rtimer [rtimer_mod.c:171]: child_init(): failed to start timer routine as process
9(29) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module rtimer (//usr/local/lib64/kamailio/modules/rtimer.so) (idx: 9 rank: 0 desc: [RTIMER EXEC child=0 timer=ta])
9(29) ERROR: [main.c:1706]: main_loop(): error in init_child
8(28) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 8(28) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
8(28) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 8 rank: -1 desc: [secondary timer])
8(28) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 8, pid 28, "secondary timer"
8(28) ERROR: [core/timer_proc.c:418]: sr_wtimer_start(): wtimer starting failed
8(28) CRITICAL: [main.c:1698]: main_loop(): Cannot start wtimer
3(23) ERROR: [core/pt.c:340]: fork_process(): init_child failed for process 3, pid 23, "udp receiver child=2 sock=0.0.0.0:9060"
4(24) CRITICAL: [main.c:1611]: main_loop(): Cannot fork
15(35) CRITICAL: [core/pass_fd.c:277]: receive_fd(): EOF on 6
15(35) CRITICAL: [core/pass_fd.c:277]: receive_fd(): EOF on 7
3(23) CRITICAL: [main.c:1611]: main_loop(): Cannot fork
11(31) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
12(32) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"
11(31) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool 0(20) ALERT: [main.c:740]: handle_sigs(): child process 21 exited normally, status=255
0(20) ALERT: [main.c:740]: handle_sigs(): child process 22 exited normally, status=255
12(32) ERROR: [db.c:318]: db_do_init2(): could not add connection to the pool11(31) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
0(20) ALERT: [main.c:740]: handle_sigs(): child process 26 exited normally, status=255
11(31) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 11 rank: 7 desc: [tcp receiver (generic) child=1])
0(20) INFO: [main.c:768]: handle_sigs(): terminating due to SIGCHLD
12(32) ERROR: sipcapture [sipcapture.c:1150]: child_init(): unable to connect to database [mysql://homer_user:homer_password@10.254.123.234:3306/homer_data] from capture_mode param.
11(31) ERROR: [core/pt.c:477]: fork_tcp_process(): init_child failed for process 11, pid 31, "tcp receiver (generic) child=1"
12(32) ERROR: [core/sr_module.c:925]: init_mod_child(): error while initializing module sipcapture (//usr/local/lib64/kamailio/modules/sipcapture.so) (idx: 12 rank: 8 desc: [tcp receiver (generic) child=2])
4(24) INFO: [main.c:823]: sig_usr(): signal 15 received
8(28) INFO: [main.c:823]: sig_usr(): signal 15 received
13(33) INFO: [main.c:823]: sig_usr(): signal 15 received
3(23) INFO: [main.c:823]: sig_usr(): signal 15 received
7(27) INFO: [main.c:823]: sig_usr(): signal 15 received
15(35) INFO: [main.c:823]: sig_usr(): signal 15 received
14(34) INFO: [main.c:823]: sig_usr(): signal 15 received
10(30) INFO: [main.c:823]: sig_usr(): signal 15 received
0(20) INFO: [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.