[SR-Users] Error opening Kamailio's FIFO

Kurt Mullen kmullen at practical-pc.com
Mon Dec 6 23:01:58 CET 2010


> 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 at lists.sip-router.org
[mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of
sr-users-request at lists.sip-router.org
Sent: Monday, December 06, 2010 3:37 AM
To: sr-users at lists.sip-router.org
Subject: sr-users Digest, Vol 67, Issue 17

Send sr-users mailing list submissions to
	sr-users at 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 at lists.sip-router.org

You can reach the person managing the list at
	sr-users-owner at 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 at gmail.com>
Subject: Re: [SR-Users] lcr in 3.1 - no reload without Siremis?
To: Juha Heinanen <jh at tutpro.com>
Cc: sr-users at lists.sip-router.org
Message-ID:
	<AANLkTimfd8CdXENb+oX6n2YNx54ohbudz8jUraX=yVGy at 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 at 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 at practical-pc.com>
Subject: [SR-Users] Error opening Kamailio's FIFO
To: <users at lists.kamailio.org>
Message-ID: <005301cb94d5$cb5a2aa0$620e7fe0$@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 at 1and1.ro>
Subject: Re: [SR-Users] Error opening Kamailio's FIFO
To: <sr-users at lists.sip-router.org>
Message-ID: <4CFCACA8.4060701 at 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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.sip-router.org/pipermail/sr-users/attachments/20101206/94d2504
e/attachment-0001.htm>

------------------------------

Message: 5
Date: Mon, 6 Dec 2010 16:37:02 +0700
From: Huy Nguyen <huy_quocnguyen at live.com>
Subject: Re: [SR-Users] Error opening Kamailio's FIFO
To: <marius.zbihlei at 1and1.ro>, <sr-users at lists.sip-router.org>
Message-ID: <SNT143-w25D045EDFE876E65656E1B9E2B0 at phx.gbl>
Content-Type: text/plain; charset="windows-1258"



Hi,

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")

Regards,
Huy Nguyen


www.htk-inc.com







Date: Mon, 6 Dec 2010 11:28:08 +0200
From: marius.zbihlei at 1and1.ro
To: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] Error opening Kamailio's FIFO






  


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
   
  






_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.sip-router.org/pipermail/sr-users/attachments/20101206/23bf3fa
0/attachment.htm>

------------------------------

_______________________________________________
sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


End of sr-users Digest, Vol 67, Issue 17
****************************************




More information about the sr-users mailing list