<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Stanislav: I applied this manually as described, but no joy unfortunately.<div class=""><br class=""></div><div class="">Covici: I created /var/run/freeswitch as a directory just in case</div><div class=""><br class=""></div><div class="">Brian: systemctl status freeswitch.service shows:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">root@voice:/lib/systemd/system# systemctl status freeswitch</div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">●</span> freeswitch.service - freeswitch</div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""> Loaded: loaded (/etc/systemd/system/freeswitch.service; enabled)</div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""> Active: <span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">failed</span> (Result: start-limit) since Mon 2015-10-19 23:19:25 BST; 4s ago</div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""> Process: 1546 ExecStart=/usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait $DAEMON_OPTS <span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">(code=exited, status=1/FAILURE)</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 19px;" class=""><br class=""></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">Oct 19 23:19:25 voice systemd[1]: </span>freeswitch.service: control process exited, code=exited status=1</div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Oct 19 23:19:25 voice systemd[1]: <span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">Failed to start freeswitch.</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">Oct 19 23:19:25 voice systemd[1]: </span>Unit freeswitch.service entered failed state.</div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">Oct 19 23:19:25 voice systemd[1]: </span>freeswitch.service start request repeated too quickly, refusing to start.</div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Oct 19 23:19:25 voice systemd[1]: <span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">Failed to start freeswitch.</span></div><div style="margin: 0px; font-size: 14px; font-family: Monaco; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #f5f5f5" class="">Oct 19 23:19:25 voice systemd[1]: </span>Unit freeswitch.service entered failed state.</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 19 Oct 2015, at 22:39, Stanislav Sinyagin <<a href="mailto:ssinyagin@gmail.com" class="">ssinyagin@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">I fixed it in master, and the new 1.6 version is not released yet.<br class="">You can take a copy of the service file here<br class=""><a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/debian/freeswitch-systemd.freeswitch.service" class="">https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/debian/freeswitch-systemd.freeswitch.service</a><br class=""><br class="">and install it manually as /lib/systemd/system/freeswitch.service<br class=""><br class="">Then,<br class=""><br class="">systemctl daemon-reload<br class="">systemctl enable freeswitch<br class=""><br class="">this should work with the latest 1.6 (probably with 1.4 too).<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">On Mon, Oct 19, 2015 at 11:14 PM, <rick.jarvis@magicmail.mooo.com> wrote:<br class=""><blockquote type="cite" class="">Nothing in /var/log/freeswitch/freeswitch.log<br class=""><br class="">Results of running it at command line below. I’ve tried running it with ‘c’<br class="">instead of ‘ncwait’ as well, but it complains about the pid<br class=""><br class="">root@voice:/etc/systemd/system# /usr/bin/freeswitch -u freeswitch -g<br class="">freeswitch -ncwait -nonat -rp<br class="">1349 Backgrounding.<br class="">FreeSWITCH[1348] Error starting system! pid:1349<br class="">root@voice:/etc/systemd/system# /usr/bin/freeswitch -u freeswitch -g<br class="">freeswitch -c -nonat -rp<br class="">Cannot open pid file /var/run/freeswitch/freeswitch.pid.<br class=""><br class="">On 19 Oct 2015, at 22:01, covici@ccs.covici.com wrote:<br class=""><br class="">Something is preventing fs from starting and systemd keeps trying, but<br class="">eventually gives up. Can you start it by hand with the same parameters?<br class="">Can you check the freeswitch.log and see if that says anything?<br class=""><br class="">rick.jarvis@magicmail.mooo.com wrote:<br class=""><br class="">This is my first Jessie install, so trying to get my head around systemd.<br class=""><br class="">I’ve installed from repos, and it all works fine with ‘service start<br class="">freeswitch’ as I used to use. However, as update-rc.d doesn’t work for<br class="">starting on boot, I figured this is due to the startup changes in jessie.<br class=""><br class="">So I followed this to the letter:<br class=""><br class="">https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video<https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video><br class=""><br class="">But no joy:<br class=""><br class="">root@voice:/etc/systemd/system# systemctl start freeswitch<br class="">Job for freeswitch.service failed. See 'systemctl status freeswitch.service'<br class="">and 'journalctl -xn' for details.<br class="">root@voice:/etc/systemd/system# systemctl status freeswitch.service<br class="">● freeswitch.service - freeswitch<br class=""> Loaded: loaded (/lib/systemd/system/freeswitch.service; disabled)<br class=""> Active: failed (Result: start-limit) since Mon 2015-10-19 21:47:53 BST;<br class="">26s ago<br class=""> Process: 1215 ExecStart=/usr/bin/freeswitch -u freeswitch -g freeswitch<br class="">-ncwait -nonat -rp (code=exited, status=1/FAILURE)<br class=""><br class="">Oct 19 21:47:53 voice systemd[1]: freeswitch.service: control process<br class="">exited, code=exited status=1<br class="">Oct 19 21:47:53 voice systemd[1]: Failed to start freeswitch.<br class="">Oct 19 21:47:53 voice systemd[1]: Unit freeswitch.service entered failed<br class="">state.<br class="">Oct 19 21:47:53 voice systemd[1]: freeswitch.service start request repeated<br class="">too quickly, refusing to start.<br class="">Oct 19 21:47:53 voice systemd[1]: Failed to start freeswitch.<br class="">Oct 19 21:47:53 voice systemd[1]: Unit freeswitch.service entered failed<br class="">state.<br class=""><br class=""><br class="">What am I doing wrong?<br class="">----------------------------------------------------<br class="">Alternatives:<br class=""><br class="">----------------------------------------------------<br class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class="">consulting@freeswitch.org<br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org<br class=""><br class="">--<br class="">Your life is like a penny. You're going to lose it. The question is:<br class="">How do<br class="">you spend it?<br class=""><br class=""> John Covici<br class=""> covici@ccs.covici.com<br class=""><br class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class="">consulting@freeswitch.org<br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org<br class=""><br class=""><br class=""><br class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class="">consulting@freeswitch.org<br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org<br class=""></blockquote><br class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class="">consulting@freeswitch.org<br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>