<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 2/27/13 3:28 PM, Mino Haluz wrote:<br>
</div>
<blockquote
cite="mid:CAFA7yDTrW3ributnjubmmLRJ5uhe636ejD69Ym19r4H-a_KJLg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div style="">I have some nagios scripts binded to kamctl fifo
commands, as well as some web scripts that are directly
calling kamctl fifo statements. I do not know why, but it
sometimes returns</div>
<div style=""><br>
</div>
<div style=""><span style="color:rgb(0,0,0);font-family:'Times
New Roman';font-size:medium">** ERROR: Error opening
Kamailio's FIFO /tmp/kamailio_fifo [1] => ** ERROR: Make
sure you have the line 'modparam("mi_fifo", "fifo_name",
"/tmp/kamailio_fifo")' in your config [2] => ** ERROR:
and also have loaded the mi_fifo module.</span><br>
</div>
<div style=""><span style="color:rgb(0,0,0);font-family:'Times
New Roman';font-size:medium"><br>
</span></div>
<div style=""><font face="Times New Roman" size="3"
color="#000000">when it is called with web script with
www-data account. From shell it works everytime, but with
web 20% of results are errors. Other 80% are sucessful, so
no problem with permissions.</font></div>
<div style=""><font face="Times New Roman" size="3"
color="#000000"><br>
</font></div>
<div style=""><font face="Times New Roman" size="3"
color="#000000">Does mi_fifo support multiple access, are
there any other limits in this regard ? Within OS level?</font></div>
</div>
</blockquote>
<font size="3"><font face="Times New Roman">fifo file cannot queue <font
size="3">that much content, so if you have <font size="3">lot
of commands executed at some time, you have cha<font
size="3">nces to get some of them lost.<br>
<br>
<font size="3"><font size="3">However, this problem seems
to be access issue, be sure that the 80% which are ok
are not d<font size="3">one under a privilege
escalation mode. You can set in mi_fifo module the
user/group of the fifo file, better set it to som<font
size="3">ething accessible always by web <font
size="3">user in your case. From command line
works probably because of being root.<br>
<br>
<font size="3">Cheers,<br>
<font size="3">Daniel</font></font></font></font></font>
</font></font><br>
</font></font></font></font></font>
<blockquote
cite="mid:CAFA7yDTrW3ributnjubmmLRJ5uhe636ejD69Ym19r4H-a_KJLg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style=""><font face="Times New Roman" size="3"
color="#000000"><br>
</font></div>
<div style=""><font face="Times New Roman" size="3"
color="#000000">kamailio-3.3.4</font></div>
<div style=""><font face="Times New Roman" size="3"
color="#000000"><br>
</font></div>
<div style=""><font face="Times New Roman" size="3"
color="#000000">Thanks,</font></div>
<div style=""><font face="Times New Roman" size="3"
color="#000000">Mino</font></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, April 16-17, 2013, Berlin
- <a class="moz-txt-link-freetext" href="http://conference.kamailio.com">http://conference.kamailio.com</a> -</pre>
</body>
</html>