This should be a UNIX style path e.g.
/tmp/kamailio.fifo The directory
where the fifo is must be writable by the kamailio
user.
I thought the line modparam("mi_fifo", "fifo_mode",0666) set the
permissions on the folder/file.
Also, I tried changing the path to /tmp/kamailio.fifo that did not work
either
Please change as below:
kamctlrc
## path to FIFO file
OSER_FIFO="/tmp/kamailio_fifo"
kamailio.cfg
# ----- mi_fifo params -----
modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")
I have also tried this. Here is what I am getting.
ERROR: Error opening Kamailio's FIFO /tmp/kamailio_fifo
ERROR: Make sure you have the line 'modparam("mi_fifo",
"fifo_name",
"/tmp/kamailio_fifo")' in your config
ERROR: and also have loaded the mi_fifo module.
Interesting side note:
After the initial installation and reboot, Kamailio came up and was running
and kamctl moni displayed the correct results. However after running
"service kamailio restart" I began getting the error again and have not
been able to clear it.
-----Original Message-----
From: sr-users-bounces(a)lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of
sr-users-request(a)lists.sip-router.org
Sent: Monday, December 06, 2010 3:37 AM
To: sr-users(a)lists.sip-router.org
Subject: sr-users Digest, Vol 67, Issue 17
Send sr-users mailing list submissions to
sr-users(a)lists.sip-router.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
or, via email, send a message with subject or body 'help' to
sr-users-request(a)lists.sip-router.org
You can reach the person managing the list at
sr-users-owner(a)lists.sip-router.org
When replying, please edit your Subject line so it is more specific than
"Re: Contents of sr-users digest..."
Today's Topics:
1. Re: lcr in 3.1 - no reload without Siremis? (Anders)
2. Error opening Kamailio's FIFO (Kurt Mullen)
3. Re: lcr in 3.1 - no reload without Siremis? (Juha Heinanen)
4. Re: Error opening Kamailio's FIFO (marius zbihlei)
5. Re: Error opening Kamailio's FIFO (Huy Nguyen)
----------------------------------------------------------------------
Message: 1
Date: Sun, 5 Dec 2010 14:32:20 -0500
From: Anders <vaerge(a)gmail.com>
Subject: Re: [SR-Users] lcr in 3.1 - no reload without Siremis?
To: Juha Heinanen <jh(a)tutpro.com>
Cc: sr-users(a)lists.sip-router.org
Message-ID:
<AANLkTimfd8CdXENb+oX6n2YNx54ohbudz8jUraX=yVGy(a)mail.gmail.com>
Content-Type: text/plain; charset=windows-1252
For anyone else who might not be able to find the old `kamctl lcr`-commands,
the alternatives to some can be found here:
http://www.kamailio.org/docs/modules/3.1.x/modules/lcr.html#id2960364
Being able to reload the lcr didn't solve my problem though - still not
finding any gw when I run next_gw(), so I'm still open for input...
On Sat, Dec 4, 2010 at 6:08 PM, Juha Heinanen <jh(a)tutpro.com> wrote:
Anders writes:
But I added it manually to the tables, so maybe I
needed to load them
to memory ? but ?kamctl lcr reload? has been discontinued, so no
loading. Is Siremis necessary as the input tool for lcr and gws?
anders,
read what is new in 3.1 wiki page and lcr manual. ?also, ctl help
knows about lcr ctl commands.
-- juha
------------------------------
Message: 2
Date: Sun, 5 Dec 2010 17:40:26 -0600
From: "Kurt Mullen" <kmullen(a)practical-pc.com>
Subject: [SR-Users] Error opening Kamailio's FIFO
To: <users(a)lists.kamailio.org>
Message-ID: <005301cb94d5$cb5a2aa0$620e7fe0$(a)practical-pc.com>
Content-Type: text/plain; charset="us-ascii"
I am getting this error when I try to run kamctl:
ERROR: Error opening Kamailio's FIFO FIFO
ERROR: Make sure you have the line 'modparam("mi_fifo",
"fifo_name",
"FIFO")' in your config
ERROR: and also have loaded the mi_fifo module.
I am able to start Kamailio with Kamailio start
I have poured over all the responses on Google for two days trying to fix
this error. I have tried everything I know of.
I have tried each example.
kamctlrc
DB Path is correct:
# database path used by dbtext or db_berkeley
DB_PATH="/usr/share/kamailio/dbtext"
## control engine: FIFO or UNIXSOCK
## - default FIFO
CTLENGINE="FIFO"
## path to FIFO file
OSER_FIFO="FIFO" (I have already tried commenting this out)
kamailio.cfg
loadmodule "mi_fifo.so"
Path to modules is correct:
mpath="modules_k:modules"
#!else
mpath="/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/"
#!endif
# ----- mi_fifo params -----
modparam("mi_fifo", "fifo_name", "/tmp/kamailio.fifo")
modparam("mi_fifo", "fifo_mode",0666)
This is installed on Ubuntu Server 10.10 64 bit Intel .
Can someone please help?
Kurt A. Mullen
Practical PC, LLC
(O) 830.542.4102 x204
(F) 210.767.3912
------------------------------
Message: 4
Date: Mon, 6 Dec 2010 11:28:08 +0200
From: marius zbihlei <marius.zbihlei(a)1and1.ro>
Subject: Re: [SR-Users] Error opening Kamailio's FIFO
To: <sr-users(a)lists.sip-router.org>
Message-ID: <4CFCACA8.4060701(a)1and1.ro>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
On 12/06/2010 01:40 AM, Kurt Mullen wrote:
Hello,
>
> I am getting this error when I try to run kamctl:
>
> ERROR: Error opening Kamailio's FIFO FIFO
>
> ERROR: Make sure you have the line 'modparam("mi_fifo",
"fifo_name",
> "FIFO")' in your config
>
> ERROR: and also have loaded the mi_fifo module.
>
> I am able to start Kamailio with Kamailio start
>
> I have poured over all the responses on Google for two days trying to
> fix this error. I have tried everything I know of.
>
> I have tried each example.
>
kamctlrc
>
> DB Path is correct:
>
> # database path used by dbtext or db_berkeley
>
> DB_PATH="/usr/share/kamailio/dbtext"
>
> ## control engine: FIFO or UNIXSOCK
>
> ## - default FIFO
>
> CTLENGINE="FIFO"
>
> ## path to FIFO file
>
> OSER_FIFO="FIFO" (I have already tried commenting this out)
>
This should be a UNIX style path e.g. /tmp/kamailio.fifo The directory where
the fifo is must be writable by the kamailio user.
Marius
kamailio.cfg
loadmodule "mi_fifo.so"
Path to modules is correct:
mpath="modules_k:modules"
#!else
mpath="/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/"
#!endif
# ----- mi_fifo params -----
modparam("mi_fifo", "fifo_name", "/tmp/kamailio.fifo")
modparam("mi_fifo", "fifo_mode",0666)
This is installed on Ubuntu Server 10.10 64 bit Intel .
Can someone please help?
*Kurt A. Mullen*
Practical PC, LLC
(O) 830.542.4102 x204
(F) 210.767.3912