<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Did you create Freeswitch service?<div><br></div><div><br></div><div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: ConfluenceInstalledFont;"> cd /etc/systemd/system</span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><div><br></div><div><br></div></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><span style="color: rgb(23, 43, 77); font-family: ConfluenceInstalledFont, monospace; font-variant-ligatures: normal;">nano freeswitch.service</span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><br></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">; This file in installations built from Master can be found in</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">; /usr/src/freeswitch.git/debian</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">; or</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">; /usr/src/freeswitch/debian</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">[Unit]</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">Description=freeswitch</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">After=syslog.target network.target local-fs.target</span></span></div><div style="-webkit-text-size-adjust: auto;"></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">[Service]</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">; service</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">Type=forking</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">PIDFile=/usr/local/freeswitch/run/freeswitch.pid</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">PermissionsStartOnly=true</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">; blank ExecStart= line flushes the list</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">ExecStart=</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">ExecStart=/usr/local/freeswitch/bin/freeswitch -u freeswitch -g freeswitch -ncwait -nonat -rp</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">TimeoutSec=45s</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">Restart=on-failure</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">; exec</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">WorkingDirectory=/usr/local/freeswitch/bin</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">User=root</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">Group=daemon</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">LimitCORE=infinity</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">LimitNOFILE=100000</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">LimitNPROC=60000</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">;LimitSTACK=240</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">LimitRTPRIO=infinity</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">LimitRTTIME=7000000</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">IOSchedulingClass=realtime</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">IOSchedulingPriority=2</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">CPUSchedulingPolicy=rr</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">CPUSchedulingPriority=89</span></span></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">UMask=0007</span></span></div><div style="-webkit-text-size-adjust: auto;"></div><div style="-webkit-text-size-adjust: auto;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New";">[Install]</span></span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><span style="font-size: 11pt;"><span style="font-size: 11pt; color: rgb(23, 43, 77); font-family: "Courier New"; font-variant-ligatures: normal;">WantedBy=multi-user.target</span></span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><br></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><br></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><br></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><br></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2;"><br></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-variant-ligatures: normal;">Next, notify systemd to look for changes in its configuration:</span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(23, 43, 77); font-family: ConfluenceInstalledFont, monospace; font-variant-ligatures: normal;">systemctl daemon-reload</span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-variant-ligatures: normal;">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.</span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(23, 43, 77); font-family: ConfluenceInstalledFont, monospace; font-variant-ligatures: normal;">systemctl start freeswitch</span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-variant-ligatures: normal;">To stop FreeSWITCH:</span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(23, 43, 77); font-family: ConfluenceInstalledFont, monospace; font-variant-ligatures: normal;">systemctl stop freeswitch</span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(23, 43, 77); font-family: ConfluenceInstalledFont, monospace; font-variant-ligatures: normal;"><br></span></div><div style="-webkit-text-size-adjust: auto; margin: 10px 0px 0px; padding: 0px; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);"><span style="color: rgb(23, 43, 77); font-family: ConfluenceInstalledFont, monospace; font-variant-ligatures: normal;"><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); margin: 10px 0px 0px; padding: 0px;"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); margin: 10px 0px 0px; padding: 0px;"><span style="color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-variant-ligatures: normal;">To configure FreeSWITCH to start automatically at boot time:</span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); margin: 10px 0px 0px; padding: 0px;"><span style="color: rgb(23, 43, 77); font-variant-ligatures: normal;">systemctl enable freeswitch</span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="background-color: rgb(245, 245, 245); font-size: 10pt;"><br></span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="background-color: rgb(245, 245, 245); font-size: 10pt;"><br></span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="background-color: rgb(245, 245, 245); font-size: 10pt;"><br></span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="background-color: rgb(245, 245, 245); font-size: 10pt;">To be able to launch fs_cli without having to go to bin directory, add directory to path:</span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="background-color: rgb(245, 245, 245); font-size: 10pt;"><br></span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><span style="background-color: rgb(245, 245, 245); font-size: 10pt;"><br></span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">export PATH=$PATH:/usr/local/freeswitch/bin/</div></span></div><div><br><div dir="ltr">Francesco Facco de Lagarda<div><br></div></div><div dir="ltr"><br><blockquote type="cite">On 23 Jul 2020, at 03:43, John Tuxies <atuxnull@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Trying to install Freeswitch in Debian 9 and 10. Both systems failed to start:</div><div>Running hooks in</div><div><font size="1"><i><b> /etc/ca-certificates/update.d...<br><br>done.<br>done.<br>root@debian: ~ $ fs_cli -rRS<br>[ERROR] fs_cli.c:1691 main() Error Connecting []<br>[INFO] fs_cli.c:1697 main() Retrying<br>[ERROR] fs_cli.c:1691 main() Error Connecting []<br>^CInterrupted.<br>root@debian: ~ $<br></b></i></font></div><div><br></div><div>I have tried to install from <a href="https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster">https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster</a> to install using debian packages.</div><div><br></div><div>Any suggestions, please?<br></div><div><br></div><div><br></div><div><br></div></div>
<span>_________________________________________________________________________</span><br><span></span><br><span>The FreeSWITCH project is sponsored by SignalWire https://signalwire.com</span><br><span>Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.</span><br><span>Build your next product on our scalable cloud platform.</span><br><span></span><br><span>Join our online community to chat in real time https://signalwire.community</span><br><span></span><br><span>Professional FreeSWITCH Services</span><br><span>sales@freeswitch.com</span><br><span>https://freeswitch.com</span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span>https://freeswitch.com/oss</span><br><span>https://freeswitch.org/confluence</span><br><span>https://cluecon.com</span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span>FreeSWITCH-users@lists.freeswitch.org</span><br><span>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span>https://freeswitch.com</span></div></blockquote></div></div></body></html>