dOpensource / dsiprouter

UI Interface for implementing Kamailio to provide PBX Hosting and SIP Trunking Services
https://dsiprouter.org
Apache License 2.0
196 stars 105 forks source link

Cant install DSIPRouter #274

Closed Graviton144 closed 4 years ago

Graviton144 commented 4 years ago

Hello,

I have tried to install this software on vultr with Centos7 and Debian 9, also on VirtualBox with Debian 9.6, in all cases the install fails with "The Kamailio mpath has been updated to: /usr/lib/x86_64-linux-gnu/kamailio/modules/ Job for kamailio.service failed because the control process exited with error code. See "systemctl status kamailio.service" and "journalctl -xe" for details. Kamailio install failed"

I am always using the one line install .... apt-get update -y && apt-get install -y git && cd /opt && git clone https://github.com/dOpensource/dsiprouter.git && cd dsiprouter && ./dsiprouter.sh install -all

I don't know what I am doing wrong and why is it so hard to get started and get this installed onto different distros and environments. Any help would be greatly appreciated.

RichSosa28 commented 4 years ago

Hello, We are currently working on CentOS 7 support, but could you send me your kamailio.log and kamailio.cfg files for the debian 9 installation so I can take a look at them.

Graviton144 commented 4 years ago

@RichSosa28 kamailio.zip

Here are the files requested for the vultr install, its a test server Debian 9. Debian is fine for me not really care about Centos 7. I have tried all options as I want to test this DSIPRouter as it looks like a very cool project.

RichSosa28 commented 4 years ago

I think the issue is that Vultr doesn't automatically install "pkg-config" like digital ocean. Try installing it by doing:

apt-get install -y pkg-config

Let me know if that works.

Graviton144 commented 4 years ago

I think the issue is that Vultr doesn't automatically install "pkg-config" like digital ocean. Try installing it by doing:

apt-get install -y pkg-config

Let me know if that works.

I have tried this and still get errors and does not install, these are the packages I am installing before installing :--

apt-get update apt-get install -y pkg-config apt-get install -y git pkg-config make gcc apt-get install -y build-essential

Graviton144 commented 4 years ago

I think the issue is that Vultr doesn't automatically install "pkg-config" like digital ocean. Try installing it by doing: apt-get install -y pkg-config Let me know if that works.

I have tried this and still get errors and does not install, these are the packages I am installing before installing :--

apt-get update apt-get install -y pkg-config apt-get install -y git pkg-config make gcc apt-get install -y build-essential

This is the install process, I am no linux guru so I don't know what to look for to fix this...

