Bug#950575: kamailio manual install fails die modules are not yet in path?¡
PICCORO McKAY Lenz
mckaygerhard at gmail.com
Mon Feb 3 19:01:57 GMT 2020
> Please run
> reportbug --template systemd
> reportbug --template kamailio
already done, i already provide my 5c so ..for next pieces of info
requested, i must to reinstall again all the image, as i described, if
i install alone kamailio starts, but if i installed with some others
modules does not start intil rest of packages are installed, this it's
my las mail due i'm also busy and i provide my 5c
> 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=64'
Environment='PKG_MEMORY=8'
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=0770
> 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:52:06 UTC; 2s 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:52:06 10-101-2-99 kamailio[21724]: udp: ip-10-101-2-99:5060
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: udp: localhost:5060
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: rr
[../outbound/api.h:54]: ob_load_api(): unable t...aded
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: rr
[rr_mod.c:174]: mod_init(): outbound module not...able
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: usrloc
[hslot.c:51]: ul_init_locks(): locks array ...1024
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffe...2992
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffe...4288
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffe...2992
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffe...4288
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21747]: INFO: ctl
[io_listener.c:214]: io_listen_loop(): io_list...fig)
Feb 03 18:52:06 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
Feb 03 18:25:58 10-101-2-99 systemd[1]: Starting Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server...
Feb 03 18:25:58 10-101-2-99 systemd[1]: kamailio.service: control
process exited, code=exited status=233
Feb 03 18:25:58 10-101-2-99 systemd[1]: Failed to start Kamailio
VenenuX SIP ServerKamailio (OpenSER) - the Open Source SIP Server.
Feb 03 18:25:58 10-101-2-99 systemd[1]: Unit kamailio.service entered
failed state.
Feb 03 18:25:59 10-101-2-99 systemd[1]: kamailio.service holdoff time
over, scheduling restart.
Feb 03 18:25:59 10-101-2-99 systemd[1]: Stopping Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server...
Feb 03 18:25:59 10-101-2-99 systemd[1]: Starting Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server...
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: INFO: <core>
[sctp_core.c:75]: sctp_core_check_support(): SCTP API not en
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: INFO: <core>
[tcp_main.c:4665]: init_tcp(): using epoll_lt as the io watc
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: loading modules under
config path: /usr/lib/x86_64-linux-gnu/kamailio/mod
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: Listening on
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: udp: 127.0.0.1:5060
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: udp: 10.101.2.99:5060
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: tcp: 127.0.0.1:5060
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: tcp: 10.101.2.99:5060
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: Aliases:
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: tcp: 10-101-2-99:5060
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: tcp: localhost:5060
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: udp: 10-101-2-99:5060
Feb 03 18:25:59 10-101-2-99 kamailio[21315]: udp: localhost:5060
Feb 03 18:25:59 10-101-2-99 /usr/sbin/kamailio[21328]: INFO: rr
[../outbound/api.h:54]: ob_load_api(): unable to impor
Feb 03 18:25:59 10-101-2-99 /usr/sbin/kamailio[21328]: INFO: rr
[rr_mod.c:174]: mod_init(): outbound module not availa
Feb 03 18:25:59 10-101-2-99 /usr/sbin/kamailio[21328]: INFO: usrloc
[hslot.c:51]: ul_init_locks(): locks array size 10
Feb 03 18:25:59 10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffer(): SO
Feb 03 18:25:59 10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffer(): SO
Feb 03 18:25:59 10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffer(): SO
Feb 03 18:25:59 10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffer(): SO
Feb 03 18:25:59 10-101-2-99 /usr/sbin/kamailio[21349]: INFO: ctl
[io_listener.c:214]: io_listen_loop(): io_listen_loop
Feb 03 18:25:59 10-101-2-99 systemd[1]: Started Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server.
Feb 03 18:25:59 10-101-2-99 systemd[1]: Started Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server.
Feb 03 18:27:30 10-101-2-99 systemd[1]: Stopping Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server...
Feb 03 18:27:30 10-101-2-99 /usr/sbin/kamailio[21328]: NOTICE: <core>
[main.c:696]: handle_sigs(): Thank you for flyin
Feb 03 18:27:30 10-101-2-99 /usr/sbin/kamailio[21330]: INFO: <core>
[main.c:823]: sig_usr(): signal 15 received
Feb 03 18:27:30 10-101-2-99 /usr/sbin/kamailio[21328]: INFO: <core>
[sctp_core.c:53]: sctp_core_destroy(): SCTP API no
Feb 03 18:27:30 10-101-2-99 systemd[1]: Stopped Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server.
Feb 03 18:52:06 10-101-2-99 systemd[1]: Starting Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server...
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: INFO: <core>
[sctp_core.c:75]: sctp_core_check_support(): SCTP API not en
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: INFO: <core>
[tcp_main.c:4665]: init_tcp(): using epoll_lt as the io watc
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: loading modules under
config path: /usr/lib/x86_64-linux-gnu/kamailio/mod
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: Listening on
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: udp: 127.0.0.1:5060
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: udp: 10.101.2.99:5060
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: tcp: 127.0.0.1:5060
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: tcp: 10.101.2.99:5060
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: Aliases:
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: tcp: 10-101-2-99:5060
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: tcp: localhost:5060
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: udp: 10-101-2-99:5060
Feb 03 18:52:06 10-101-2-99 kamailio[21724]: udp: localhost:5060
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: rr
[../outbound/api.h:54]: ob_load_api(): unable to impor
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: rr
[rr_mod.c:174]: mod_init(): outbound module not availa
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: usrloc
[hslot.c:51]: ul_init_locks(): locks array size 10
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffer(): SO
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffer(): SO
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:150]: probe_max_receive_buffer(): SO
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21726]: INFO: <core>
[udp_server.c:200]: probe_max_receive_buffer(): SO
Feb 03 18:52:06 10-101-2-99 /usr/sbin/kamailio[21747]: INFO: ctl
[io_listener.c:214]: io_listen_loop(): io_listen_loop
Feb 03 18:52:06 10-101-2-99 systemd[1]: Started Kamailio VenenuX SIP
ServerKamailio (OpenSER) - the Open Source SIP Server.
>
> on the affected system and attach the output to this bug report.
obviously was a virtual environment .. due in production totally
crashed and must be used devuan....
>
More information about the Pkg-voip-maintainers
mailing list