<div dir="ltr">Yes, I&#39;m running opensips as root.<div><br></div><div>--- Jayesh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 13, 2014 at 6:54 PM, Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;</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">
    <div><tt>Are you running opensips as user
        root?</tt><br>
      <pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div class="h5">
      On 11/12/2014 11:06 AM, Jayesh Nambiar wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">I understand this is supposed to work out of the
        box, but it is not. Any traces, debugging or something that I
        can do to figure this out?? My installation was simple with make
        menuconfig where I configured the prefix as /usr/local/. Added
        some additional modules I needed and compiled and installed.
        <div>I haven&#39;t made any changes in the default opensipsctlrc
          file and osipsconsolerc file. Anything to be done for these
          files??</div>
        <div><br>
        </div>
        <div>Thanks for any pointers,</div>
        <div><br>
        </div>
        <div>--- Jayesh</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Nov 8, 2014 at 5:20 PM, Jayesh
          Nambiar <span dir="ltr">&lt;<a href="mailto:jayesh1017@gmail.com" target="_blank">jayesh1017@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi,
              <div>I am currently running opensips 2.1 version. From my
                script, based on a certain event I execute exec command
                as follows:</div>
              <div>exec_avp(&quot;/usr/local/sbin/opensipsctl fifo
                t_uac_cancel $avp(caller_cid) $avp(caller_cseq)&quot;,
                &quot;$avp(result)&quot;)</div>
              <div>But the syslog always shows error as:</div>
              <div>
                <p><span>Nov  8 11:40:05 v146
                    /usr/local/sbin/opensips[17362]:
                    ERROR:mi_fifo:mi_open_reply_pipe: open error
                    (/tmp/osips_rply_598a709a): No such file or
                    directory</span></p>
                <p><span>Nov  8 11:40:05 v146
                    /usr/local/sbin/opensips[17362]:
                    ERROR:mi_fifo:mi_fifo_server: cannot open reply pipe
                    /tmp/osips_rply_598a709a</span></p>
                <p><span>But if I execute the same command from the
                    shell it executes properly and behaves as expected.
                    I am running opensips as root user and root group.
                    My mi_fifo parameters are as follows:</span></p>
                <p><span>modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;,
                    &quot;/tmp/opensips_fifo&quot;)</span></p>
                <p>modparam(&quot;mi_fifo&quot;, &quot;fifo_mode&quot;, 0755)</p>
                <p><span>modparam(&quot;mi_fifo&quot;, &quot;fifo_user&quot;, &quot;root&quot;)</span></p>
                <p><span>
                  </span></p>
                <p><span>modparam(&quot;mi_fifo&quot;, &quot;fifo_group&quot;, &quot;root&quot;)</span></p>
                <p>I even tried changing the reply fifo parameter to a
                  different directory and gave 0777 permission to that
                  directory, but it didn&#39;t help. My current tmp
                  directory is also running with 0777 permissions but
                  the error is still same. Any suggestion on what
                  opensips fifo is doing when I execute the t_uac_cancel
                  from the script directly?? I&#39;ve tried all possible
                  permission related stuff but nothing seems to help
                  here. Let me know if there&#39;s any direction that I
                  could take !!</p>
                <span><font color="#888888">
                    <p>--- Jayesh<br>
                    </p>
                  </font></span></div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><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>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>