[OpenSIPS-Users] fifo not found

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Oct 24 06:26:57 UTC 2023


Hi,

See the opensips-cli documentation
     https://github.com/OpenSIPS/opensips-cli#configuration

In the CLI cfg file you can set a custom `|fifo_file` value, so that it 
will align with the value you have in the opensips cfg file.

Regards,
|

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 10/24/23 8:17 AM, Saint Michael wrote:
> I am using opensips 3.4
> my /etc/opensips/opensips.cfg has
>
> loadmodule "mi_fifo.so"
> modparam("mi_fifo", "fifo_name", "/home/opensips/opensips_fifo")
> modparam("mi_fifo", "fifo_mode", 0666)
>
> and it does exists:
> file /home/opensips/opensips_fifo
> /home/opensips/opensips_fifo: fifo (named pipe)
>
> stat /home/opensips/opensips_fifo
>    File: /home/opensips/opensips_fifo
>    Size: 0               Blocks: 0          IO Block: 4096   fifo
> Device: fe00h/65024d    Inode: 21530043    Links: 1
> Access: (0666/prw-rw-rw-)  Uid: ( 1001/opensips)   Gid: ( 1001/opensips)
> Access: 2023-10-24 01:13:01.766009199 -0400
> Modify: 2023-10-24 01:13:01.766009199 -0400
> Change: 2023-10-24 01:13:01.766009199 -0400
>
> opensips is running
>   ps ax | grep opensips
>   /usr/local/sbin/opensips -P /run/opensips/opensips.pid -f
> /etc/opensips/opensips.cfg -m 5096 -M
> ....
>
> but
> /usr/local/bin/opensips-cli -x mi address_reload
>
> ERROR: fifo file /tmp/opensips_fifo does not exist!
> ERROR: Is OpenSIPS running?
>
> it is trying to find opensips_fifo at the default place, how do  make
> it look in the place indicated by opensips.cfg?
>
> _______________________________________________
> 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/20231024/d5c150fe/attachment-0001.html>


More information about the Users mailing list