[OpenSIPS-Users] Cannot connect to OpenSIPS Server via Management Interface (127.0.0.1/8000)

vip killa vipkilla at gmail.com
Thu Mar 10 16:17:26 CET 2011


thanks, that worked.
I had tried this:
modparam("mi_fifo", "fifo_group", "www-data")
but when i restarted opensips, it didn't create the file.
is having the file writeable by world secure?


On Thu, Mar 10, 2011 at 10:12 AM, Max Mühlbronner <mm at 42com.com> wrote:

>
> If it is in a different path or named differently, you need to adjust it.
> Are the mi_fifo modparams set in opensips.cfg?
>
> # ----- mi_fifo params -----
> modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
> modparam("mi_fifo", "fifo_mode", 0666)
>
>
>
> Am 10.03.2011 16:03, schrieb vip killa:
>
> i made the change, now i'm getting:
>    Array ( [0] => sorry -- cannot open write fifo [1] => sorry -- cannot
> open write fifo )
>
>
> On Thu, Mar 10, 2011 at 9:59 AM, Max Mühlbronner <mm at 42com.com> wrote:
>
>>  Uh, typo...
>>
>>
>> change  $boxes[$box_id]['mi']['conn']="127.0.0.1:8000";  to
>> $boxes[$box_id]['mi']['conn']="/tmp/opensips_fifo";
>>
>>
>> Sorry :)
>>
>> Max M.
>>
>> Am 10.03.2011 15:58, schrieb Max Mühlbronner:
>>
>> Hi,
>>
>> it´s simple, if you are runnin both opensips and opensips-cp on the same
>> server you need to configure: /config/boxes.global.inc.php
>>
>> $boxes[$box_id]['mi']['conn']="/tmp/opensips_fifo";
>>
>> change it to:
>>
>> $boxes[$box_id]['mi']['conn']="127.0.0.1:8000";
>>
>>
>> but if they are running on the same server, you could just install xmlrpc
>> module in opensips / load it and start it on port 8000. Then it will work
>> also :)
>>
>>
>> Best Regards
>>
>> Max M.
>>
>> Am 10.03.2011 15:38, schrieb vip killa:
>>
>> I've installed opensips-1.6.4-2-notls with opensips-cp but in opensips cp
>> i'm getting this error:
>> Cannot connect to OpenSIPS Server via Management Interface (
>> 127.0.0.1/8000)
>> i believe this error is related to the opensips_fifo, but im not sure and
>> im
>> new to opensips.
>> Everything else works in opensips-cp.
>> could someone help me out? thanks
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110310/8ffcf06d/attachment.htm>


More information about the Users mailing list