<div dir="ltr"><font color="#073763">Hello Bogdan,</font><div><font color="#073763"> Thank you for the help,but i'm unable to find where to update OSIPS_FIFO other then in opensipsctrl,</font></div><div><br></div><div><font color="#073763">Config :</font><br>
<p class="MsoNormal"><font color="#ff0000">binary : opensips1</font></p>
<p class="MsoNormal"><font color="#ff0000">Config File : opensips1.cfg</font></p><p class="MsoNormal" style="text-indent:0px"><span style="text-indent:0.5in"><font color="#ff0000"> modparam("mi_fifo",
"fifo_name", "/tmp/opensips1")</font></span></p><p class="MsoNormal" style="margin-left:0.5in;text-indent:0.5in"><font color="#ff0000"></font></p>
<p class="MsoNormal"><font color="#ff0000"> modparam("mi_fifo", "fifo_mode", 0666)</font></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><font color="#ff9900">binary : opensips2</font></p>
<p class="MsoNormal"><font color="#ff9900">Config File : opensips2.cfg</font></p>
<p class="MsoNormal" style="margin-left:0.5in;text-indent:0.5in"><font color="#ff9900">modparam("mi_fifo",
"fifo_name", "/tmp/opensips2")</font></p>
<p class="MsoNormal"><font color="#ff9900"> modparam("mi_fifo", "fifo_mode", 0666)</font></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><font color="#073763">binary :
opensipsctl</font></p>
<p class="MsoNormal"><font color="#073763">Config File :
opensipsctlrc</font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763">ase 1:</font></p><p class="MsoNormal"><font color="#073763">Config :</font></p><p class="MsoNormal"><font color="#073763">## path to FIFO file</font></p><p class="MsoNormal"><font color="#073763">#OSIPS_FIFO="/tmp/opensips_fifo" (commented out)</font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763">FIFO Command : <span class="" style="white-space:pre">        </span>opensipsctl fifo arg</font></p><p class="MsoNormal"><font color="#073763">Output : <span class="" style="white-space:pre">                 </span>"ERROR: /tmp/opensips_fifo does not exist"</font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763">Case 2:</font></p><p class="MsoNormal"><font color="#073763">Config :</font></p><p class="MsoNormal"><font color="#073763">## path to FIFO file</font></p><p class="MsoNormal"><font color="#073763">OSIPS_FIFO="/tmp/opensips1"</font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763">FIFO Command : <span class="" style="white-space:pre">        </span>opensipsctl fifo arg</font></p><p class="MsoNormal"><font color="#073763">Output : <span class="" style="white-space:pre">                 </span>Displays valid data</font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763">Case 3 :</font></p><p class="MsoNormal"><font color="#073763">Config :</font></p><p class="MsoNormal"><font color="#073763">## path to FIFO file</font></p><p class="MsoNormal"><font color="#073763">OSIPS_FIFO="/tmp/opensips2"</font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763">FIFO Command : <span class="" style="white-space:pre">        </span>opensipsctl fifo arg</font></p><p class="MsoNormal"><font color="#073763">Output : <span class="" style="white-space:pre">                 </span>Displays valid data</font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763">We have only one opensipsctl binary,is there a way that we can have two opensipsctlrc files and pass it as an argument to</font></p><p class="MsoNormal"><font color="#073763">opensipsctl,which will prevent us from modifying opensipsctlrc.Thank you for your time.</font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763"><br></font></p><p class="MsoNormal"><font color="#073763">Regards,</font></p><p class="MsoNormal"><font color="#073763">Ravitez.D</font></p><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 9:40 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Assuming you use FIFO backend for MI, have you configured
different fifo files in the 2 instances ? If so, you can do <br>
<br>
OSIPS_FIFO=/tmp_my_fifo opensipsctl fifo ps<br>
<br>
be sure you have no FIFO defined in the opensipsctlrc file (by
default it;s not)<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>On 07.01.2016 15:08, Ravitez Ravi
wrote:<br>
</div>
<blockquote type="cite">
<p dir="ltr">Hello Bogdan,<br>
Good Day,<br>
It's over MI, say if I execute
"opensipctrl fifo ps" it shows data related to "opensips2",is
there a way to specify which process to get data from.<br>
Thank you.</p>
<p dir="ltr">Regards,<br>
Ravitez.D</p>
<div class="gmail_quote">On Jan 7, 2016 3:09 AM, "Bogdan-Andrei
Iancu" <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Ravi,<br>
<br>
When you say "picks up data from opensips2" - it is data
over MI or data from DB ?<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>On 06.01.2016 23:04, Ravitez Ravi wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello All,
<div> Good Day and a Happy New Year.</div>
<div> I have two instances of openSips(V1.11)
executable running say "opensips1" and "opensips2"</div>
<div> when i execute opensipsctl it always
picks up data from "opensips2" is there a way that we
can</div>
<div> choose which executable to pick.Thank
you for the help.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Ravitez.D</div>
<div> </div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote></div><br></div>