<div dir="ltr">If you compiled FreeSWITCH, you might want to edit these two lines accordingly. However, if this is a packaged version of FreeSWITCH, this may not be the answer.<div><p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"><s><br></s></p><p style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"><s>PIDFile=/run/freeswitch/freeswitch.pid</s></p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">PIDFile=/usr/local/freeswitch/run/freeswitch.pid</p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"> </p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"><s>ExecStart=/usr/bin/freeswitch</s></p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">ExecStart=/usr/local/freeswitch/bin/freeswitch</p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"><br></p><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px">the do the systemctl stuff</p><div class="gmail-line gmail-number1 gmail-index0 gmail-alt2" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;font-size:14px;color:rgb(51,51,51);margin:0px;padding:0px 1em 0px 0px;border-radius:0px;background:none black;border:0px;float:none;height:auto;line-height:20px;outline:0px;overflow:visible;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:auto;white-space:nowrap"><code class="gmail-xml gmail-plain" style="white-space:pre-wrap;font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:auto;color:rgb(211,211,211)">systemctl daemon-reload</code></div><div class="gmail-line gmail-number2 gmail-index1 gmail-alt1" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;font-size:14px;color:rgb(51,51,51);margin:0px;padding:0px 1em 0px 0px;border-radius:0px;background:none black;border:0px;float:none;height:auto;line-height:20px;outline:0px;overflow:visible;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:auto;white-space:nowrap"><code class="gmail-xml gmail-plain" style="white-space:pre-wrap;font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:auto;color:rgb(211,211,211)">systemctl enable freeswitch</code></div><div class="gmail-line gmail-number3 gmail-index2 gmail-alt2" style="font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;font-size:14px;color:rgb(51,51,51);margin:0px;padding:0px 1em 0px 0px;border-radius:0px;background:none black;border:0px;float:none;height:auto;line-height:20px;outline:0px;overflow:visible;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:auto;white-space:nowrap"><code class="gmail-xml gmail-plain" style="white-space:pre-wrap;font-family:Consolas,"Bitstream Vera Sans Mono","Courier New",Courier,monospace;border-radius:0px;background:none;border:0px;float:none;height:auto;line-height:20px;margin:0px;outline:0px;overflow:visible;padding:0px;vertical-align:baseline;width:auto;box-sizing:content-box;min-height:auto;color:rgb(211,211,211)">systemctl start freeswitch</code></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 28, 2017 at 7:43 AM, Rick Jarvis <span dir="ltr"><<a href="mailto:rick@magicmail.mooo.com" target="_blank">rick@magicmail.mooo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br>
Got a weird issue where FS isn’t starting up correctly. Looking at the logs, it appears just to be attempting to restart SIP profiles (and failing), and that’s about it. There’s no socket for fs_cli, and a simple ‘systemctl restart’ fixes it. Anyone had something like this? I’ve tried fixing it with systemd after / requires, but it hasn’t helped. <div><br></div><div>Here’s my .service file (not sure if this is the issue, I'd welcome any comments / better versions?)</div><div><br></div><div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">[Unit]</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">Description=freeswitch</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">After=syslog.target network-online.target local-fs.target</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">[Service]</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">; service</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">Type=forking</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">PIDFile=/run/freeswitch/<wbr>freeswitch.pid</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">PermissionsStartOnly=true</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">ExecStart=/usr/bin/freeswitch -ncwait -nonat</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">ExecStop=/usr/bin/fs_cli -x shutdown</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">TimeoutSec=45s</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">Restart=always</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">; exec</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">RuntimeDirectory=freeswitch</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">RuntimeDirectoryMode=0755</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">User=freeswitch</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">Group=freeswitch</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">LimitCORE=infinity</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">LimitNOFILE=100000</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">LimitNPROC=60000</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">;LimitSTACK=240</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">LimitRTPRIO=infinity</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">LimitRTTIME=7000000</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">IOSchedulingClass=realtime</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">IOSchedulingPriority=2</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">CPUSchedulingPolicy=rr</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">CPUSchedulingPriority=89</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">UMask=0007</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures">[Install]</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><br></div><div><br></div></div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>