[OpenSIPS-Users] unable to start opensips due to FIFO

Deon Vermeulen vermeulen.deon at gmail.com
Wed Sep 15 13:54:21 CEST 2010


I forgot to add the opensipsctlrc file configuration:

## control engine: FIFO or UNIXSOCK
## - default FIFO
# CTLENGINE=xmlrpc

## path to FIFO file
  OSIPS_FIFO="/tmp/opensips_fifo"

## MI_CONNECTOR control engine: FIFO, UNIXSOCK, UDP, XMLRPC
  MI_CONNECTOR=FIFO:/tmp/opensips_fifo
# MI_CONNECTOR=UNIXSOCK:/tmp/opensips.sock
# MI_CONNECTOR=UDP:192.168.2.133:8000
# MI_CONNECTOR=XMLRPC:127.0.0.1:32860


Thanks for the help.

regards
Deon

On 15 Sep 2010, at 1:48 PM, Deon Vermeulen wrote:

> Yesterday I manage to get monit, SMonitor and MI to work but as from  
> this morning opensips gives me a FIFO error when starting up.
>
> This is a partial output of  my current opensips.cfg file
>
> ####### Global Parameters #########
>
> debug=6
> log_stderror=no
> log_facility=LOG_LOCAL0
>
> ####### Modules Section ########
>
> #set module path
> mpath="/lib/opensips/modules/"
>
> loadmodule "mi_fifo.so"
>
>
> # ----------------- setting module-specific parameters ---------------
>
>
> # ----- mi_fifo params -----
> modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
> modparam("mi_fifo", "fifo_mode", 0666)
>
>
> PATH TO MODULES:
>
> opensips:/var/log# ls /lib/opensips/modules/
> aaa_radius.so	  b2b_entities.so  db_virtual.so    enum.so	       
> mangler.so	options.so	      ratelimit.so  speeddial.so     uri.so
> acc.so		  benchmark.so	   dialog.so	    exec.so	      maxfwd.so		 
> path.so		      registrar.so  sst.so	     userblacklist.so
> alias_db.so	  call_control.so  dialplan.so	    gflags.so	       
> mediaproxy.so	pdt.so		      rr.so	    statistics.so    usrloc.so
> auth_aaa.so	  cfgutils.so	   dispatcher.so    group.so	       
> mi_datagram.so	peering.so	      seas.so	    stun.so
> auth_db.so	  closeddial.so    diversion.so     imc.so	       
> mi_fifo.so	permissions.so	      signaling.so  textops.so
> auth_diameter.so  db_flatstore.so  domainpolicy.so  lcr.so	       
> msilo.so		pike.so		      siptrace.so   tm.so
> auth.so		  db_mysql.so	   domain.so	    load_balancer.so   
> nathelper.so	presence_xcapdiff.so  sl.so	    uac_redirect.so
> avpops.so	  db_text.so	   drouting.so	    localcache.so      
> nat_traversal.so	qos.so		      sms.so	    uac.so
> opensips:/var/log#
>
>
> This is the ERROR output from the logs
>
> Sep 15 15:39:21 opensips /sbin/opensips[3062]: DBG:core:init_mod:  
> initializing module mi_fifo
> Sep 15 15:39:21 opensips /sbin/opensips[3062]:  
> ERROR:mi_fifo:mi_mod_init: no fifo configured
> Sep 15 15:39:21 opensips /sbin/opensips[3062]: ERROR:core:init_mod:  
> failed to initialize module mi_fifo
> Sep 15 15:39:21 opensips /sbin/opensips[3062]: ERROR:core:main:  
> error while initializing modules
> Sep 15 15:39:21 opensips /sbin/opensips[3062]:  
> ERROR:mi_fifo:mi_destroy: FIFO stat failed: Bad address
>
>
> I have no idea where to look for the problem and can't find any info  
> on the web.
>
> Any help/guidance will be appreciated.
>
> Thanks in advance
>
> Regards
> Deon




More information about the Users mailing list