<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
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.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {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:595.0pt 842.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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 bgcolor=white lang=FR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>Hi Stephen,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>I had similar issues fix by changes in the kamailio.cfg and kamctlrc files, but also in the Kamailio rpm as well recently fixed. Are you using the latest Kamailio 5.0.1 release?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>If so please review you config file as I think your problem is related to such entries:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>In my Kamailio.cfg I have the following :<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>!!define DEFINE_FIFO_NAME "/var/run/kamailio/kamailio_rpc_fifo"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>loadmodule "jsonrpcs.so"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>modparam("jsonrpcs", "pretty_format", 1)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>modparam("jsonrpcs", "transport", 2)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>modparam("jsonrpcs", "fifo_name", DEFINE_FIFO_NAME)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>modparam("jsonrpcs", "fifo_mode", 0755)<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>modparam("jsonrpcs", "fifo_group", "kamailio")<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>modparam("jsonrpcs", "fifo_user", "kamailio")<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>you should have also in the kamctlrc file this enty that matches the one in the Kamailio.cfg :<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>## path to FIFO file for engine RPCFIFO<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'># RPCFIFOPATH="/var/run/kamailio/kamailio_rpc_fifo"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>In the latest 5.0.1, the Kamailio script has been change to handle the rights on the /var/run/Kamailio folder.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>I hope this helps.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D;mso-fareast-language:FR'>Cordialement<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:#1F497D;mso-fareast-language:FR'>Patrick GINHOUX</span><span style='font-size:11.0pt;color:#1F497D;mso-fareast-language:FR'><o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;mso-fareast-language:FR'>De :</span></b><span style='font-size:11.0pt;mso-fareast-language:FR'> sr-users [mailto:sr-users-bounces@lists.kamailio.org] <b>De la part de</b> Stephen Tyers<br><b>Envoyé :</b> vendredi 28 avril 2017 13:31<br><b>À :</b> sr-users@lists.kamailio.org<br><b>Objet :</b> [SR-Users] Cannot get service to start<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Hi Apologies,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>I was a bit hasty in my previous email, I forgot to run the Chown command<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>I still can’t get the service to start and I’m getting the below error. I’ve gone through all the steps multiple times, please help.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt'>/etc/init.d/kamailio start<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt'>[....] Starting kamailio (via systemctl): kamailio.serviceFailed to start kamailio.service: Unit kamailio.service failed to load: No such file or directory.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt'> failed!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Kind regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt'>Stephen tyers<o:p></o:p></span></p></div></body></html>