Linux vultr.guest 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Oct 19 06:11:11 2020 from 110.175.73.98 root@vultr:~# cd / root@vultr:/# ls bin etc initrd.img.old lost+found opt run sys var boot home lib media proc sbin tmp vmlinuz dev initrd.img lib64 mnt root srv usr vmlinuz.old root@vultr:/# cd opt root@vultr:/opt# ls vultr root@vultr:/opt# apt-get update Get:1 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB] Get:2 https://packages.sury.org/php stretch InRelease [6760 B] Get:3 http://security.debian.org/debian-security stretch/updates/main Sources [2 63 kB] Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 Pack ages [604 kB] Get:5 http://files.freeswitch.org/repo/deb/debian-release stretch InRelease [393 9 B] Ign:6 http://http.us.debian.org/debian stretch InRelease Get:7 http://files.freeswitch.org/repo/deb/debian-release stretch/main amd64 Pac kages [71.4 kB] Hit:8 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease Get:9 http://http.us.debian.org/debian stretch-updates InRelease [93.6 kB] Hit:10 http://http.us.debian.org/debian stretch Release Fetched 1096 kB in 2s (471 kB/s) Reading package lists... Done root@vultr:/opt# apt-get install -y pkg-config Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libdpkg-perl libfile-fcntllock-perl Suggested packages: debian-keyring gcc | c-compiler binutils The following NEW packages will be installed: libdpkg-perl libfile-fcntllock-perl pkg-config 0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded. Need to get 1386 kB of archives. After this operation, 2649 kB of additional disk space will be used. Get:1 http://http.us.debian.org/debian stretch/main amd64 libdpkg-perl all 1.18. 25 [1287 kB] Get:2 http://http.us.debian.org/debian stretch/main amd64 libfile-fcntllock-perl amd64 0.22-3+b2 [35.3 kB] Get:3 http://http.us.debian.org/debian stretch/main amd64 pkg-config amd64 0.29- 4+b1 [63.3 kB] Fetched 1386 kB in 3s (433 kB/s) Selecting previously unselected package libdpkg-perl. (Reading database ... 47031 files and directories currently installed.) Preparing to unpack .../libdpkg-perl_1.18.25_all.deb ... Unpacking libdpkg-perl (1.18.25) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../libfile-fcntllock-perl_0.22-3+b2_amd64.deb ... Unpacking libfile-fcntllock-perl (0.22-3+b2) ... Selecting previously unselected package pkg-config. Preparing to unpack .../pkg-config_0.29-4+b1_amd64.deb ... Unpacking pkg-config (0.29-4+b1) ... Setting up libdpkg-perl (1.18.25) ... Setting up libfile-fcntllock-perl (0.22-3+b2) ... Setting up pkg-config (0.29-4+b1) ... Processing triggers for man-db (2.7.6.1-2) ... root@vultr:/opt# apt-get install -y git pkg-config make gcc Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u7). pkg-config is already the newest version (0.29-4+b1). The following additional packages will be installed: binutils cpp cpp-6 gcc-6 libasan3 libatomic1 libcc1-0 libcilkrts5 libgcc-6-dev libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libquadmath0 libtsan0 libubsan0 Suggested packages: binutils-doc cpp-doc gcc-6-locales gcc-multilib autoconf automake libtool flex bison gcc-doc gcc-6-multilib gcc-6-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg make-doc The following NEW packages will be installed: binutils cpp cpp-6 gcc gcc-6 libasan3 libatomic1 libcc1-0 libcilkrts5 libgcc-6-dev libisl15 libitm1 liblsan0 libmpc3 libmpfr4 libmpx2 libquadmath0 libtsan0 libubsan0 make 0 upgraded, 20 newly installed, 0 to remove and 4 not upgraded. Need to get 22.1 MB of archives. After this operation, 93.7 MB of additional disk space will be used. Get:1 http://http.us.debian.org/debian stretch/main amd64 binutils amd64 2.28-5 [3770 kB] Get:2 http://http.us.debian.org/debian stretch/main amd64 libisl15 amd64 0.18-1 [564 kB] Get:3 http://http.us.debian.org/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1 [556 kB] Get:4 http://http.us.debian.org/debian stretch/main amd64 libmpc3 amd64 1.0.3-1+ b2 [39.9 kB] Get:5 http://http.us.debian.org/debian stretch/main amd64 cpp-6 amd64 6.3.0-18+d eb9u1 [6584 kB] Get:6 http://http.us.debian.org/debian stretch/main amd64 cpp amd64 4:6.3.0-4 [1 8.7 kB] Get:7 http://http.us.debian.org/debian stretch/main amd64 libcc1-0 amd64 6.3.0-1 8+deb9u1 [30.6 kB] Get:8 http://http.us.debian.org/debian stretch/main amd64 libitm1 amd64 6.3.0-18 +deb9u1 [27.3 kB] Get:9 http://http.us.debian.org/debian stretch/main amd64 libatomic1 amd64 6.3.0 -18+deb9u1 [8966 B] Get:10 http://http.us.debian.org/debian stretch/main amd64 libasan3 amd64 6.3.0- 18+deb9u1 [311 kB] Get:11 http://http.us.debian.org/debian stretch/main amd64 liblsan0 amd64 6.3.0- 18+deb9u1 [115 kB] Get:12 http://http.us.debian.org/debian stretch/main amd64 libtsan0 amd64 6.3.0- 18+deb9u1 [257 kB] Get:13 http://http.us.debian.org/debian stretch/main amd64 libubsan0 amd64 6.3.0 -18+deb9u1 [107 kB] Get:14 http://http.us.debian.org/debian stretch/main amd64 libcilkrts5 amd64 6.3 .0-18+deb9u1 [40.5 kB] Get:15 http://http.us.debian.org/debian stretch/main amd64 libmpx2 amd64 6.3.0-1 8+deb9u1 [11.2 kB] Get:16 http://http.us.debian.org/debian stretch/main amd64 libquadmath0 amd64 6. 3.0-18+deb9u1 [131 kB] Get:17 http://http.us.debian.org/debian stretch/main amd64 libgcc-6-dev amd64 6. 3.0-18+deb9u1 [2296 kB] Get:18 http://http.us.debian.org/debian stretch/main amd64 gcc-6 amd64 6.3.0-18+ deb9u1 [6900 kB] Get:19 http://http.us.debian.org/debian stretch/main amd64 gcc amd64 4:6.3.0-4 [ 5196 B] Get:20 http://http.us.debian.org/debian stretch/main amd64 make amd64 4.1-9.1 [3 02 kB] Fetched 22.1 MB in 6s (3672 kB/s) Selecting previously unselected package binutils. (Reading database ... 47216 files and directories currently installed.) Preparing to unpack .../00-binutils_2.28-5_amd64.deb ... Unpacking binutils (2.28-5) ... Selecting previously unselected package libisl15:amd64. Preparing to unpack .../01-libisl15_0.18-1_amd64.deb ... Unpacking libisl15:amd64 (0.18-1) ... Selecting previously unselected package libmpfr4:amd64. Preparing to unpack .../02-libmpfr4_3.1.5-1_amd64.deb ... Unpacking libmpfr4:amd64 (3.1.5-1) ... Selecting previously unselected package libmpc3:amd64. Preparing to unpack .../03-libmpc3_1.0.3-1+b2_amd64.deb ... Unpacking libmpc3:amd64 (1.0.3-1+b2) ... Selecting previously unselected package cpp-6. Preparing to unpack .../04-cpp-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking cpp-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package cpp. Preparing to unpack .../05-cpp_4%3a6.3.0-4_amd64.deb ... Unpacking cpp (4:6.3.0-4) ... Selecting previously unselected package libcc1-0:amd64. Preparing to unpack .../06-libcc1-0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libcc1-0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libitm1:amd64. Preparing to unpack .../07-libitm1_6.3.0-18+deb9u1_amd64.deb ... Unpacking libitm1:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libatomic1:amd64. Preparing to unpack .../08-libatomic1_6.3.0-18+deb9u1_amd64.deb ... Unpacking libatomic1:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libasan3:amd64. Preparing to unpack .../09-libasan3_6.3.0-18+deb9u1_amd64.deb ... Unpacking libasan3:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package liblsan0:amd64. Preparing to unpack .../10-liblsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking liblsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libtsan0:amd64. Preparing to unpack .../11-libtsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libtsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libubsan0:amd64. Preparing to unpack .../12-libubsan0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libubsan0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libcilkrts5:amd64. Preparing to unpack .../13-libcilkrts5_6.3.0-18+deb9u1_amd64.deb ... Unpacking libcilkrts5:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libmpx2:amd64. Preparing to unpack .../14-libmpx2_6.3.0-18+deb9u1_amd64.deb ... Unpacking libmpx2:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libquadmath0:amd64. Preparing to unpack .../15-libquadmath0_6.3.0-18+deb9u1_amd64.deb ... Unpacking libquadmath0:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package libgcc-6-dev:amd64. Preparing to unpack .../16-libgcc-6-dev_6.3.0-18+deb9u1_amd64.deb ... Unpacking libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package gcc-6. Preparing to unpack .../17-gcc-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking gcc-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package gcc. Preparing to unpack .../18-gcc_4%3a6.3.0-4_amd64.deb ... Unpacking gcc (4:6.3.0-4) ... Selecting previously unselected package make. Preparing to unpack .../19-make_4.1-9.1_amd64.deb ... Unpacking make (4.1-9.1) ... Setting up libquadmath0:amd64 (6.3.0-18+deb9u1) ... Setting up libatomic1:amd64 (6.3.0-18+deb9u1) ... Setting up libcc1-0:amd64 (6.3.0-18+deb9u1) ... Setting up make (4.1-9.1) ... Setting up libasan3:amd64 (6.3.0-18+deb9u1) ... Setting up libcilkrts5:amd64 (6.3.0-18+deb9u1) ... Setting up libubsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libtsan0:amd64 (6.3.0-18+deb9u1) ... Setting up liblsan0:amd64 (6.3.0-18+deb9u1) ... Setting up libmpx2:amd64 (6.3.0-18+deb9u1) ... Setting up libisl15:amd64 (0.18-1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up libmpfr4:amd64 (3.1.5-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libmpc3:amd64 (1.0.3-1+b2) ... Setting up binutils (2.28-5) ... Setting up cpp-6 (6.3.0-18+deb9u1) ... Setting up libitm1:amd64 (6.3.0-18+deb9u1) ... Setting up cpp (4:6.3.0-4) ... Setting up libgcc-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up gcc-6 (6.3.0-18+deb9u1) ... Setting up gcc (4:6.3.0-4) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... root@vultr:/opt# apt-get install -y build-essential Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: dpkg-dev fakeroot g++ g++-6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot libstdc++-6-dev Suggested packages: debian-keyring g++-multilib g++-6-multilib gcc-6-doc libstdc++6-6-dbg libstdc++-6-doc The following NEW packages will be installed: build-essential dpkg-dev fakeroot g++ g++-6 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot libstdc++-6-dev 0 upgraded, 10 newly installed, 0 to remove and 4 not upgraded. Need to get 10.3 MB of archives. After this operation, 42.3 MB of additional disk space will be used. Get:1 http://http.us.debian.org/debian stretch/main amd64 libstdc++-6-dev amd64 6.3.0-18+deb9u1 [1420 kB] Get:2 http://http.us.debian.org/debian stretch/main amd64 g++-6 amd64 6.3.0-18+d eb9u1 [7094 kB] Get:3 http://http.us.debian.org/debian stretch/main amd64 g++ amd64 4:6.3.0-4 [1 546 B] Get:4 http://http.us.debian.org/debian stretch/main amd64 dpkg-dev all 1.18.25 [ 1595 kB] Get:5 http://http.us.debian.org/debian stretch/main amd64 build-essential amd64 12.3 [7346 B] Get:6 http://http.us.debian.org/debian stretch/main amd64 libfakeroot amd64 1.21 -3.1 [45.7 kB] Get:7 http://http.us.debian.org/debian stretch/main amd64 fakeroot amd64 1.21-3. 1 [85.6 kB] Get:8 http://http.us.debian.org/debian stretch/main amd64 libalgorithm-diff-perl all 1.19.03-1 [48.7 kB] Get:9 http://http.us.debian.org/debian stretch/main amd64 libalgorithm-diff-xs-p erl amd64 0.04-4+b2 [11.6 kB] Get:10 http://http.us.debian.org/debian stretch/main amd64 libalgorithm-merge-pe rl all 0.08-3 [12.7 kB] Fetched 10.3 MB in 5s (1957 kB/s) Selecting previously unselected package libstdc++-6-dev:amd64. (Reading database ... 47879 files and directories currently installed.) Preparing to unpack .../0-libstdc++-6-dev_6.3.0-18+deb9u1_amd64.deb ... Unpacking libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ... Selecting previously unselected package g++-6. Preparing to unpack .../1-g++-6_6.3.0-18+deb9u1_amd64.deb ... Unpacking g++-6 (6.3.0-18+deb9u1) ... Selecting previously unselected package g++. Preparing to unpack .../2-g++_4%3a6.3.0-4_amd64.deb ... Unpacking g++ (4:6.3.0-4) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../3-dpkg-dev_1.18.25_all.deb ... Unpacking dpkg-dev (1.18.25) ... Selecting previously unselected package build-essential. Preparing to unpack .../4-build-essential_12.3_amd64.deb ... Unpacking build-essential (12.3) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../5-libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../6-fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-1_all.deb ... Unpacking libalgorithm-diff-perl (1.19.03-1) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-4+b2_amd64.deb ... Unpacking libalgorithm-diff-xs-perl (0.04-4+b2) ... Selecting previously unselected package libalgorithm-merge-perl. Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ... Unpacking libalgorithm-merge-perl (0.08-3) ... Setting up libstdc++-6-dev:amd64 (6.3.0-18+deb9u1) ... Setting up g++-6 (6.3.0-18+deb9u1) ... Setting up dpkg-dev (1.18.25) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Setting up libalgorithm-diff-perl (1.19.03-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up g++ (4:6.3.0-4) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mo de Setting up build-essential (12.3) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot ( fakeroot) in auto mode Setting up libalgorithm-merge-perl (0.08-3) ... Setting up libalgorithm-diff-xs-perl (0.04-4+b2) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... root@vultr:/opt# apt-get -y install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. root@vultr:/opt# reboot Using username "root". Authenticating with public key "rsa-key-20201004" Linux vultr.guest 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Tue Oct 20 07:11:28 2020 from 110.175.73.98 root@vultr:~# apt-get install -y git Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u7). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. root@vultr:~# apt-get update -y && apt-get install -y git && cd /opt && git clon e https://github.com/dOpensource/dsiprouter.git && cd dsiprouter && ./dsiprouter .sh install -all Hit:1 https://packages.sury.org/php stretch InRelease Ign:2 http://http.us.debian.org/debian stretch InRelease Hit:3 http://files.freeswitch.org/repo/deb/debian-release stretch InRelease Hit:4 http://security.debian.org/debian-security stretch/updates InRelease Hit:5 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease Hit:6 http://http.us.debian.org/debian stretch-updates InRelease Hit:7 http://http.us.debian.org/debian stretch Release Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u7). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Cloning into 'dsiprouter'... remote: Enumerating objects: 310, done. remote: Counting objects: 100% (310/310), done. remote: Compressing objects: 100% (243/243), done. remote: Total 10445 (delta 171), reused 115 (delta 56), pack-reused 10135 Receiving objects: 100% (10445/10445), 11.34 MiB | 4.08 MiB/s, done. Resolving deltas: 100% (7184/7184), done. Installing one-time script requirements One-time script requirements installed Configuring system repositories System repositories configured successfully creating dsip-init service Created symlink /etc/systemd/system/multi-user.target.wants/dsip-init.service → /etc/systemd/system/dsip-init.service. Attempting to install SipSak Selecting previously unselected package m4. (Reading database ... 49184 files and directories currently installed.) Preparing to unpack .../00-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../01-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../02-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../03-automake_1%3a1.15-6_all.deb ... Unpacking automake (1:1.15-6) ... Selecting previously unselected package autopoint. Preparing to unpack .../04-autopoint_0.19.8.1-2+deb9u1_all.deb ... Unpacking autopoint (0.19.8.1-2+deb9u1) ... Selecting previously unselected package libsubunit0:amd64. Preparing to unpack .../05-libsubunit0_1.1.0-3_amd64.deb ... Unpacking libsubunit0:amd64 (1.1.0-3) ... Selecting previously unselected package libsubunit-dev. Preparing to unpack .../06-libsubunit-dev_1.1.0-3_amd64.deb ... Unpacking libsubunit-dev (1.1.0-3) ... Selecting previously unselected package check:amd64. Preparing to unpack .../07-check_0.10.0-3+b3_amd64.deb ... Unpacking check:amd64 (0.10.0-3+b3) ... Selecting previously unselected package libtool. Preparing to unpack .../08-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../09-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../10-libarchive-zip-perl_1.59-1+deb9u1_all.deb ... Unpacking libarchive-zip-perl (1.59-1+deb9u1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../11-libfile-stripnondeterminism-perl_0.034-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.034-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../12-libtimedate-perl_2.3000-2+deb9u1_all.deb ... Unpacking libtimedate-perl (2.3000-2+deb9u1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../13-dh-strip-nondeterminism_0.034-1_all.deb ... Unpacking dh-strip-nondeterminism (0.034-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../14-libcroco3_0.6.11-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.11-3) ... Selecting previously unselected package gettext. Preparing to unpack .../15-gettext_0.19.8.1-2+deb9u1_amd64.deb ... Unpacking gettext (0.19.8.1-2+deb9u1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../16-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../17-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../18-debhelper_10.2.5_all.deb ... Unpacking debhelper (10.2.5) ... Selecting previously unselected package dirmngr. Preparing to unpack .../19-dirmngr_2.1.18-8~deb9u4_amd64.deb ... Unpacking dirmngr (2.1.18-8~deb9u4) ... Selecting previously unselected package libltdl-dev:amd64. Preparing to unpack .../20-libltdl-dev_2.4.6-2_amd64.deb ... Unpacking libltdl-dev:amd64 (2.4.6-2) ... Selecting previously unselected package libsys-hostname-long-perl. Preparing to unpack .../21-libsys-hostname-long-perl_1.5-1_all.deb ... Unpacking libsys-hostname-long-perl (1.5-1) ... Selecting previously unselected package libmail-sendmail-perl. Preparing to unpack .../22-libmail-sendmail-perl_0.79.16-2_all.deb ... Unpacking libmail-sendmail-perl (0.79.16-2) ... Setting up libarchive-zip-perl (1.59-1+deb9u1) ... Setting up libltdl-dev:amd64 (2.4.6-2) ... Setting up libtimedate-perl (2.3000-2+deb9u1) ... Setting up libsubunit0:amd64 (1.1.0-3) ... Setting up m4 (1.4.18-1) ... Setting up libcroco3:amd64 (0.6.11-3) ... Setting up libsys-hostname-long-perl (1.5-1) ... Setting up libsubunit-dev (1.1.0-3) ... Setting up libmail-sendmail-perl (0.79.16-2) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up autotools-dev (20161112.1) ... Setting up check:amd64 (0.10.0-3+b3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up dirmngr (2.1.18-8~deb9u4) ... Setting up autopoint (0.19.8.1-2+deb9u1) ... Setting up libfile-stripnondeterminism-perl (0.034-1) ... Setting up libtool (2.4.6-2) ... Setting up gettext (0.19.8.1-2+deb9u1) ... Setting up autoconf (2.69-10) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15-6) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake ( automake) in auto mode Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (14) ... Setting up debhelper (10.2.5) ... Setting up dh-strip-nondeterminism (0.034-1) ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 295k 100 295k 0 0 233k 0 0:00:01 0:00:01 --:--:-- 233k --> Working on App::cpanminus Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.g z ... OK Configuring App-cpanminus-1.7044 ... OK Building and testing App-cpanminus-1.7044 ... OK Successfully installed App-cpanminus-1.7044 1 distribution installed --> Working on URI::Escape Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/URI-1.76.tar.gz ... OK Configuring URI-1.76 ... OK ==> Found dependencies: Test::Needs --> Working on Test::Needs Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Test-Needs-0.002006.tar.gz .. . OK Configuring Test-Needs-0.002006 ... OK Building and testing Test-Needs-0.002006 ... OK Successfully installed Test-Needs-0.002006 Building and testing URI-1.76 ... OK Successfully installed URI-1.76 2 distributions installed Cloning into '/usr/local/src/sipsak'... remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (9/9), done. remote: Total 2483 (delta 0), reused 0 (delta 0), pack-reused 2474 Receiving objects: 100% (2483/2483), 807.22 KiB | 340.00 KiB/s, done. Resolving deltas: 100% (1502/1502), done. configure.ac:12: installing './compile' configure.ac:23: installing './config.guess' configure.ac:23: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './INSTALL' Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' Makefile.am:27: warning: variable 'FAKE_TRANSPORT_SOURCES' is defined but no pro gram or Makefile.am:27: library has 'FAKE_TRANSPORT' as canonical name (possible typo) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc accepts -fstack-protector... yes checking whether to use distcc... not requested checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for netinet/ip.h... yes checking for netinet/udp.h... yes checking for netinet/ip_icmp.h... yes checking cygwin/icmp.h usability... no checking cygwin/icmp.h presence... no checking for cygwin/icmp.h... no checking raw socket support... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set ,struct timeval checking for getchar... yes checking for gethostbyname... yes checking for gethostname... yes checking for getopt... yes checking for getpid... yes checking for gettimeofday... yes checking for memset... yes checking for ntohs... yes checking for regcomp... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strcmp... yes checking for strstr... yes checking for strtol... yes checking for uname... yes checking for calloc... yes checking for getdomainname... yes checking for getopt_long... yes checking for inet_ntop... yes checking for strncasecmp... yes checking for strcasestr... yes checking for syslog... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CHECK... yes checking for GNUTLS... no checking openssl/md5.h usability... no checking openssl/md5.h presence... no checking for openssl/md5.h... no checking openssl/sha.h usability... no checking openssl/sha.h presence... no checking for openssl/sha.h... no checking for GNUTLS319... no checking for CARES... no checking ruli.h usability... no checking ruli.h presence... no checking for ruli.h... no checking oldstyle numeric... not requested checking disable TLS... not requested checking enable debug messages... not requested checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands /bin/mkdir -p '/usr/local/bin' /usr/bin/install -c sipsak '/usr/local/bin' /bin/mkdir -p '/usr/local/share/man/man1' /usr/bin/install -c -m 644 sipsak.1 '/usr/local/share/man/man1' SipSak was installed Attempting to install DNSmasq Selecting previously unselected package dns-root-data. (Reading database ... 50571 files and directories currently installed.) Preparing to unpack .../dns-root-data_2019031302~deb9u1_all.deb ... Unpacking dns-root-data (2019031302~deb9u1) ... Selecting previously unselected package dnsmasq-base. Preparing to unpack .../dnsmasq-base_2.76-5+deb9u2_amd64.deb ... Unpacking dnsmasq-base (2.76-5+deb9u2) ... Selecting previously unselected package dnsmasq. Preparing to unpack .../dnsmasq_2.76-5+deb9u2_all.deb ... Unpacking dnsmasq (2.76-5+deb9u2) ... Setting up dns-root-data (2019031302~deb9u1) ... Processing triggers for systemd (232-25+deb9u12) ... Setting up dnsmasq-base (2.76-5+deb9u2) ... Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for dbus (1.10.32-0+deb9u1) ... Setting up dnsmasq (2.76-5+deb9u2) ... Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /l ib/systemd/system/dnsmasq.service. Processing triggers for systemd (232-25+deb9u12) ... no crontab for root Synchronizing state of dnsmasq.service with SysV service script with /lib/system d/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable dnsmasq DNSmasq was installed Attempting to install Kamailio... E: Unable to correct problems, you have held broken packages. --2020-10-20 07:31:41-- http://deb.kamailio.org/kamailiodebkey.gpg Resolving deb.kamailio.org (deb.kamailio.org)... 52.213.73.177 Connecting to deb.kamailio.org (deb.kamailio.org)|52.213.73.177|:80... connected . HTTP request sent, awaiting response... 200 OK Length: 3133 (3.1K) [application/octet-stream] Saving to: 'STDOUT'

