Bug#950575: kamailio manual install fails die modules are not yet in path?¡

PICCORO McKAY Lenz mckaygerhard at gmail.com
Mon Feb 3 19:14:20 GMT 2020


i tested in another vm instance too, AWS copied from the previous one,
but clean before install kamailio: here are the requested info in
clean environment:

El lun., 3 de feb. de 2020 a la(s) 14:39, Michael Biebl
(biebl at debian.org) escribió:
> systemctl cat kamailio.service
# /lib/systemd/system/kamailio.service
[Install]
WantedBy=multi-user.target

[Unit]
Description=Kamailio (OpenSER) - the Open Source SIP Server
Documentation=man:kamailio(8)
Wants=network-online.target
After=network-online.target

[Service]
Type=forking
User=kamailio
Group=kamailio
Environment='CFGFILE=/etc/kamailio/kamailio.cfg'
Environment='SHM_MEMORY=112'
Environment='PKG_MEMORY=18'
EnvironmentFile=-/etc/default/kamailio
EnvironmentFile=-/etc/default/kamailio.d/*
# PIDFile requires a full absolute path
PIDFile=/run/kamailio/kamailio.pid
# ExecStart requires a full absolute path
ExecStart=/usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f $CFGFILE
-m $SHM_MEMORY -M $PKG_MEMORY
Restart=on-failure
# /run/kamailio in tmpfs
RuntimeDirectory=kamailio
RuntimeDirectoryMode=0750


> systemctl status kamailio.service

● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
   Loaded: loaded (/lib/systemd/system/kamailio.service; enabled)
   Active: active (running) since Mon 2020-02-03 18:59:08 UTC; 10min ago
     Docs: man:kamailio(8)
  Process: 21724 ExecStart=/usr/sbin/kamailio -P
/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
(code=exited, status=0/SUCCESS)
 Main PID: 21726 (kamailio)
   CGroup: /system.slice/kamailio.service
           ├─21726 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21727 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21728 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21729 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21730 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21731 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21732 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21733 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21734 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21735 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21736 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21737 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21738 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21739 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21740 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21741 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21742 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21743 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21744 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21745 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21746 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21747 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21748 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21749 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21750 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21751 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21752 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21753 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21754 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           ├─21755 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12
           └─21756 /usr/sbin/kamailio -P /run/kamailio/kamailio.pid -f
/etc/kamailio/kamailio.cfg -m 112 -M 12

Feb 03 18:58:06 ip-10-101-2-99 kamailio[21724]: udp: ip-10-101-2-99:5060
Feb 03 18:58:06 ip-10-101-2-99 kamailio[21724]: udp: localhost:5060
Feb 03 18:58:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: rr
[../outbound/api.h:54]: ob_load_api(): unable t...aded
Feb 03 18:58:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: rr
[rr_mod.c:174]: mod_init(): outbound module not...able
Feb 03 18:58:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: usrloc
[hslot.c:51]: ul_init_locks(): locks array ...1024
Feb 03 18:58:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffe...2992
Feb 03 18:58:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffe...4288
Feb 03 18:58:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffe...2992
Feb 03 18:58:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffe...4288
Feb 03 18:58:06 ip-10-101-2-99 /usr/sbin/kamailio[21747]: INFO: ctl
[io_listener.c:214]: io_listen_loop(): io_list...fig)
Feb 03 18:58:06 ip-10-101-2-99 systemd[1]: Started Kamailio (OpenSER)
- the Open Source SIP Server.
Hint: Some lines were ellipsized, use -l to show in full.


> journalctl -b -u kamailio.service

-- Logs begin at Wed 2020-02-03 00:00:20 UTC, end at Mon 2020-02-03
19:22:11 UTC. --
Feb 03 18:26:58 ip-10-101-2-99 systemd[1]: Starting Kamailio (OpenSER)
- the Open Source SIP Server...
Feb 03 18:26:58 ip-10-101-2-99 systemd[1]: kamailio.service: control
process exited, code=exited status=233
Feb 03 18:26:58 ip-10-101-2-99 systemd[1]: Failed to start Kamailio
(OpenSER) - the Open Source SIP Server.
Feb 03 18:26:58 ip-10-101-2-99 systemd[1]: Unit kamailio.service
entered failed state.
Feb 03 18:26:59 ip-10-101-2-99 systemd[1]: kamailio.service holdoff
time over, scheduling restart.
Feb 03 18:26:59 ip-10-101-2-99 systemd[1]: Stopping Kamailio (OpenSER)
- the Open Source SIP Server...
Feb 03 18:26:59 ip-10-101-2-99 systemd[1]: Starting Kamailio (OpenSER)
- the Open Source SIP Server...
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: INFO: <core>
[sctp_core.c:75]: sctp_core_check_support(): SCTP API not en
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: INFO: <core>
[tcp_main.c:4665]: init_tcp(): using epoll_lt as the io watc
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: loading modules under
config path: /usr/lib/x86_64-linux-gnu/kamailio/mod
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: Listening on
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: udp: 127.0.0.1:5060
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: udp: 10.101.2.99:5060
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: tcp: 127.0.0.1:5060
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: tcp: 10.101.2.99:5060
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: Aliases:
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: tcp:
ip-10-101-2-99.us-east-2.compute.internal:5060
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: tcp: localhost:5060
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: udp:
ip-10-101-2-99.us-east-2.compute.internal:5060
Feb 03 18:26:59 ip-10-101-2-99 kamailio[21315]: udp: localhost:5060
Feb 03 18:26:59 ip-10-101-2-99 /usr/sbin/kamailio[21328]: INFO: rr
[../outbound/api.h:54]: ob_load_api(): unable to impor
Feb 03 18:26:59 ip-10-101-2-99 /usr/sbin/kamailio[21328]: INFO: rr
[rr_mod.c:174]: mod_init(): outbound module not availa
Feb 03 18:26:59 ip-10-101-2-99 /usr/sbin/kamailio[21328]: INFO: usrloc
[hslot.c:51]: ul_init_locks(): locks array size 10
Feb 03 18:26:59 ip-10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffer(): SO
Feb 03 18:26:59 ip-10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffer(): SO
Feb 03 18:26:59 ip-10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffer(): SO
Feb 03 18:26:59 ip-10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffer(): SO
Feb 03 18:26:59 ip-10-101-2-99 /usr/sbin/kamailio[21349]: INFO: ctl
[io_listener.c:214]: io_listen_loop(): io_listen_loop
Feb 03 18:26:59 ip-10-101-2-99 systemd[1]: Started Kamailio (OpenSER)
- the Open Source SIP Server.
Feb 03 18:26:59 ip-10-101-2-99 systemd[1]: Started Kamailio (OpenSER)
- the Open Source SIP Server.
Feb 03 18:28:30 ip-10-101-2-99 systemd[1]: Stopping Kamailio (OpenSER)
- the Open Source SIP Server...
Feb 03 18:28:30 ip-10-101-2-99 /usr/sbin/kamailio[21328]: NOTICE:
<core> [main.c:696]: handle_sigs(): Thank you for flyin
Feb 03 18:28:30 ip-10-101-2-99 /usr/sbin/kamailio[21330]: INFO: <core>
[main.c:823]: sig_usr(): signal 15 received
Feb 03 18:28:30 ip-10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[sctp_core.c:53]: sctp_core_destroy(): SCTP API no
Feb 03 18:28:30 ip-10-101-2-99 systemd[1]: Stopped Kamailio (OpenSER)
- the Open Source SIP Server.
Feb 03 18:57:06 ip-10-101-2-99 systemd[1]: Starting Kamailio (OpenSER)
- the Open Source SIP Server...
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: INFO: <core>
[sctp_core.c:75]: sctp_core_check_support(): SCTP API not en
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: INFO: <core>
[tcp_main.c:4665]: init_tcp(): using epoll_lt as the io watc
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: loading modules under
config path: /usr/lib/x86_64-linux-gnu/kamailio/mod
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: Listening on
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: udp: 127.0.0.1:5060
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: udp: 10.101.2.99:5060
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: tcp: 127.0.0.1:5060
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: tcp: 10.101.2.99:5060
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: Aliases:
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: tcp:
ip-10-101-2-99.us-east-2.compute.internal:5060
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: tcp: localhost:5060
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: udp:
ip-10-101-2-99.us-east-2.compute.internal:5060
Feb 03 18:57:06 ip-10-101-2-99 kamailio[21724]: udp: localhost:5060
Feb 03 18:57:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: rr
[../outbound/api.h:54]: ob_load_api(): unable to impor
Feb 03 18:57:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: rr
[rr_mod.c:174]: mod_init(): outbound module not availa
Feb 03 18:57:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: usrloc
[hslot.c:51]: ul_init_locks(): locks array size 10
Feb 03 18:57:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffer(): SO
Feb 03 18:57:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffer(): SO
Feb 03 18:57:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffer(): SO
Feb 03 18:57:06 ip-10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffer(): SO
Feb 03 18:57:06 ip-10-101-2-99 /usr/sbin/kamailio[21747]: INFO: ctl
[io_listener.c:214]: io_listen_loop(): io_listen_loop
Feb 03 18:57:06 ip-10-101-2-99 systemd[1]: Started Kamailio (OpenSER)
- the Open Source SIP Server.

>
> on the affected system and attach the output to this bug report.
>



More information about the Pkg-systemd-maintainers mailing list