<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Monaco;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1555581370;
mso-list-type:hybrid;
mso-list-template-ids:-1391177004 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Yes. I think we had a similar problem in ,I think, two situations.<o:p></o:p></span></a></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">The file system database can get messed up.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><span style="mso-list:Ignore">a.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Stop FS<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><span style="mso-list:Ignore">b.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">You can clear then via rm /export/Apps/freeswitch/var/lib/freeswitch/db/*<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><span style="mso-list:Ignore">c.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Restart FS<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">If there is an error in the configuration files.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><span style="mso-list:Ignore">a.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Take a look at /export/Apps/freeswitch/var/log/freeswitch/freeswitch.xml.fsxml to see if there are any errors in XML.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">You can get more details of start problem via:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> journalctl -xn<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> systemctl status freeswitch.service<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> if you do not get enough details, try starting FS directly and you might get more details via:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> /…/bin/freeswitch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Robert Mundkowsky<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b>On Behalf Of </b>Rick Jarvis<br>
<b>Sent:</b> Wednesday, June 28, 2017 7:44 AM<br>
<b>To:</b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org><br>
<b>Subject:</b> [Freeswitch-users] FS service issues (systemd)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><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. <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Here’s my .service file (not sure if this is the issue, I'd welcome any comments / better versions?)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">[Unit]<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">Description=freeswitch<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">After=syslog.target network-online.target local-fs.target<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">[Service]<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">; service<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">Type=forking<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">PIDFile=/run/freeswitch/freeswitch.pid<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">PermissionsStartOnly=true<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">ExecStart=/usr/bin/freeswitch -ncwait -nonat<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">ExecStop=/usr/bin/fs_cli -x shutdown<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">TimeoutSec=45s<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">Restart=always<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">; exec<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">RuntimeDirectory=freeswitch<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">RuntimeDirectoryMode=0755<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">User=freeswitch<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">Group=freeswitch<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">LimitCORE=infinity<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">LimitNOFILE=100000<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">LimitNPROC=60000<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">;LimitSTACK=240<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">LimitRTPRIO=infinity<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">LimitRTTIME=7000000<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">IOSchedulingClass=realtime<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">IOSchedulingPriority=2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">CPUSchedulingPolicy=rr<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">CPUSchedulingPriority=89<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">UMask=0007<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4">[Install]<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Monaco",serif;color:#F4F4F4"><br>
<br>
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<br>
<hr>
<p>This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender;
do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.</p>
<br>
<p>Thank you for your compliance.</p>
<hr>
</body>
</html>