2020-10-20 07:31:42 (465 MB/s) - written to stdout [3133/3133]

OK Preconfiguring packages ... Selecting previously unselected package mariadb-common. (Reading database ... 50624 files and directories currently installed.) Preparing to unpack .../00-mariadb-common_10.1.47-0+deb9u1_all.deb ... Unpacking mariadb-common (10.1.47-0+deb9u1) ... Selecting previously unselected package galera-3. Preparing to unpack .../01-galera-3_25.3.19-2_amd64.deb ... Unpacking galera-3 (25.3.19-2) ... Selecting previously unselected package libdbi-perl. Preparing to unpack .../02-libdbi-perl_1.636-1+deb9u1_amd64.deb ... Unpacking libdbi-perl (1.636-1+deb9u1) ... Selecting previously unselected package libaio1:amd64. Preparing to unpack .../03-libaio1_0.3.110-3_amd64.deb ... Unpacking libaio1:amd64 (0.3.110-3) ... Selecting previously unselected package libreadline5:amd64. Preparing to unpack .../04-libreadline5_5.2+dfsg-3+b1_amd64.deb ... Unpacking libreadline5:amd64 (5.2+dfsg-3+b1) ... Selecting previously unselected package mariadb-client-core-10.1. Preparing to unpack .../05-mariadb-client-core-10.1_10.1.47-0+deb9u1_amd64.deb . .. Unpacking mariadb-client-core-10.1 (10.1.47-0+deb9u1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../06-libconfig-inifiles-perl_2.94-1_all.deb ... Unpacking libconfig-inifiles-perl (2.94-1) ... Selecting previously unselected package libjemalloc1. Preparing to unpack .../07-libjemalloc1_3.6.0-9.1_amd64.deb ... Unpacking libjemalloc1 (3.6.0-9.1) ... Selecting previously unselected package mariadb-client-10.1. Preparing to unpack .../08-mariadb-client-10.1_10.1.47-0+deb9u1_amd64.deb ... Unpacking mariadb-client-10.1 (10.1.47-0+deb9u1) ... Selecting previously unselected package mariadb-server-core-10.1. Preparing to unpack .../09-mariadb-server-core-10.1_10.1.47-0+deb9u1_amd64.deb . .. Unpacking mariadb-server-core-10.1 (10.1.47-0+deb9u1) ... Selecting previously unselected package socat. Preparing to unpack .../10-socat_1.7.3.1-2+deb9u1_amd64.deb ... Unpacking socat (1.7.3.1-2+deb9u1) ... Setting up mariadb-common (10.1.47-0+deb9u1) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf ( my.cnf) in auto mode Selecting previously unselected package mariadb-server-10.1. (Reading database ... 51008 files and directories currently installed.) Preparing to unpack .../00-mariadb-server-10.1_10.1.47-0+deb9u1_amd64.deb ... Unpacking mariadb-server-10.1 (10.1.47-0+deb9u1) ... Selecting previously unselected package default-mysql-server. Preparing to unpack .../01-default-mysql-server_1.0.2_all.deb ... Unpacking default-mysql-server (1.0.2) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../02-libhtml-tagset-perl_3.20-3_all.deb ... Unpacking libhtml-tagset-perl (3.20-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../03-liburi-perl_1.71-1_all.deb ... Unpacking liburi-perl (1.71-1) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../04-libhtml-parser-perl_3.72-3_amd64.deb ... Unpacking libhtml-parser-perl (3.72-3) ... Selecting previously unselected package libcgi-pm-perl. Preparing to unpack .../05-libcgi-pm-perl_4.35-1_all.deb ... Unpacking libcgi-pm-perl (4.35-1) ... Selecting previously unselected package libfcgi-perl. Preparing to unpack .../06-libfcgi-perl_0.78-2_amd64.deb ... Unpacking libfcgi-perl (0.78-2) ... Selecting previously unselected package libcgi-fast-perl. Preparing to unpack .../07-libcgi-fast-perl_1%3a2.12-1_all.deb ... Unpacking libcgi-fast-perl (1:2.12-1) ... Selecting previously unselected package libdbd-mysql-perl. Preparing to unpack .../08-libdbd-mysql-perl_4.041-2_amd64.deb ... Unpacking libdbd-mysql-perl (4.041-2) ... Selecting previously unselected package libencode-locale-perl. Preparing to unpack .../09-libencode-locale-perl_1.05-1_all.deb ... Unpacking libencode-locale-perl (1.05-1) ... Selecting previously unselected package libhtml-template-perl. Preparing to unpack .../10-libhtml-template-perl_2.95-2_all.deb ... Unpacking libhtml-template-perl (2.95-2) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../11-libhttp-date-perl_6.02-1_all.deb ... Unpacking libhttp-date-perl (6.02-1) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../12-libio-html-perl_1.001-1_all.deb ... Unpacking libio-html-perl (1.001-1) ... Selecting previously unselected package liblwp-mediatypes-perl. Preparing to unpack .../13-liblwp-mediatypes-perl_6.02-1_all.deb ... Unpacking liblwp-mediatypes-perl (6.02-1) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../14-libhttp-message-perl_6.11-1_all.deb ... Unpacking libhttp-message-perl (6.11-1) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../15-libterm-readkey-perl_2.37-1_amd64.deb ... Unpacking libterm-readkey-perl (2.37-1) ... Setting up libhtml-tagset-perl (3.20-3) ... Setting up libhttp-date-perl (6.02-1) ... Setting up libconfig-inifiles-perl (2.94-1) ... Setting up libencode-locale-perl (1.05-1) ... Setting up libjemalloc1 (3.6.0-9.1) ... Setting up socat (1.7.3.1-2+deb9u1) ... Setting up libio-html-perl (1.001-1) ... Setting up libterm-readkey-perl (2.37-1) ... Setting up liblwp-mediatypes-perl (6.02-1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up libaio1:amd64 (0.3.110-3) ... Setting up galera-3 (25.3.19-2) ... Setting up liburi-perl (1.71-1) ... Processing triggers for systemd (232-25+deb9u12) ... Setting up libhtml-parser-perl (3.72-3) ... Setting up libcgi-pm-perl (4.35-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libhttp-message-perl (6.11-1) ... Setting up libreadline5:amd64 (5.2+dfsg-3+b1) ... Setting up libfcgi-perl (0.78-2) ... Setting up libdbi-perl (1.636-1+deb9u1) ... Setting up mariadb-server-core-10.1 (10.1.47-0+deb9u1) ... Setting up libhtml-template-perl (2.95-2) ... Setting up mariadb-client-core-10.1 (10.1.47-0+deb9u1) ... Setting up libcgi-fast-perl (1:2.12-1) ... Setting up libdbd-mysql-perl (4.041-2) ... Setting up mariadb-client-10.1 (10.1.47-0+deb9u1) ... Setting up mariadb-server-10.1 (10.1.47-0+deb9u1) ... Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb. service. Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb .service. Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /l ib/systemd/system/mariadb.service. Setting up default-mysql-server (1.0.2) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for systemd (232-25+deb9u12) ... Extracting templates from packages: 100% Selecting previously unselected package ebtables. (Reading database ... 51402 files and directories currently installed.) Preparing to unpack .../00-ebtables_2.0.10.4-3.5+b1_amd64.deb ... Unpacking ebtables (2.0.10.4-3.5+b1) ... Selecting previously unselected package libgirepository-1.0-1:amd64. Preparing to unpack .../01-libgirepository-1.0-1_1.50.0-1+b1_amd64.deb ... Unpacking libgirepository-1.0-1:amd64 (1.50.0-1+b1) ... Selecting previously unselected package gir1.2-glib-2.0:amd64. Preparing to unpack .../02-gir1.2-glib-2.0_1.50.0-1+b1_amd64.deb ... Unpacking gir1.2-glib-2.0:amd64 (1.50.0-1+b1) ... Selecting previously unselected package libpolkit-gobject-1-0:amd64. Preparing to unpack .../03-libpolkit-gobject-1-0_0.105-18+deb9u1_amd64.deb ... Unpacking libpolkit-gobject-1-0:amd64 (0.105-18+deb9u1) ... Selecting previously unselected package libpolkit-agent-1-0:amd64. Preparing to unpack .../04-libpolkit-agent-1-0_0.105-18+deb9u1_amd64.deb ... Unpacking libpolkit-agent-1-0:amd64 (0.105-18+deb9u1) ... Selecting previously unselected package libpolkit-backend-1-0:amd64. Preparing to unpack .../05-libpolkit-backend-1-0_0.105-18+deb9u1_amd64.deb ... Unpacking libpolkit-backend-1-0:amd64 (0.105-18+deb9u1) ... Selecting previously unselected package policykit-1. Preparing to unpack .../06-policykit-1_0.105-18+deb9u1_amd64.deb ... Unit polkit.service does not exist, proceeding anyway. Created symlink /run/systemd/system/polkit.service → /dev/null. Unpacking policykit-1 (0.105-18+deb9u1) ... Selecting previously unselected package libdbus-glib-1-2:amd64. Preparing to unpack .../07-libdbus-glib-1-2_0.108-2_amd64.deb ... Unpacking libdbus-glib-1-2:amd64 (0.108-2) ... Selecting previously unselected package python3-dbus. Preparing to unpack .../08-python3-dbus_1.2.4-1+b1_amd64.deb ... Unpacking python3-dbus (1.2.4-1+b1) ... Selecting previously unselected package python3-gi. Preparing to unpack .../09-python3-gi_3.22.0-2_amd64.deb ... Unpacking python3-gi (3.22.0-2) ... Selecting previously unselected package python3-decorator. Preparing to unpack .../10-python3-decorator_4.0.11-1_all.deb ... Unpacking python3-decorator (4.0.11-1) ... Selecting previously unselected package python3-selinux. Preparing to unpack .../11-python3-selinux_2.6-3+b3_amd64.deb ... Unpacking python3-selinux (2.6-3+b3) ... Selecting previously unselected package python3-slip. Preparing to unpack .../12-python3-slip_0.6.1-3_all.deb ... Unpacking python3-slip (0.6.1-3) ... Selecting previously unselected package python3-slip-dbus. Preparing to unpack .../13-python3-slip-dbus_0.6.1-3_all.deb ... Unpacking python3-slip-dbus (0.6.1-3) ... Selecting previously unselected package firewalld. Preparing to unpack .../14-firewalld_0.4.4.2-1_all.deb ... Unpacking firewalld (0.4.4.2-1) ... Selecting previously unselected package kamailio. Preparing to unpack .../15-kamailio_5.3.6+bpo9_amd64.deb ... Unpacking kamailio (5.3.6+bpo9) ... Selecting previously unselected package libev4. Preparing to unpack .../16-libev4_1%3a4.22-1+b1_amd64.deb ... Unpacking libev4 (1:4.22-1+b1) ... Selecting previously unselected package libjansson4:amd64. Preparing to unpack .../17-libjansson4_2.9-1_amd64.deb ... Unpacking libjansson4:amd64 (2.9-1) ... Selecting previously unselected package kamailio-extra-modules:amd64. Preparing to unpack .../18-kamailio-extra-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-extra-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package kamailio-mysql-modules:amd64. Preparing to unpack .../19-kamailio-mysql-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-mysql-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package kamailio-presence-modules:amd64. Preparing to unpack .../20-kamailio-presence-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-presence-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package kamailio-tls-modules:amd64. Preparing to unpack .../21-kamailio-tls-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-tls-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package kamailio-websocket-modules:amd64. Preparing to unpack .../22-kamailio-websocket-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-websocket-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package python3-cffi-backend. Preparing to unpack .../23-python3-cffi-backend_1.9.1-2_amd64.deb ... Unpacking python3-cffi-backend (1.9.1-2) ... Selecting previously unselected package python3-idna. Preparing to unpack .../24-python3-idna_2.2-1_all.deb ... Unpacking python3-idna (2.2-1) ... Selecting previously unselected package python3-pyasn1. Preparing to unpack .../25-python3-pyasn1_0.1.9-2_all.deb ... Unpacking python3-pyasn1 (0.1.9-2) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../26-python3-setuptools_33.1.1-1_all.deb ... Unpacking python3-setuptools (33.1.1-1) ... Selecting previously unselected package python3-cryptography. Preparing to unpack .../27-python3-cryptography_1.7.1-3+deb9u2_amd64.deb ... Unpacking python3-cryptography (1.7.1-3+deb9u2) ... Selecting previously unselected package python3-openssl. Preparing to unpack .../28-python3-openssl_16.2.0-1_all.deb ... Unpacking python3-openssl (16.2.0-1) ... Selecting previously unselected package python3-josepy. Preparing to unpack .../29-python3-josepy_1.1.0-2~deb9u1_all.deb ... Unpacking python3-josepy (1.1.0-2~deb9u1) ... Selecting previously unselected package python3-pbr. Preparing to unpack .../30-python3-pbr_1.10.0-1_all.deb ... Unpacking python3-pbr (1.10.0-1) ... Selecting previously unselected package python3-mock. Preparing to unpack .../31-python3-mock_2.0.0-3_all.deb ... Unpacking python3-mock (2.0.0-3) ... Selecting previously unselected package python3-requests-toolbelt. Preparing to unpack .../32-python3-requests-toolbelt_0.7.0-1_all.deb ... Unpacking python3-requests-toolbelt (0.7.0-1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../33-python3-tz_2016.7-0.3_all.deb ... Unpacking python3-tz (2016.7-0.3) ... Selecting previously unselected package python3-rfc3339. Preparing to unpack .../34-python3-rfc3339_1.0-4_all.deb ... Unpacking python3-rfc3339 (1.0-4) ... Selecting previously unselected package python3-acme. Preparing to unpack .../35-python3-acme_0.28.0-1~deb9u2_all.deb ... Unpacking python3-acme (0.28.0-1~deb9u2) ... Selecting previously unselected package python3-configargparse. Preparing to unpack .../36-python3-configargparse_0.11.0-1_all.deb ... Unpacking python3-configargparse (0.11.0-1) ... Selecting previously unselected package python3-configobj. Preparing to unpack .../37-python3-configobj_5.0.6-2_all.deb ... Unpacking python3-configobj (5.0.6-2) ... Selecting previously unselected package python3-parsedatetime. Preparing to unpack .../38-python3-parsedatetime_2.1-3+deb9u1_all.deb ... Unpacking python3-parsedatetime (2.1-3+deb9u1) ... Selecting previously unselected package python3-zope.hookable. Preparing to unpack .../39-python3-zope.hookable_4.0.4-4+b2_amd64.deb ... Unpacking python3-zope.hookable (4.0.4-4+b2) ... Selecting previously unselected package python3-zope.interface. Preparing to unpack .../40-python3-zope.interface_4.3.2-1_amd64.deb ... Unpacking python3-zope.interface (4.3.2-1) ... Selecting previously unselected package python3-zope.event. Preparing to unpack .../41-python3-zope.event_4.2.0-1_all.deb ... Unpacking python3-zope.event (4.2.0-1) ... Selecting previously unselected package python3-zope.component. Preparing to unpack .../42-python3-zope.component_4.3.0-1_all.deb ... Unpacking python3-zope.component (4.3.0-1) ... Selecting previously unselected package python3-certbot. Preparing to unpack .../43-python3-certbot_0.28.0-1~deb9u2_all.deb ... Unpacking python3-certbot (0.28.0-1~deb9u2) ... Selecting previously unselected package certbot. Preparing to unpack .../44-certbot_0.28.0-1~deb9u2_all.deb ... Unpacking certbot (0.28.0-1~deb9u2) ... Selecting previously unselected package libipset3:amd64. Preparing to unpack .../45-libipset3_6.30-2_amd64.deb ... Unpacking libipset3:amd64 (6.30-2) ... Selecting previously unselected package ipset. Preparing to unpack .../46-ipset_6.30-2_amd64.deb ... Unpacking ipset (6.30-2) ... Setting up python3-requests-toolbelt (0.7.0-1) ... Setting up python3-pbr (1.10.0-1) ... update-alternatives: using /usr/bin/python3-pbr to provide /usr/bin/pbr (pbr) in auto mode Setting up libev4 (1:4.22-1+b1) ... Setting up kamailio (5.3.6+bpo9) ... Created symlink /etc/systemd/system/multi-user.target.wants/kamailio.service → / lib/systemd/system/kamailio.service. Setting up python3-selinux (2.6-3+b3) ... Setting up python3-cffi-backend (1.9.1-2) ... Setting up python3-mock (2.0.0-3) ... Setting up libdbus-glib-1-2:amd64 (0.108-2) ... Setting up python3-zope.event (4.2.0-1) ... Setting up kamailio-mysql-modules:amd64 (5.3.6+bpo9) ... Setting up python3-idna (2.2-1) ... Setting up libjansson4:amd64 (2.9-1) ... Setting up python3-zope.interface (4.3.2-1) ... Setting up libipset3:amd64 (6.30-2) ... Setting up python3-slip (0.6.1-3) ... Setting up libgirepository-1.0-1:amd64 (1.50.0-1+b1) ... Setting up kamailio-websocket-modules:amd64 (5.3.6+bpo9) ... Setting up python3-configargparse (0.11.0-1) ... Setting up python3-zope.hookable (4.0.4-4+b2) ... Setting up python3-pyasn1 (0.1.9-2) ... Setting up gir1.2-glib-2.0:amd64 (1.50.0-1+b1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up ipset (6.30-2) ... Processing triggers for systemd (232-25+deb9u12) ... Setting up ebtables (2.0.10.4-3.5+b1) ... Created symlink /etc/systemd/system/multi-user.target.wants/ebtables.service → / lib/systemd/system/ebtables.service. update-rc.d: warning: start and stop actions are no longer supported; falling ba ck to defaults Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for dbus (1.10.32-0+deb9u1) ... Setting up python3-configobj (5.0.6-2) ... Setting up python3-setuptools (33.1.1-1) ... Setting up python3-decorator (4.0.11-1) ... Setting up python3-tz (2016.7-0.3) ... Setting up kamailio-presence-modules:amd64 (5.3.6+bpo9) ... Setting up libpolkit-gobject-1-0:amd64 (0.105-18+deb9u1) ... Setting up python3-parsedatetime (2.1-3+deb9u1) ... Setting up python3-cryptography (1.7.1-3+deb9u2) ... Setting up kamailio-extra-modules:amd64 (5.3.6+bpo9) ... Setting up kamailio-tls-modules:amd64 (5.3.6+bpo9) ... Setting up python3-dbus (1.2.4-1+b1) ... Setting up python3-rfc3339 (1.0-4) ... Setting up libpolkit-agent-1-0:amd64 (0.105-18+deb9u1) ... Setting up python3-zope.component (4.3.0-1) ... Setting up python3-gi (3.22.0-2) ... Setting up libpolkit-backend-1-0:amd64 (0.105-18+deb9u1) ... Setting up python3-slip-dbus (0.6.1-3) ... Setting up python3-openssl (16.2.0-1) ... Setting up python3-josepy (1.1.0-2~deb9u1) ... Setting up python3-acme (0.28.0-1~deb9u2) ... Setting up python3-certbot (0.28.0-1~deb9u2) ... Setting up policykit-1 (0.105-18+deb9u1) ... Removed /run/systemd/system/polkit.service. polkit.service is a disabled or a static unit not running, not starting it. Setting up firewalld (0.4.4.2-1) ... Created symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service → /lib/systemd/system/firewalld.service. Created symlink /etc/systemd/system/multi-user.target.wants/firewalld.service → /lib/systemd/system/firewalld.service. Setting up certbot (0.28.0-1~deb9u2) ... Created symlink /etc/systemd/system/timers.target.wants/certbot.timer → /lib/sys temd/system/certbot.timer. Processing triggers for systemd (232-25+deb9u12) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for dbus (1.10.32-0+deb9u1) ... Synchronizing state of mysql.service with SysV service script with /lib/systemd/ systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable mysql Failed to enable unit: Refusing to operate on linked unit file mysql.service Synchronizing state of kamailio.service with SysV service script with /lib/syste md/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable kamailio -e \E[37;33mINFO: creating database kamailio ... -e \E[37;33mINFO: granting privileges to database kamailio ... -e \E[37;33mINFO: creating standard tables into kamailio ... -e \E[37;33mINFO: Core Kamailio tables succesfully created. -e \E[37;33mINFO: creating presence tables into kamailio ... -e \E[37;33mINFO: Presence tables succesfully created. -e \E[37;33mINFO: creating extra tables into kamailio ... -e \E[37;33mINFO: Extra tables succesfully created. -e \E[37;33mINFO: creating uid tables into kamailio ... -e \E[37;33mINFO: UID tables succesfully created. Synchronizing state of firewalld.service with SysV service script with /lib/syst emd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable firewalld success success success success success success success ../../Makefile.defs:41: ../../config.mak: No such file or directory make -wC ../.. cfg-defs make[1]: Entering directory '/tmp/kamailio/src' target architecture , host architecture making config... make[1]: Leaving directory '/tmp/kamailio/src' CC (gcc) [M dsiprouter.so] mod_funcs.o mod_funcs.c:6:25: fatal error: openssl/pem.h: No such file or directory

include <openssl/pem.h>

                     ^

compilation terminated. ../../Makefile.rules:100: recipe for target 'mod_funcs.o' failed make: *** [mod_funcs.o] Error 1 kamailio install failed root@vultr:/opt/dsiprouter#

qmex-mp commented 4 years ago

Hi, looks like missing openssl header files, try installing libssl-dev via apt: apt install libssl-dev

Graviton144 commented 4 years ago

Hi, looks like missing openssl header files, try installing libssl-dev via apt: apt install libssl-dev

OK I have reinstalled the test vultr server so its fresh install, then I have updated the following ...

apt-get update apt-get install -y pkg-config apt-get install -y git pkg-config make gcc apt-get install -y build-essential apt install libssl-dev

Then follows the install and kamailio install fail... see the following

root@vultr:~# apt-get update -y && apt-get install -y git && cd /opt && git clone https://github.com/dOpensource/dsiprouter.git && cd dsiprouter && ./dsiprouter.sh install -all Hit:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://http.us.debian.org/debian stretch InRelease Hit:3 http://http.us.debian.org/debian stretch-updates InRelease Hit:4 http://http.us.debian.org/debian stretch Release Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u7). 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Cloning into 'dsiprouter'... remote: Enumerating objects: 310, done. remote: Counting objects: 100% (310/310), done. remote: Compressing objects: 100% (243/243), done. remote: Total 10445 (delta 171), reused 115 (delta 56), pack-reused 10135 Receiving objects: 100% (10445/10445), 11.34 MiB | 5.90 MiB/s, done. Resolving deltas: 100% (7184/7184), done. Installing one-time script requirements One-time script requirements installed Configuring system repositories System repositories configured successfully creating dsip-init service Created symlink /etc/systemd/system/multi-user.target.wants/dsip-init.service → /etc/systemd/system/dsip-init.service. Attempting to install SipSak Selecting previously unselected package m4. (Reading database ... 42869 files and directories currently installed.) Preparing to unpack .../00-m4_1.4.18-1_amd64.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../01-autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../02-autotools-dev_20161112.1_all.deb ... Unpacking autotools-dev (20161112.1) ... Selecting previously unselected package automake. Preparing to unpack .../03-automake_1%3a1.15-6_all.deb ... Unpacking automake (1:1.15-6) ... Selecting previously unselected package autopoint. Preparing to unpack .../04-autopoint_0.19.8.1-2+deb9u1_all.deb ... Unpacking autopoint (0.19.8.1-2+deb9u1) ... Selecting previously unselected package libsubunit0:amd64. Preparing to unpack .../05-libsubunit0_1.1.0-3_amd64.deb ... Unpacking libsubunit0:amd64 (1.1.0-3) ... Selecting previously unselected package libsubunit-dev. Preparing to unpack .../06-libsubunit-dev_1.1.0-3_amd64.deb ... Unpacking libsubunit-dev (1.1.0-3) ... Selecting previously unselected package check:amd64. Preparing to unpack .../07-check_0.10.0-3+b3_amd64.deb ... Unpacking check:amd64 (0.10.0-3+b3) ... Selecting previously unselected package libtool. Preparing to unpack .../08-libtool_2.4.6-2_all.deb ... Unpacking libtool (2.4.6-2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../09-dh-autoreconf_14_all.deb ... Unpacking dh-autoreconf (14) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../10-libarchive-zip-perl_1.59-1+deb9u1_all.deb ... Unpacking libarchive-zip-perl (1.59-1+deb9u1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../11-libfile-stripnondeterminism-perl_0.034-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.034-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../12-libtimedate-perl_2.3000-2+deb9u1_all.deb ... Unpacking libtimedate-perl (2.3000-2+deb9u1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../13-dh-strip-nondeterminism_0.034-1_all.deb ... Unpacking dh-strip-nondeterminism (0.034-1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../14-libcroco3_0.6.11-3_amd64.deb ... Unpacking libcroco3:amd64 (0.6.11-3) ... Selecting previously unselected package gettext. Preparing to unpack .../15-gettext_0.19.8.1-2+deb9u1_amd64.deb ... Unpacking gettext (0.19.8.1-2+deb9u1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../16-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../17-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../18-debhelper_10.2.5_all.deb ... Unpacking debhelper (10.2.5) ... Selecting previously unselected package dirmngr. Preparing to unpack .../19-dirmngr_2.1.18-8~deb9u4_amd64.deb ... Unpacking dirmngr (2.1.18-8~deb9u4) ... Selecting previously unselected package libltdl7:amd64. Preparing to unpack .../20-libltdl7_2.4.6-2_amd64.deb ... Unpacking libltdl7:amd64 (2.4.6-2) ... Selecting previously unselected package libltdl-dev:amd64. Preparing to unpack .../21-libltdl-dev_2.4.6-2_amd64.deb ... Unpacking libltdl-dev:amd64 (2.4.6-2) ... Selecting previously unselected package libsys-hostname-long-perl. Preparing to unpack .../22-libsys-hostname-long-perl_1.5-1_all.deb ... Unpacking libsys-hostname-long-perl (1.5-1) ... Selecting previously unselected package libmail-sendmail-perl. Preparing to unpack .../23-libmail-sendmail-perl_0.79.16-2_all.deb ... Unpacking libmail-sendmail-perl (0.79.16-2) ... Setting up libarchive-zip-perl (1.59-1+deb9u1) ... Setting up libtimedate-perl (2.3000-2+deb9u1) ... Setting up libsubunit0:amd64 (1.1.0-3) ... Setting up m4 (1.4.18-1) ... Setting up libcroco3:amd64 (0.6.11-3) ... Setting up libsys-hostname-long-perl (1.5-1) ... Setting up libsubunit-dev (1.1.0-3) ... Setting up libmail-sendmail-perl (0.79.16-2) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up autotools-dev (20161112.1) ... Setting up libltdl7:amd64 (2.4.6-2) ... Setting up check:amd64 (0.10.0-3+b3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up dirmngr (2.1.18-8~deb9u4) ... Setting up autopoint (0.19.8.1-2+deb9u1) ... Setting up libfile-stripnondeterminism-perl (0.034-1) ... Setting up libtool (2.4.6-2) ... Setting up libltdl-dev:amd64 (2.4.6-2) ... Setting up gettext (0.19.8.1-2+deb9u1) ... Setting up autoconf (2.69-10) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up automake (1:1.15-6) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.20) ... Setting up dh-autoreconf (14) ... Setting up debhelper (10.2.5) ... Setting up dh-strip-nondeterminism (0.034-1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 295k 100 295k 0 0 358k 0 --:--:-- --:--:-- --:--:-- 357k --> Working on App::cpanminus Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz ... OK Configuring App-cpanminus-1.7044 ... OK Building and testing App-cpanminus-1.7044 ... OK Successfully installed App-cpanminus-1.7044 1 distribution installed --> Working on URI::Escape Fetching http://www.cpan.org/authors/id/O/OA/OALDERS/URI-1.76.tar.gz ... OK Configuring URI-1.76 ... OK ==> Found dependencies: Test::Needs --> Working on Test::Needs Fetching http://www.cpan.org/authors/id/H/HA/HAARG/Test-Needs-0.002006.tar.gz ... OK Configuring Test-Needs-0.002006 ... OK Building and testing Test-Needs-0.002006 ... OK Successfully installed Test-Needs-0.002006 Building and testing URI-1.76 ... OK Successfully installed URI-1.76 2 distributions installed Cloning into '/usr/local/src/sipsak'... remote: Enumerating objects: 9, done. remote: Counting objects: 100% (9/9), done. remote: Compressing objects: 100% (9/9), done. remote: Total 2483 (delta 0), reused 0 (delta 0), pack-reused 2474 Receiving objects: 100% (2483/2483), 807.22 KiB | 336.00 KiB/s, done. Resolving deltas: 100% (1502/1502), done. configure.ac:12: installing './compile' configure.ac:23: installing './config.guess' configure.ac:23: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './INSTALL' Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' Makefile.am:27: warning: variable 'FAKE_TRANSPORT_SOURCES' is defined but no program or Makefile.am:27: library has 'FAKE_TRANSPORT' as canonical name (possible typo) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc accepts -fstack-protector... yes checking whether to use distcc... not requested checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for netinet/ip.h... yes checking for netinet/udp.h... yes checking for netinet/ip_icmp.h... yes checking cygwin/icmp.h usability... no checking cygwin/icmp.h presence... no checking for cygwin/icmp.h... no checking raw socket support... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set ,struct timeval checking for getchar... yes checking for gethostbyname... yes checking for gethostname... yes checking for getopt... yes checking for getpid... yes checking for gettimeofday... yes checking for memset... yes checking for ntohs... yes checking for regcomp... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strcmp... yes checking for strstr... yes checking for strtol... yes checking for uname... yes checking for calloc... yes checking for getdomainname... yes checking for getopt_long... yes checking for inet_ntop... yes checking for strncasecmp... yes checking for strcasestr... yes checking for syslog... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CHECK... yes checking for GNUTLS... no checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking for library containing MD5_Init... -lcrypto checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking for library containing SHA1_Init... none required checking for GNUTLS319... no checking for CARES... no checking ruli.h usability... no checking ruli.h presence... no checking for ruli.h... no checking oldstyle numeric... not requested checking disable TLS... not requested checking enable debug messages... not requested checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands /bin/mkdir -p '/usr/local/bin' /usr/bin/install -c sipsak '/usr/local/bin' /bin/mkdir -p '/usr/local/share/man/man1' /usr/bin/install -c -m 644 sipsak.1 '/usr/local/share/man/man1' SipSak was installed Attempting to install DNSmasq Selecting previously unselected package dns-root-data. (Reading database ... 44264 files and directories currently installed.) Preparing to unpack .../dns-root-data_2019031302~deb9u1_all.deb ... Unpacking dns-root-data (2019031302~deb9u1) ... Selecting previously unselected package dnsmasq-base. Preparing to unpack .../dnsmasq-base_2.76-5+deb9u2_amd64.deb ... Unpacking dnsmasq-base (2.76-5+deb9u2) ... Selecting previously unselected package dnsmasq. Preparing to unpack .../dnsmasq_2.76-5+deb9u2_all.deb ... Unpacking dnsmasq (2.76-5+deb9u2) ... Setting up dns-root-data (2019031302~deb9u1) ... Processing triggers for systemd (232-25+deb9u12) ... Setting up dnsmasq-base (2.76-5+deb9u2) ... Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for dbus (1.10.32-0+deb9u1) ... Setting up dnsmasq (2.76-5+deb9u2) ... Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /lib/systemd/system/dnsmasq.service. Processing triggers for systemd (232-25+deb9u12) ... no crontab for root Synchronizing state of dnsmasq.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable dnsmasq DNSmasq was installed Attempting to install Kamailio... Selecting previously unselected package uuid-dev:amd64. (Reading database ... 44317 files and directories currently installed.) Preparing to unpack .../uuid-dev_2.29.2-1+deb9u1_amd64.deb ... Unpacking uuid-dev:amd64 (2.29.2-1+deb9u1) ... Setting up uuid-dev:amd64 (2.29.2-1+deb9u1) ... Processing triggers for man-db (2.7.6.1-2) ... --2020-10-20 08:07:12-- http://deb.kamailio.org/kamailiodebkey.gpg Resolving deb.kamailio.org (deb.kamailio.org)... 52.213.73.177 Connecting to deb.kamailio.org (deb.kamailio.org)|52.213.73.177|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3133 (3.1K) [application/octet-stream] Saving to: 'STDOUT'

2020-10-20 08:07:13 (505 MB/s) - written to stdout [3133/3133]

OK Preconfiguring packages ... Selecting previously unselected package mysql-common. (Reading database ... 44338 files and directories currently installed.) Preparing to unpack .../00-mysql-common_5.8+1.0.2_all.deb ... Unpacking mysql-common (5.8+1.0.2) ... Selecting previously unselected package mariadb-common. Preparing to unpack .../01-mariadb-common_10.1.47-0+deb9u1_all.deb ... Unpacking mariadb-common (10.1.47-0+deb9u1) ... Selecting previously unselected package galera-3. Preparing to unpack .../02-galera-3_25.3.19-2_amd64.deb ... Unpacking galera-3 (25.3.19-2) ... Selecting previously unselected package libdbi-perl. Preparing to unpack .../03-libdbi-perl_1.636-1+deb9u1_amd64.deb ... Unpacking libdbi-perl (1.636-1+deb9u1) ... Selecting previously unselected package libaio1:amd64. Preparing to unpack .../04-libaio1_0.3.110-3_amd64.deb ... Unpacking libaio1:amd64 (0.3.110-3) ... Selecting previously unselected package libreadline5:amd64. Preparing to unpack .../05-libreadline5_5.2+dfsg-3+b1_amd64.deb ... Unpacking libreadline5:amd64 (5.2+dfsg-3+b1) ... Selecting previously unselected package mariadb-client-core-10.1. Preparing to unpack .../06-mariadb-client-core-10.1_10.1.47-0+deb9u1_amd64.deb ... Unpacking mariadb-client-core-10.1 (10.1.47-0+deb9u1) ... Selecting previously unselected package libconfig-inifiles-perl. Preparing to unpack .../07-libconfig-inifiles-perl_2.94-1_all.deb ... Unpacking libconfig-inifiles-perl (2.94-1) ... Selecting previously unselected package libjemalloc1. Preparing to unpack .../08-libjemalloc1_3.6.0-9.1_amd64.deb ... Unpacking libjemalloc1 (3.6.0-9.1) ... Selecting previously unselected package mariadb-client-10.1. Preparing to unpack .../09-mariadb-client-10.1_10.1.47-0+deb9u1_amd64.deb ... Unpacking mariadb-client-10.1 (10.1.47-0+deb9u1) ... Selecting previously unselected package mariadb-server-core-10.1. Preparing to unpack .../10-mariadb-server-core-10.1_10.1.47-0+deb9u1_amd64.deb ... Unpacking mariadb-server-core-10.1 (10.1.47-0+deb9u1) ... Selecting previously unselected package psmisc. Preparing to unpack .../11-psmisc_22.21-2.1+b2_amd64.deb ... Unpacking psmisc (22.21-2.1+b2) ... Selecting previously unselected package socat. Preparing to unpack .../12-socat_1.7.3.1-2+deb9u1_amd64.deb ... Unpacking socat (1.7.3.1-2+deb9u1) ... Setting up mysql-common (5.8+1.0.2) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up mariadb-common (10.1.47-0+deb9u1) ... update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Selecting previously unselected package mariadb-server-10.1. (Reading database ... 44783 files and directories currently installed.) Preparing to unpack .../00-mariadb-server-10.1_10.1.47-0+deb9u1_amd64.deb ... Unpacking mariadb-server-10.1 (10.1.47-0+deb9u1) ... Selecting previously unselected package default-mysql-server. Preparing to unpack .../01-default-mysql-server_1.0.2_all.deb ... Unpacking default-mysql-server (1.0.2) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../02-libhtml-tagset-perl_3.20-3_all.deb ... Unpacking libhtml-tagset-perl (3.20-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../03-liburi-perl_1.71-1_all.deb ... Unpacking liburi-perl (1.71-1) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../04-libhtml-parser-perl_3.72-3_amd64.deb ... Unpacking libhtml-parser-perl (3.72-3) ... Selecting previously unselected package libcgi-pm-perl. Preparing to unpack .../05-libcgi-pm-perl_4.35-1_all.deb ... Unpacking libcgi-pm-perl (4.35-1) ... Selecting previously unselected package libfcgi-perl. Preparing to unpack .../06-libfcgi-perl_0.78-2_amd64.deb ... Unpacking libfcgi-perl (0.78-2) ... Selecting previously unselected package libcgi-fast-perl. Preparing to unpack .../07-libcgi-fast-perl_1%3a2.12-1_all.deb ... Unpacking libcgi-fast-perl (1:2.12-1) ... Selecting previously unselected package libmariadbclient18:amd64. Preparing to unpack .../08-libmariadbclient18_10.1.47-0+deb9u1_amd64.deb ... Unpacking libmariadbclient18:amd64 (10.1.47-0+deb9u1) ... Selecting previously unselected package libdbd-mysql-perl. Preparing to unpack .../09-libdbd-mysql-perl_4.041-2_amd64.deb ... Unpacking libdbd-mysql-perl (4.041-2) ... Selecting previously unselected package libencode-locale-perl. Preparing to unpack .../10-libencode-locale-perl_1.05-1_all.deb ... Unpacking libencode-locale-perl (1.05-1) ... Selecting previously unselected package libhtml-template-perl. Preparing to unpack .../11-libhtml-template-perl_2.95-2_all.deb ... Unpacking libhtml-template-perl (2.95-2) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../12-libhttp-date-perl_6.02-1_all.deb ... Unpacking libhttp-date-perl (6.02-1) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../13-libio-html-perl_1.001-1_all.deb ... Unpacking libio-html-perl (1.001-1) ... Selecting previously unselected package liblwp-mediatypes-perl. Preparing to unpack .../14-liblwp-mediatypes-perl_6.02-1_all.deb ... Unpacking liblwp-mediatypes-perl (6.02-1) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../15-libhttp-message-perl_6.11-1_all.deb ... Unpacking libhttp-message-perl (6.11-1) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../16-libterm-readkey-perl_2.37-1_amd64.deb ... Unpacking libterm-readkey-perl (2.37-1) ... Setting up libhtml-tagset-perl (3.20-3) ... Setting up libhttp-date-perl (6.02-1) ... Setting up libconfig-inifiles-perl (2.94-1) ... Setting up psmisc (22.21-2.1+b2) ... Setting up libencode-locale-perl (1.05-1) ... Setting up libjemalloc1 (3.6.0-9.1) ... Setting up socat (1.7.3.1-2+deb9u1) ... Setting up libio-html-perl (1.001-1) ... Setting up libmariadbclient18:amd64 (10.1.47-0+deb9u1) ... Setting up libterm-readkey-perl (2.37-1) ... Setting up liblwp-mediatypes-perl (6.02-1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up libaio1:amd64 (0.3.110-3) ... Setting up galera-3 (25.3.19-2) ... Setting up liburi-perl (1.71-1) ... Processing triggers for systemd (232-25+deb9u12) ... Setting up libhtml-parser-perl (3.72-3) ... Setting up libcgi-pm-perl (4.35-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libhttp-message-perl (6.11-1) ... Setting up libreadline5:amd64 (5.2+dfsg-3+b1) ... Setting up libfcgi-perl (0.78-2) ... Setting up libdbi-perl (1.636-1+deb9u1) ... Setting up mariadb-server-core-10.1 (10.1.47-0+deb9u1) ... Setting up libhtml-template-perl (2.95-2) ... Setting up mariadb-client-core-10.1 (10.1.47-0+deb9u1) ... Setting up libcgi-fast-perl (1:2.12-1) ... Setting up libdbd-mysql-perl (4.041-2) ... Setting up mariadb-client-10.1 (10.1.47-0+deb9u1) ... Setting up mariadb-server-10.1 (10.1.47-0+deb9u1) ... Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service. Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service. Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service. Setting up default-mysql-server (1.0.2) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for systemd (232-25+deb9u12) ... Extracting templates from packages: 100% Selecting previously unselected package libevent-2.0-5:amd64. (Reading database ... 45189 files and directories currently installed.) Preparing to unpack .../00-libevent-2.0-5_2.0.21-stable-3_amd64.deb ... Unpacking libevent-2.0-5:amd64 (2.0.21-stable-3) ... Selecting previously unselected package ebtables. Preparing to unpack .../01-ebtables_2.0.10.4-3.5+b1_amd64.deb ... Unpacking ebtables (2.0.10.4-3.5+b1) ... Selecting previously unselected package libgirepository-1.0-1:amd64. Preparing to unpack .../02-libgirepository-1.0-1_1.50.0-1+b1_amd64.deb ... Unpacking libgirepository-1.0-1:amd64 (1.50.0-1+b1) ... Selecting previously unselected package gir1.2-glib-2.0:amd64. Preparing to unpack .../03-gir1.2-glib-2.0_1.50.0-1+b1_amd64.deb ... Unpacking gir1.2-glib-2.0:amd64 (1.50.0-1+b1) ... Selecting previously unselected package libpolkit-gobject-1-0:amd64. Preparing to unpack .../04-libpolkit-gobject-1-0_0.105-18+deb9u1_amd64.deb ... Unpacking libpolkit-gobject-1-0:amd64 (0.105-18+deb9u1) ... Selecting previously unselected package libpolkit-agent-1-0:amd64. Preparing to unpack .../05-libpolkit-agent-1-0_0.105-18+deb9u1_amd64.deb ... Unpacking libpolkit-agent-1-0:amd64 (0.105-18+deb9u1) ... Selecting previously unselected package libpolkit-backend-1-0:amd64. Preparing to unpack .../06-libpolkit-backend-1-0_0.105-18+deb9u1_amd64.deb ... Unpacking libpolkit-backend-1-0:amd64 (0.105-18+deb9u1) ... Selecting previously unselected package policykit-1. Preparing to unpack .../07-policykit-1_0.105-18+deb9u1_amd64.deb ... Unit polkit.service does not exist, proceeding anyway. Created symlink /run/systemd/system/polkit.service → /dev/null. Unpacking policykit-1 (0.105-18+deb9u1) ... Selecting previously unselected package libdbus-glib-1-2:amd64. Preparing to unpack .../08-libdbus-glib-1-2_0.108-2_amd64.deb ... Unpacking libdbus-glib-1-2:amd64 (0.108-2) ... Selecting previously unselected package python3-dbus. Preparing to unpack .../09-python3-dbus_1.2.4-1+b1_amd64.deb ... Unpacking python3-dbus (1.2.4-1+b1) ... Selecting previously unselected package python3-gi. Preparing to unpack .../10-python3-gi_3.22.0-2_amd64.deb ... Unpacking python3-gi (3.22.0-2) ... Selecting previously unselected package python3-decorator. Preparing to unpack .../11-python3-decorator_4.0.11-1_all.deb ... Unpacking python3-decorator (4.0.11-1) ... Selecting previously unselected package python3-selinux. Preparing to unpack .../12-python3-selinux_2.6-3+b3_amd64.deb ... Unpacking python3-selinux (2.6-3+b3) ... Selecting previously unselected package python3-slip. Preparing to unpack .../13-python3-slip_0.6.1-3_all.deb ... Unpacking python3-slip (0.6.1-3) ... Selecting previously unselected package python3-slip-dbus. Preparing to unpack .../14-python3-slip-dbus_0.6.1-3_all.deb ... Unpacking python3-slip-dbus (0.6.1-3) ... Selecting previously unselected package firewalld. Preparing to unpack .../15-firewalld_0.4.4.2-1_all.deb ... Unpacking firewalld (0.4.4.2-1) ... Selecting previously unselected package kamailio. Preparing to unpack .../16-kamailio_5.3.6+bpo9_amd64.deb ... Unpacking kamailio (5.3.6+bpo9) ... Selecting previously unselected package libev4. Preparing to unpack .../17-libev4_1%3a4.22-1+b1_amd64.deb ... Unpacking libev4 (1:4.22-1+b1) ... Selecting previously unselected package libjansson4:amd64. Preparing to unpack .../18-libjansson4_2.9-1_amd64.deb ... Unpacking libjansson4:amd64 (2.9-1) ... Selecting previously unselected package kamailio-extra-modules:amd64. Preparing to unpack .../19-kamailio-extra-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-extra-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package kamailio-mysql-modules:amd64. Preparing to unpack .../20-kamailio-mysql-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-mysql-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package kamailio-presence-modules:amd64. Preparing to unpack .../21-kamailio-presence-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-presence-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package kamailio-tls-modules:amd64. Preparing to unpack .../22-kamailio-tls-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-tls-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package kamailio-websocket-modules:amd64. Preparing to unpack .../23-kamailio-websocket-modules_5.3.6+bpo9_amd64.deb ... Unpacking kamailio-websocket-modules:amd64 (5.3.6+bpo9) ... Selecting previously unselected package python3-cffi-backend. Preparing to unpack .../24-python3-cffi-backend_1.9.1-2_amd64.deb ... Unpacking python3-cffi-backend (1.9.1-2) ... Selecting previously unselected package python3-idna. Preparing to unpack .../25-python3-idna_2.2-1_all.deb ... Unpacking python3-idna (2.2-1) ... Selecting previously unselected package python3-pyasn1. Preparing to unpack .../26-python3-pyasn1_0.1.9-2_all.deb ... Unpacking python3-pyasn1 (0.1.9-2) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../27-python3-setuptools_33.1.1-1_all.deb ... Unpacking python3-setuptools (33.1.1-1) ... Selecting previously unselected package python3-cryptography. Preparing to unpack .../28-python3-cryptography_1.7.1-3+deb9u2_amd64.deb ... Unpacking python3-cryptography (1.7.1-3+deb9u2) ... Selecting previously unselected package python3-openssl. Preparing to unpack .../29-python3-openssl_16.2.0-1_all.deb ... Unpacking python3-openssl (16.2.0-1) ... Selecting previously unselected package python3-josepy. Preparing to unpack .../30-python3-josepy_1.1.0-2~deb9u1_all.deb ... Unpacking python3-josepy (1.1.0-2~deb9u1) ... Selecting previously unselected package python3-pbr. Preparing to unpack .../31-python3-pbr_1.10.0-1_all.deb ... Unpacking python3-pbr (1.10.0-1) ... Selecting previously unselected package python3-mock. Preparing to unpack .../32-python3-mock_2.0.0-3_all.deb ... Unpacking python3-mock (2.0.0-3) ... Selecting previously unselected package python3-requests-toolbelt. Preparing to unpack .../33-python3-requests-toolbelt_0.7.0-1_all.deb ... Unpacking python3-requests-toolbelt (0.7.0-1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../34-python3-tz_2016.7-0.3_all.deb ... Unpacking python3-tz (2016.7-0.3) ... Selecting previously unselected package python3-rfc3339. Preparing to unpack .../35-python3-rfc3339_1.0-4_all.deb ... Unpacking python3-rfc3339 (1.0-4) ... Selecting previously unselected package python3-acme. Preparing to unpack .../36-python3-acme_0.28.0-1~deb9u2_all.deb ... Unpacking python3-acme (0.28.0-1~deb9u2) ... Selecting previously unselected package python3-configargparse. Preparing to unpack .../37-python3-configargparse_0.11.0-1_all.deb ... Unpacking python3-configargparse (0.11.0-1) ... Selecting previously unselected package python3-configobj. Preparing to unpack .../38-python3-configobj_5.0.6-2_all.deb ... Unpacking python3-configobj (5.0.6-2) ... Selecting previously unselected package python3-parsedatetime. Preparing to unpack .../39-python3-parsedatetime_2.1-3+deb9u1_all.deb ... Unpacking python3-parsedatetime (2.1-3+deb9u1) ... Selecting previously unselected package python3-zope.hookable. Preparing to unpack .../40-python3-zope.hookable_4.0.4-4+b2_amd64.deb ... Unpacking python3-zope.hookable (4.0.4-4+b2) ... Selecting previously unselected package python3-zope.interface. Preparing to unpack .../41-python3-zope.interface_4.3.2-1_amd64.deb ... Unpacking python3-zope.interface (4.3.2-1) ... Selecting previously unselected package python3-zope.event. Preparing to unpack .../42-python3-zope.event_4.2.0-1_all.deb ... Unpacking python3-zope.event (4.2.0-1) ... Selecting previously unselected package python3-zope.component. Preparing to unpack .../43-python3-zope.component_4.3.0-1_all.deb ... Unpacking python3-zope.component (4.3.0-1) ... Selecting previously unselected package python3-certbot. Preparing to unpack .../44-python3-certbot_0.28.0-1~deb9u2_all.deb ... Unpacking python3-certbot (0.28.0-1~deb9u2) ... Selecting previously unselected package certbot. Preparing to unpack .../45-certbot_0.28.0-1~deb9u2_all.deb ... Unpacking certbot (0.28.0-1~deb9u2) ... Selecting previously unselected package libipset3:amd64. Preparing to unpack .../46-libipset3_6.30-2_amd64.deb ... Unpacking libipset3:amd64 (6.30-2) ... Selecting previously unselected package ipset. Preparing to unpack .../47-ipset_6.30-2_amd64.deb ... Unpacking ipset (6.30-2) ... Setting up python3-requests-toolbelt (0.7.0-1) ... Setting up python3-pbr (1.10.0-1) ... update-alternatives: using /usr/bin/python3-pbr to provide /usr/bin/pbr (pbr) in auto mode Setting up libev4 (1:4.22-1+b1) ... Setting up kamailio (5.3.6+bpo9) ... Created symlink /etc/systemd/system/multi-user.target.wants/kamailio.service → /lib/systemd/system/kamailio.service. Setting up python3-selinux (2.6-3+b3) ... Setting up python3-cffi-backend (1.9.1-2) ... Setting up python3-mock (2.0.0-3) ... Setting up libdbus-glib-1-2:amd64 (0.108-2) ... Setting up python3-zope.event (4.2.0-1) ... Setting up kamailio-mysql-modules:amd64 (5.3.6+bpo9) ... Setting up python3-idna (2.2-1) ... Setting up libjansson4:amd64 (2.9-1) ... Setting up python3-zope.interface (4.3.2-1) ... Setting up libipset3:amd64 (6.30-2) ... Setting up python3-slip (0.6.1-3) ... Setting up libgirepository-1.0-1:amd64 (1.50.0-1+b1) ... Setting up kamailio-websocket-modules:amd64 (5.3.6+bpo9) ... Setting up python3-configargparse (0.11.0-1) ... Setting up python3-zope.hookable (4.0.4-4+b2) ... Setting up python3-pyasn1 (0.1.9-2) ... Setting up gir1.2-glib-2.0:amd64 (1.50.0-1+b1) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Setting up ipset (6.30-2) ... Processing triggers for systemd (232-25+deb9u12) ... Setting up ebtables (2.0.10.4-3.5+b1) ... Created symlink /etc/systemd/system/multi-user.target.wants/ebtables.service → /lib/systemd/system/ebtables.service. update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for dbus (1.10.32-0+deb9u1) ... Setting up python3-configobj (5.0.6-2) ... Setting up python3-setuptools (33.1.1-1) ... Setting up libevent-2.0-5:amd64 (2.0.21-stable-3) ... Setting up python3-decorator (4.0.11-1) ... Setting up python3-tz (2016.7-0.3) ... Setting up kamailio-presence-modules:amd64 (5.3.6+bpo9) ... Setting up libpolkit-gobject-1-0:amd64 (0.105-18+deb9u1) ... Setting up python3-parsedatetime (2.1-3+deb9u1) ... Setting up python3-cryptography (1.7.1-3+deb9u2) ... Setting up kamailio-extra-modules:amd64 (5.3.6+bpo9) ... Setting up kamailio-tls-modules:amd64 (5.3.6+bpo9) ... Setting up python3-dbus (1.2.4-1+b1) ... Setting up python3-rfc3339 (1.0-4) ... Setting up libpolkit-agent-1-0:amd64 (0.105-18+deb9u1) ... Setting up python3-zope.component (4.3.0-1) ... Setting up python3-gi (3.22.0-2) ... Setting up libpolkit-backend-1-0:amd64 (0.105-18+deb9u1) ... Setting up python3-slip-dbus (0.6.1-3) ... Setting up python3-openssl (16.2.0-1) ... Setting up python3-josepy (1.1.0-2~deb9u1) ... Setting up python3-acme (0.28.0-1~deb9u2) ... Setting up python3-certbot (0.28.0-1~deb9u2) ... Setting up policykit-1 (0.105-18+deb9u1) ... Removed /run/systemd/system/polkit.service. polkit.service is a disabled or a static unit not running, not starting it. Setting up firewalld (0.4.4.2-1) ... Created symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service → /lib/systemd/system/firewalld.service. Created symlink /etc/systemd/system/multi-user.target.wants/firewalld.service → /lib/systemd/system/firewalld.service. Setting up certbot (0.28.0-1~deb9u2) ... Created symlink /etc/systemd/system/timers.target.wants/certbot.timer → /lib/systemd/system/certbot.timer. Processing triggers for systemd (232-25+deb9u12) ... Processing triggers for libc-bin (2.24-11+deb9u4) ... Processing triggers for dbus (1.10.32-0+deb9u1) ... Synchronizing state of mysql.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable mysql Failed to enable unit: Refusing to operate on linked unit file mysql.service Synchronizing state of kamailio.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable kamailio -e \E[37;33mINFO: creating database kamailio ... -e \E[37;33mINFO: granting privileges to database kamailio ... -e \E[37;33mINFO: creating standard tables into kamailio ... -e \E[37;33mINFO: Core Kamailio tables succesfully created. -e \E[37;33mINFO: creating presence tables into kamailio ... -e \E[37;33mINFO: Presence tables succesfully created. -e \E[37;33mINFO: creating extra tables into kamailio ... -e \E[37;33mINFO: Extra tables succesfully created. -e \E[37;33mINFO: creating uid tables into kamailio ... -e \E[37;33mINFO: UID tables succesfully created. Synchronizing state of firewalld.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable firewalld success success success success success success success ../../Makefile.defs:41: ../../config.mak: No such file or directory make -wC ../.. cfg-defs make[1]: Entering directory '/tmp/kamailio/src' target architecture , host architecture making config... make[1]: Leaving directory '/tmp/kamailio/src' CC (gcc) [M dsiprouter.so] mod_funcs.o mod_funcs.c: In function 'strsplit': mod_funcs.c:86:9: warning: unused variable 'sub_count' [-Wunused-variable] size_t sub_count = 0; / number of substrings / ^~~~~ mod_funcs.c: In function 'validate_license': mod_funcs.c:241:17: warning: pointer targets in passing argument 1 of 'verifyRSA' differ in signedness [-Wpointer-sign] if (!verifyRSA(license, strlen(license), signature, sig_len, licensing_public_key)) { ^~~ mod_funcs.c:189:5: note: expected 'const unsigned char ' but argument is of type 'char ' int verifyRSA(const unsigned char msg, size_t msglen, unsigned char sig, size_t siglen, unsigned char pubkey) { ^~~~~ mod_funcs.c:241:63: warning: pointer targets in passing argument 5 of 'verifyRSA' differ in signedness [-Wpointer-sign] if (!verifyRSA(license, strlen(license), signature, sig_len, licensing_public_key)) { ^~~~~~~~ mod_funcs.c:189:5: note: expected 'unsigned char ' but argument is of type 'char ' int verifyRSA(const unsigned char msg, size_t msglen, unsigned char sig, size_t siglen, unsigned char pubkey) { ^~~~~ CC (gcc) [M dsiprouter.so] mod_dsiprouter.o CC (gcc) [L libsrutils.so.1.0] shautils.o CC (gcc) [L libsrutils.so.1.0] tmrec.o CC (gcc) [L libsrutils.so.1.0] srjson.o CC (gcc) [L libsrutils.so.1.0] sruid.o CC (gcc) [L libsrutils.so.1.0] sha256.o LD (gcc) [L libsrutils.so.1.0] libsrutils.so.1.0 LD (gcc) [M dsiprouter.so] dsiprouter.so success success Generating Certs for 45.32.189.181.vultr.com using LetsEncrypt Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator standalone, Installer None Obtaining a new certificate Performing the following challenges: http-01 challenge for 45.32.189.181.vultr.com Waiting for verification... Cleaning up challenges Failed authorization procedure. 45.32.189.181.vultr.com (http-01): urn:ietf:params:acme:error:dns :: No valid IP addresses found for 45.32.189.181.vultr.com

IMPORTANT NOTES:

Oct 20 08:09:24 vultr.guest systemd[1]: kamailio.service: Control process exited, code=exited status=255 Oct 20 08:09:24 vultr.guest systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server. Oct 20 08:09:24 vultr.guest systemd[1]: kamailio.service: Unit entered failed state. Oct 20 08:09:24 vultr.guest systemd[1]: kamailio.service: Failed with result 'exit-code'. Oct 20 08:09:25 vultr.guest systemd[1]: kamailio.service: Service hold-off time over, scheduling restart. Oct 20 08:09:25 vultr.guest systemd[1]: Stopped Kamailio (OpenSER) - the Open Source SIP Server. Oct 20 08:09:25 vultr.guest systemd[1]: kamailio.service: Start request repeated too quickly. Oct 20 08:09:25 vultr.guest systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server. Oct 20 08:09:25 vultr.guest systemd[1]: kamailio.service: Unit entered failed state. Oct 20 08:09:25 vultr.guest systemd[1]: kamailio.service: Failed with result 'exit-code'. root@vultr://#

qmex-mp commented 4 years ago

First: Please, dont post always everything here, makes it really hard to help, post only the error or attach a text file with everything. Installation was successfull, but the system couldnt fine a correct hostname to generate the SSL Certificates for, but looks like you dont have to reinstall. Do the following:

  1. Edit /opt/dsiprouter/gui/settings.py and set a correct FQDN
  2. Check you host file if there is also an entry for your external IP and the FQDN (you MUST connect a resolvable FQDN to the IP of the machine for Letsencrypt to work
  3. Run: /opt/dsiprouter/dsiprouter.sh renewsslcert
qmex-mp commented 4 years ago

And, as Iam only a user and not from dsiprouter or connected with the project in any kind: DONT POST YOUR ERRORS UNDER EVERY OTHER ISSUE As you have done in Issue #276

Open an Issue, or better go to groups.google.com and wait patiently. If you cant do that and its urgent, buy support, they are fast and awesome and they need something to live from.

Graviton144 commented 4 years ago

Its a test server and I am a beginner I will eventually destroy the server as IP is exposed. I really appreciate your help and input. I am learning and sure I will eventually work it out. Its a steep learning curve to be sure! I have about 1 month learning experience in Linux. This is for learning only not production or anything like that. If I was commercial I would certainly pay for support. In the future it may be a commercial situation but until I can test and see if it works for me I cannot consider support, I do have it working in Digital Ocean and with that I will explore the possibilities. As it stands I cannot even get it to install in a vitualbox instance and believe me I have tried This kind of worries me how difficult it is to install. Documentation for install in different environments should be provided. I have installed FusionPBX in vultr and VirtualBox and it just works. Anyways it seems like a good project. Again thanks for your replies and support.

Graviton144 commented 4 years ago

And, as Iam only a user and not from dsiprouter or connected with the project in any kind: DONT POST YOUR ERRORS UNDER EVERY OTHER ISSUE As you have done in Issue #276

Open an Issue, or better go to groups.google.com and wait patiently. If you cant do that and its urgent, buy support, they are fast and awesome and they need something to live from.

Sorry about that, wont happen again.

qmex-mp commented 4 years ago

Hi, dont get me wrong, nothing against that, dsiprouter is something for ISPs/Carrier, and the setup routine works great if everything is prepared because its doing almost anything automatically and Kamailio needs a SSL Cert to run, so letsencrypt verfification must work.

Graviton144 commented 4 years ago

First: Please, dont post always everything here, makes it really hard to help, post only the error or attach a text file with everything. Installation was successfull, but the system couldnt fine a correct hostname to generate the SSL Certificates for, but looks like you dont have to reinstall. Do the following:

  1. Edit /opt/dsiprouter/gui/settings.py and set a correct FQDN
  2. Check you host file if there is also an entry for your external IP and the FQDN (you MUST connect a resolvable FQDN to the IP of the machine for Letsencrypt to work
  3. Run: /opt/dsiprouter/dsiprouter.sh renewsslcert

Hey mate thanks very much for your help! That was it as you suggested it required the FQDN settings for this to work. I have now successfully installed on vultr!

Again thanks very much.

Carlos