[Freeswitch-users] Install on new Debian 10

Kevin Olbrich ko at sv01.de
Fri Sep 27 17:43:39 UTC 2019


chown -R freeswitch:freeswitch /etc/freeswitch


Am Fr., 27. Sept. 2019 um 19:40 Uhr schrieb Sean Devoy <
sdevoy at bizfocused.com>:

> I tried Ciprian’s advise. I could not find that page prior to that.
>
>
>
> Everything worked after I created /etc/freeswitch and copied my 1.8 config
> files in.
>
>
>
> FS still won’t start. Any ideas appreciated.
>
>
>
> Would it be better to upgrade a copy my running 1.8 version?
>
>
>
> Thanks,
>
> Sean …
>
> Here is the current result of trying FS after build.
>
>
>
> root at FreeSwitch-Deb10-CPU-intense:~# service freeswitch restart
>
> Job for freeswitch.service failed because the control process exited with
> error code.
>
> See "systemctl status freeswitch.service" and "journalctl -xe" for details.
>
>
>
> root at FreeSwitch-Deb10-CPU-intense:~# systemctl status freeswitch.service
>
> ● freeswitch.service - freeswitch
>
>    Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor
> preset: enabled)
>
>    Active: failed (Result: exit-code) since Fri 2019-09-27 17:04:02 UTC;
> 10s ago
>
>   Process: 2401 ExecStartPre=/bin/chown -R ${USER}:${GROUP}
> /var/lib/freeswitch /var/log/freeswitch /etc/freeswitch
> /usr/share/freeswitch /var/run/freeswitch (code=exited,
>
>   Process: 2402 ExecStart=/usr/bin/freeswitch -u ${USER} -g ${GROUP}
> -ncwait ${DAEMON_OPTS} (code=exited, status=1/FAILURE)
>
>
>
> Sep 27 17:04:01 FreeSwitch-Deb10-CPU-intense freeswitch[2402]:
> FreeSWITCH[2402] Error starting system! pid:2403
>
> Sep 27 17:04:01 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Control process exited, code=exited, status=1/FAILURE
>
> Sep 27 17:04:01 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Failed with result 'exit-code'.
>
> Sep 27 17:04:01 FreeSwitch-Deb10-CPU-intense systemd[1]: Failed to start
> freeswitch.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Service RestartSec=100ms expired, scheduling restart.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Scheduled restart job, restart counter is at 5.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]: Stopped
> freeswitch.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Start request repeated too quickly.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Failed with result 'exit-code'.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]: Failed to start
> freeswitch.
>
>
>
> root at FreeSwitch-Deb10-CPU-intense:~# journalctl -xe
>
> -- Support: https://www.debian.org/support
>
> --
>
> -- The unit freeswitch.service has entered the 'failed' state with result
> 'exit-code'.
>
> Sep 27 17:04:01 FreeSwitch-Deb10-CPU-intense systemd[1]: Failed to start
> freeswitch.
>
> -- Subject: A start job for unit freeswitch.service has failed
>
> -- Defined-By: systemd
>
> -- Support: https://www.debian.org/support
>
> --
>
> -- A start job for unit freeswitch.service has finished with a failure.
>
> --
>
> -- The job identifier is 1127 and the job result is failed.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Service RestartSec=100ms expired, scheduling restart.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Scheduled restart job, restart counter is at 5.
>
> -- Subject: Automatic restarting of a unit has been scheduled
>
> -- Defined-By: systemd
>
> -- Support: https://www.debian.org/support
>
> --
>
> -- Automatic restarting of the unit freeswitch.service has been scheduled,
> as the result for
>
> -- the configured Restart= setting for the unit.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]: Stopped
> freeswitch.
>
> -- Subject: A stop job for unit freeswitch.service has finished
>
> -- Defined-By: systemd
>
> -- Support: https://www.debian.org/support
>
> --
>
> -- A stop job for unit freeswitch.service has finished.
>
> --
>
> -- The job identifier is 1177 and the job result is done.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Start request repeated too quickly.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]:
> freeswitch.service: Failed with result 'exit-code'.
>
> -- Subject: Unit failed
>
> -- Defined-By: systemd
>
> -- Support: https://www.debian.org/support
>
> --
>
> -- The unit freeswitch.service has entered the 'failed' state with result
> 'exit-code'.
>
> Sep 27 17:04:02 FreeSwitch-Deb10-CPU-intense systemd[1]: Failed to start
> freeswitch.
>
> -- Subject: A start job for unit freeswitch.service has failed
>
> -- Defined-By: systemd
>
> -- Support: https://www.debian.org/support
>
> --
>
> -- A start job for unit freeswitch.service has finished with a failure.
>
> --
>
> -- The job identifier is 1177 and the job result is failed.
>
>
>
> *From:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *On
> Behalf Of *David Villasmil
> *Sent:* Thursday, September 26, 2019 7:38 PM
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Subject:* Re: [Freeswitch-users] Install on new Debian 10
>
>
>
> Did you clone, then bootstrap, then configure —prefix=/use/local then make
> and make install?
>
>
>
> On Thu, 26 Sep 2019 at 23:50, Sean Devoy <sdevoy at bizfocused.com> wrote:
>
> When I run it this far:
>
> apt-get update && apt-get install -y gnupg2 wget lsb-release
>
> wget -O -
> https://files.freeswitch.org/repo/deb/debian-release/fsstretch-archive-keyring.asc
> | apt-key add -
>
>
>
> echo "deb http://files.freeswitch.org/repo/deb/debian-release/
> `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
>
> echo "deb-src http://files.freeswitch.org/repo/deb/debian-release/
> `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list
>
>
>
> and it says I can populate /etc/freeswitch there is NO /etc/freeswitch ???
>
>
>
> *From:* FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> *On
> Behalf Of *Sean Devoy
> *Sent:* Thursday, September 26, 2019 6:22 PM
> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> *Subject:* Re: [Freeswitch-users] Install on new Debian 10
>
>
>
> Thanks, but I must be doing it wrong:
>
>
>
> root at FreeSwitch-Deb10-CPU-intense:~# apt-get update && apt-get install -y
> gnupg2 wget lsb-release
>
>
>
> # you may want to populate /etc/freeswitch at this point.
>
> # if /etc/freeswitch does not exist, the standard vanilla configuration is
> deployed
>
> Get:1 http://security.debian.org buster/updates InRelease [39.1 kB]
>
> Get:2 http://mirrors.digitalocean.com/debian buster InRelease [122 kB]
>
> Get:3 http://mirrors.digitalocean.com/debian buster-updates InRelease
> [49.3 kB]
>
> Get:4 http://mirrors.digitalocean.com/debian buster-backports InRelease
> [46.7 kB]
>
> Get:5 http://security.debian.org buster/updates/main Sources [73.7 kB]
>
> Get:6 http://security.debian.org buster/updates/main amd64 Packages [93.7
> kB]
>
> Get:7 http://security.debian.org buster/updates/main Translation-en [56.9
> kB]
>
> Get:8 http://mirrors.digitalocean.com/debian buster/main Sources [7,832
> kB]
>
> Get:9 http://mirrors.digitalocean.com/debian buster/main amd64 Packages
> [7,899 kB]
>
> Get:10 http://mirrors.digitalocean.com/debian buster/main Translation-en
> [5,967 kB]
>
> Get:11 http://mirrors.digitalocean.com/debian buster-updates/main Sources
> [2,544 B]
>
> Get:12 http://mirrors.digitalocean.com/debian buster-updates/main amd64
> Packages [5,792 B]
>
> Get:13 http://mirrors.digitalocean.com/debian buster-updates/main
> Translation-en [3,655 B]
>
> Get:14 http://mirrors.digitalocean.com/debian buster-backports/main
> Sources [80.8 kB]
>
> Get:15 http://mirrors.digitalocean.com/debian buster-backports/main amd64
> Packages [106 kB]
>
> Get:16 http://mirrors.digitalocean.com/debian buster-backports/main
> Translation-en [87.1 kB]
>
> Fetched 22.5 MB in 4s (5,513 kB/s)
>
> Reading package lists... Done
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> lsb-release is already the newest version (10.2019051400).
>
> wget is already the newest version (1.20.1-1.1).
>
> The following additional packages will be installed:
>
>   dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
> gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libldap-2.4-2
> libldap-common libnpth0 libsasl2-2
>
>   libsasl2-modules libsasl2-modules-db pinentry-curses
>
> Suggested packages:
>
>   dbus-user-session pinentry-gnome3 tor parcimonie xloadimage scdaemon
> libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
> libsasl2-modules-ldap libsasl2-modules-otp
>
>   libsasl2-modules-sql pinentry-doc
>
> The following NEW packages will be installed:
>
>   dirmngr gnupg gnupg-l10n gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client
> gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libldap-2.4-2
> libldap-common libnpth0 libsasl2-2
>
>   libsasl2-modules libsasl2-modules-db pinentry-curses
>
> 0 upgraded, 20 newly installed, 0 to remove and 1 not upgraded.
>
> Need to get 8,075 kB of archives.
>
> After this operation, 16.5 MB of additional disk space will be used.
>
> Get:1 http://mirrors.digitalocean.com/debian buster/main amd64 libassuan0
> amd64 2.5.2-1 [49.4 kB]
>
> Get:2 http://mirrors.digitalocean.com/debian buster/main amd64 gpgconf
> amd64 2.2.12-1+deb10u1 [510 kB]
>
> Get:3 http://mirrors.digitalocean.com/debian buster/main amd64 libksba8
> amd64 1.3.5-2 [99.7 kB]
>
> Get:4 http://mirrors.digitalocean.com/debian buster/main amd64
> libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB]
>
> Get:5 http://mirrors.digitalocean.com/debian buster/main amd64 libsasl2-2
> amd64 2.1.27+dfsg-1 [106 kB]
>
> Get:6 http://mirrors.digitalocean.com/debian buster/main amd64
> libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]
>
> Get:7 http://mirrors.digitalocean.com/debian buster/main amd64
> libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB]
>
> Get:8 http://mirrors.digitalocean.com/debian buster/main amd64 libnpth0
> amd64 1.6-1 [18.4 kB]
>
> Get:9 http://mirrors.digitalocean.com/debian buster/main amd64 dirmngr
> amd64 2.2.12-1+deb10u1 [712 kB]
>
> Get:10 http://mirrors.digitalocean.com/debian buster/main amd64
> gnupg-l10n all 2.2.12-1+deb10u1 [1,010 kB]
>
> Get:11 http://mirrors.digitalocean.com/debian buster/main amd64
> gnupg-utils amd64 2.2.12-1+deb10u1 [861 kB]
>
> Get:12 http://mirrors.digitalocean.com/debian buster/main amd64 gpg amd64
> 2.2.12-1+deb10u1 [865 kB]
>
> Get:13 http://mirrors.digitalocean.com/debian buster/main amd64
> pinentry-curses amd64 1.1.0-2 [64.5 kB]
>
> Get:14 http://mirrors.digitalocean.com/debian buster/main amd64 gpg-agent
> amd64 2.2.12-1+deb10u1 [617 kB]
>
> Get:15 http://mirrors.digitalocean.com/debian buster/main amd64
> gpg-wks-client amd64 2.2.12-1+deb10u1 [485 kB]
>
> Get:16 http://mirrors.digitalocean.com/debian buster/main amd64
> gpg-wks-server amd64 2.2.12-1+deb10u1 [478 kB]
>
> Get:17 http://mirrors.digitalocean.com/debian buster/main amd64 gpgsm
> amd64 2.2.12-1+deb10u1 [604 kB]
>
> Get:18 http://mirrors.digitalocean.com/debian buster/main amd64 gnupg all
> 2.2.12-1+deb10u1 [715 kB]
>
> Get:19 http://mirrors.digitalocean.com/debian buster/main amd64 gnupg2
> all 2.2.12-1+deb10u1 [393 kB]
>
> Get:20 http://mirrors.digitalocean.com/debian buster/main amd64
> libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB]
>
> Fetched 8,075 kB in 1s (12.6 MB/s)
>
> Selecting previously unselected package libassuan0:amd64.
>
> (Reading database ... 26960 files and directories currently installed.)
>
> Preparing to unpack .../00-libassuan0_2.5.2-1_amd64.deb ...
>
> Unpacking libassuan0:amd64 (2.5.2-1) ...
>
> Selecting previously unselected package gpgconf.
>
> Preparing to unpack .../01-gpgconf_2.2.12-1+deb10u1_amd64.deb ...
>
> Unpacking gpgconf (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package libksba8:amd64.
>
> Preparing to unpack .../02-libksba8_1.3.5-2_amd64.deb ...
>
> Unpacking libksba8:amd64 (1.3.5-2) ...
>
> Selecting previously unselected package libsasl2-modules-db:amd64.
>
> Preparing to unpack .../03-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ...
>
> Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
>
> Selecting previously unselected package libsasl2-2:amd64.
>
> Preparing to unpack .../04-libsasl2-2_2.1.27+dfsg-1_amd64.deb ...
>
> Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ...
>
> Selecting previously unselected package libldap-common.
>
> Preparing to unpack .../05-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...
>
> Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ...
>
> Selecting previously unselected package libldap-2.4-2:amd64.
>
> Preparing to unpack .../06-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb
> ...
>
> Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
>
> Selecting previously unselected package libnpth0:amd64.
>
> Preparing to unpack .../07-libnpth0_1.6-1_amd64.deb ...
>
> Unpacking libnpth0:amd64 (1.6-1) ...
>
> Selecting previously unselected package dirmngr.
>
> Preparing to unpack .../08-dirmngr_2.2.12-1+deb10u1_amd64.deb ...
>
> Unpacking dirmngr (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package gnupg-l10n.
>
> Preparing to unpack .../09-gnupg-l10n_2.2.12-1+deb10u1_all.deb ...
>
> Unpacking gnupg-l10n (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package gnupg-utils.
>
> Preparing to unpack .../10-gnupg-utils_2.2.12-1+deb10u1_amd64.deb ...
>
> Unpacking gnupg-utils (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package gpg.
>
> Preparing to unpack .../11-gpg_2.2.12-1+deb10u1_amd64.deb ...
>
> Unpacking gpg (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package pinentry-curses.
>
> Preparing to unpack .../12-pinentry-curses_1.1.0-2_amd64.deb ...
>
> Unpacking pinentry-curses (1.1.0-2) ...
>
> Selecting previously unselected package gpg-agent.
>
> Preparing to unpack .../13-gpg-agent_2.2.12-1+deb10u1_amd64.deb ...
>
> Unpacking gpg-agent (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package gpg-wks-client.
>
> Preparing to unpack .../14-gpg-wks-client_2.2.12-1+deb10u1_amd64.deb ...
>
> Unpacking gpg-wks-client (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package gpg-wks-server.
>
> Preparing to unpack .../15-gpg-wks-server_2.2.12-1+deb10u1_amd64.deb ...
>
> Unpacking gpg-wks-server (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package gpgsm.
>
> Preparing to unpack .../16-gpgsm_2.2.12-1+deb10u1_amd64.deb ...
>
> Unpacking gpgsm (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package gnupg.
>
> Preparing to unpack .../17-gnupg_2.2.12-1+deb10u1_all.deb ...
>
> Unpacking gnupg (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package gnupg2.
>
> Preparing to unpack .../18-gnupg2_2.2.12-1+deb10u1_all.deb ...
>
> Unpacking gnupg2 (2.2.12-1+deb10u1) ...
>
> Selecting previously unselected package libsasl2-modules:amd64.
>
> Preparing to unpack .../19-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ...
>
> Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
>
> Setting up libksba8:amd64 (1.3.5-2) ...
>
> Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
>
> Setting up libnpth0:amd64 (1.6-1) ...
>
> Setting up libassuan0:amd64 (2.5.2-1) ...
>
> Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...
>
> Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
>
> Setting up gnupg-l10n (2.2.12-1+deb10u1) ...
>
> Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ...
>
> Setting up gpgconf (2.2.12-1+deb10u1) ...
>
> Setting up gpg (2.2.12-1+deb10u1) ...
>
> Setting up gnupg-utils (2.2.12-1+deb10u1) ...
>
> Setting up pinentry-curses (1.1.0-2) ...
>
> Setting up gpg-agent (2.2.12-1+deb10u1) ...
>
> Setting up gpgsm (2.2.12-1+deb10u1) ...
>
> Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
>
> Setting up dirmngr (2.2.12-1+deb10u1) ...
>
> Setting up gpg-wks-server (2.2.12-1+deb10u1) ...
>
> Setting up gpg-wks-client (2.2.12-1+deb10u1) ...
>
> Setting up gnupg (2.2.12-1+deb10u1) ...
>
> Setting up gnupg2 (2.2.12-1+deb10u1) ...
>
> Processing triggers for libc-bin (2.28-10) ...
>
>
>
>
>
> root at FreeSwitch-Deb10-CPU-intense:~# ls /usr
>
> bin  games  include  lib  lib32  lib64  libx32  local  sbin  share  src
>
> root at FreeSwitch-Deb10-CPU-intense:~# ls /usr/src
>
> root at FreeSwitch-Deb10-CPU-intense:~# ls /usr/local
>
> bin  etc  games  include  lib  man  sbin  share  src
>
> root at FreeSwitch-Deb10-CPU-intense:~# ls /usr/local/src
>
>
>
> root at FreeSwitch-Deb10-CPU-intense:~# fs_cli -rRS
>
> -bash: fs_cli: command not found
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
>
> --
>
> Regards,
>
>
>
> David Villasmil
>
> email: david.villasmil.work at gmail.com
>
> phone: +34669448337
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190927/cb39c113/attachment-0001.html>


More information about the FreeSWITCH-users mailing list