[Freeswitch-users] Freeswitch does not start in Debian 9/10
John Covici
covici at ccs.covici.com
Thu Jul 23 14:49:34 UTC 2020
What I do in those cases is execute the freeswitch command by hand,
eliminating the -nc parameter, if any, but leaving the -u and -g and
possibly other parameters. Also, see if there is anything in the log
file, but the first method may be enlightening.
On Thu, 23 Jul 2020 08:41:46 -0400,
John Tuxies wrote:
>
> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; UTF-8 (quoted-printable)>]
> hi Franceso and thanks for the reply. i did install from debian repo and it
> should get the systemd, but non the less, i created the file. Still
> Freeswitch refuses to start!
>
> On Thu, Jul 23, 2020 at 10:29 AM Francesco Facco de Lagarda <
> francesco at delagarda.com> wrote:
>
> > Did you create Freeswitch service?
> >
> >
> > cd /etc/systemd/system
> >
> >
> > nano freeswitch.service
> >
> > ; This file in installations built from Master can be found in
> > ; /usr/src/freeswitch.git/debian
> > ; or
> > ; /usr/src/freeswitch/debian
> > [Unit]
> > Description=freeswitch
> > After=syslog.target network.target local-fs.target
> > [Service]
> > ; service
> > Type=forking
> > PIDFile=/usr/local/freeswitch/run/freeswitch.pid
> > PermissionsStartOnly=true
> > ; blank ExecStart= line flushes the list
> > ExecStart=
> > ExecStart=/usr/local/freeswitch/bin/freeswitch -u freeswitch -g freeswitch
> > -ncwait -nonat -rp
> > TimeoutSec=45s
> > Restart=on-failure
> > ; exec
> > WorkingDirectory=/usr/local/freeswitch/bin
> > User=root
> > Group=daemon
> > LimitCORE=infinity
> > LimitNOFILE=100000
> > LimitNPROC=60000
> > ;LimitSTACK=240
> > LimitRTPRIO=infinity
> > LimitRTTIME=7000000
> > IOSchedulingClass=realtime
> > IOSchedulingPriority=2
> > CPUSchedulingPolicy=rr
> > CPUSchedulingPriority=89
> > UMask=0007
> > [Install]
> > WantedBy=multi-user.target
> >
> >
> >
> >
> >
> > Next, notify systemd to look for changes in its configuration:
> > systemctl daemon-reload
> > Now you are ready to start FreeSWITCH for the first time. Because FS is
> > owned by user freeswitch it should create its databases and log files under
> > that user (instead of root) so that those files will still be accessible to
> > it under future runs.
> > systemctl start freeswitch
> > To stop FreeSWITCH:
> > systemctl stop freeswitch
> >
> >
> > To configure FreeSWITCH to start automatically at boot time:
> > systemctl enable freeswitch
> >
> >
> >
> > To be able to launch fs_cli without having to go to bin directory, add
> > directory to path:
> >
> >
> > export PATH=$PATH:/usr/local/freeswitch/bin/
> >
> > Francesco Facco de Lagarda
> >
> >
> > On 23 Jul 2020, at 03:43, John Tuxies <atuxnull at gmail.com> wrote:
> >
> >
> > Trying to install Freeswitch in Debian 9 and 10. Both systems failed to
> > start:
> > Running hooks in
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > * /etc/ca-certificates/update.d...done.done.root at debian: ~ $ fs_cli
> > -rRS[ERROR] fs_cli.c:1691 main() Error Connecting [][INFO] fs_cli.c:1697
> > main() Retrying[ERROR] fs_cli.c:1691 main() Error Connecting
> > []^CInterrupted.root at debian: ~ $*
> >
> > I have tried to install from
> > https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster to
> > install using debian packages.
> >
> > Any suggestions, please?
> >
> >
> >
> > _________________________________________________________________________
> >
> > 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
> >
> > _________________________________________________________________________
> >
> > 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
> [1.2 <text/html; UTF-8 (quoted-printable)>]
> [2 <text/plain; utf-8 (base64)>]
> _________________________________________________________________________
>
> 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
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici at ccs.covici.com
More information about the FreeSWITCH-users
mailing list