Hello,
I started from scratch by getting this Docker image:
Then running:
docker pull kamailio/kamailio:5.4.4-trusty
Then starting an container with the command:
docker run -d --name mykamailio -h mykamailio -p "5060-5061:5060-5061" -p "5060:5060/udp" -p "5064-5065:5064-5065" -p "5064-5065:5064-5065/udp" -p "7000-7001:7000-7001" -p "7000:7000/udp" -e "KAMAILIO_LOG_LEVEL=info"
-e "KAMAILIO_ENABLE_ROLES=websockets,message,presence_query,presence_sync,presence_notify_sync,registrar_sync" -e "RABBITMQ_HOSTS=rabbitmq.local" --cap-add IPC_LOCK --cap-add SYS_NICE --cap-add SYS_RESOURCE --cap-add NET_RAW kamailio/kamailio:5.4.4-trusty
I get into container using cli and ran:
Kamtcl start
Then container stopped with this log:
Listening on
udp: 127.0.0.1:5060
udp: 172.17.0.4:5060
tcp: 127.0.0.1:5060
tcp: 172.17.0.4:5060
Aliases:
tcp: mykamailio:5060
tcp: localhost:5060
0(1) INFO: <core> [core/tcp_main.c:4984]: init_tcp(): using epoll_lt as the io watch method (auto detected)
udp: mykamailio:5060
udp: localhost:5060
0(1) INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded
0(1) INFO: rr [rr_mod.c:185]: mod_init(): outbound module not available
0(1) INFO: <core> [main.c:2854]: main(): processes (at least): 33 - shm size: 67108864 - pkg size: 8388608
0(1) INFO: <core> [core/udp_server.c:154]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
0(1) INFO: <core> [core/udp_server.c:206]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
0(1) INFO: <core> [core/udp_server.c:154]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
0(1) INFO: <core> [core/udp_server.c:206]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
21(28) INFO: jsonrpcs [jsonrpcs_sock.c:443]: jsonrpc_dgram_process(): a new child 0/28
23(30) INFO: ctl [io_listener.c:214]: io_listen_loop(): io_listen_loop: using epoll_lt io watch method (config)
0(1) ALERT: <core> [main.c:780]: handle_sigs(): child process 77 exited normally, status=255
0(1) INFO: <core> [main.c:808]: handle_sigs(): terminating due to SIGCHLD
2(9) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
1(8) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
4(11) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
5(12) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
7(14) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
10(17) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
8(15) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
9(16) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
3(10) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
11(18) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
14(21) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
17(24) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
15(22) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
12(19) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
18(25) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
6(13) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
13(20) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
16(23) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
23(30) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
22(29) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
19(26) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
21(28) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
20(27) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
32(39) CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 13
32(39) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
25(32) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
27(34) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
29(36) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
30(37) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
26(33) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
28(35) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
31(38) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
24(31) INFO: <core> [main.c:863]: sig_usr(): signal 15 received
0(1) ERROR: ctl [ctl.c:390]: mod_destroy(): ERROR: ctl: could not delete unix socket /var/run/kamailio//kamailio_ctl: No such file or directory (2)
0(1) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Any idea about what could be the problem?
Thank you in advance