<div dir="ltr"><div>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!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 23, 2020 at 10:29 AM Francesco Facco de Lagarda <<a href="mailto:francesco@delagarda.com">francesco@delagarda.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Did you create Freeswitch service?<div><br></div><div><br></div><div><div><span style="font-size:11pt;color:rgb(23,43,77);font-family:ConfluenceInstalledFont"> cd /etc/systemd/system</span></div><div style="margin:10px 0px 0px;padding:0px;font-size:14px"><div><br></div><div><br></div></div><div style="margin:10px 0px 0px;padding:0px;font-size:14px"><span style="color:rgb(23,43,77);font-family:ConfluenceInstalledFont,monospace;font-variant-ligatures:normal">nano freeswitch.service</span></div><div style="margin:10px 0px 0px;padding:0px;font-size:14px"><br></div><div><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><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><span style="font-size:11pt"><span style="font-size:11pt;color:rgb(23,43,77);font-family:"Courier New"">; or</span></span></div><div><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><span style="font-size:11pt"><span style="font-size:11pt;color:rgb(23,43,77);font-family:"Courier New"">[Unit]</span></span></div><div><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><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></div><div><span style="font-size:11pt"><span style="font-size:11pt;color:rgb(23,43,77);font-family:"Courier New"">[Service]</span></span></div><div><span style="font-size:11pt"><span style="font-size:11pt;color:rgb(23,43,77);font-family:"Courier New"">; service</span></span></div><div><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><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><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><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><span style="font-size:11pt"><span style="font-size:11pt;color:rgb(23,43,77);font-family:"Courier New"">ExecStart=</span></span></div><div><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><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><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><span style="font-size:11pt"><span style="font-size:11pt;color:rgb(23,43,77);font-family:"Courier New"">; exec</span></span></div><div><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><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><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><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><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><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><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><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><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><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><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><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><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><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></div><div><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="margin:10px 0px 0px;padding:0px;font-size:14px"><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="margin:10px 0px 0px;padding:0px;font-size:14px"><br></div><div style="margin:10px 0px 0px;padding:0px;font-size:14px"><br></div><div style="margin:10px 0px 0px;padding:0px;font-size:14px"><br></div><div style="margin:10px 0px 0px;padding:0px;font-size:14px"><br></div><div style="margin:10px 0px 0px;padding:0px;font-size:14px"><br></div><div style="margin:10px 0px 0px;padding:0px;font-size:14px;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="margin:10px 0px 0px;padding:0px;font-size:14px;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="margin:10px 0px 0px;padding:0px;font-size:14px;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="margin:10px 0px 0px;padding:0px;font-size:14px;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="margin:10px 0px 0px;padding:0px;font-size:14px;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="margin:10px 0px 0px;padding:0px;font-size:14px;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="margin:10px 0px 0px;padding:0px;font-size:14px;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="margin:10px 0px 0px;padding:0px;font-size:14px;background-color:rgb(255,255,255)"><span style="color:rgb(23,43,77);font-family:ConfluenceInstalledFont,monospace;font-variant-ligatures:normal"><div style="color:rgb(0,0,0);margin:10px 0px 0px;padding:0px"><br></div><div style="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="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="color:rgb(0,0,0)"><span style="background-color:rgb(245,245,245);font-size:10pt"><br></span></div><div style="color:rgb(0,0,0)"><span style="background-color:rgb(245,245,245);font-size:10pt"><br></span></div><div style="color:rgb(0,0,0)"><span style="background-color:rgb(245,245,245);font-size:10pt"><br></span></div><div style="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="color:rgb(0,0,0)"><span style="background-color:rgb(245,245,245);font-size:10pt"><br></span></div><div style="color:rgb(0,0,0)"><span style="background-color:rgb(245,245,245);font-size:10pt"><br></span></div><div style="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 <<a href="mailto:atuxnull@gmail.com" target="_blank">atuxnull@gmail.com</a>> 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" target="_blank">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 <a href="https://signalwire.com" target="_blank">https://signalwire.com</a></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 <a href="https://signalwire.community" target="_blank">https://signalwire.community</a></span><br><span></span><br><span>Professional FreeSWITCH Services</span><br><span><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a></span><br><span><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a></span><br><span><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a></span><br><span><a href="https://cluecon.com" target="_blank">https://cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a></span></div></blockquote></div></div></div>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>