[OpenSIPS-Users] OpenSIPS-CP: mi_fifo and "cannot open write fifo"

Joe Micciche jmiccich at redhat.com
Fri Jun 4 17:03:18 CEST 2010

Hash: SHA1

Running OpenSIPS 1.6.2 with OpenSIPS-CP 4.0 (downloaded Monday) on RHEL
5.5, Apache/2.2.3.

In CP, I cannot apply any changes to server, each time it errors out
with "sorry - cannot open write fifo".

I am running opensips as root. modules/mi_fifo.so is loading properly
when opensips is started.

ls -l /tmp:
prw-rw-rw- 1 root root    0 Jun  4 07:58 opensips_fifo

boxes.global.inc.php has:

// mi host:port pair || fifo_file

/etc/opensips/opensips.cfg has:
# ----- mi_fifo params -----
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
modparam("mi_fifo", "fifo_mode", 0666)

I've also tried various iterations of users and groups for mi_fifo, all
with the same results. This includes setting owner:group to apache. I
also tried to start it with 0777, same result.

Sample from httpd/error_log:
[Fri Jun 04 07:46:37 2010] [error] [client] PHP Warning:
fopen(/tmp/opensips_fifo) [<a href='function.fopen'>function.fopen</a>]:
failed to open stream: Permission denied in
/opt/opensips_cp4/web/common/mi_comm.php on line 91, referer:

I've been googling and reading for a day and a half now and can't
resolve this. Anyone have other suggestions on where to look?

- -- 
Joe Micciche				jmiccich at redhat.com
Red Hat, Inc.				http://www.redhat.com
Senior Communications Engineer		X(81) 44554
+1.919.754.4554				Key: 65F90FE1

Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/


More information about the Users mailing list