Just to let everyone know.

I got this resolved.

I rebuild the whole Server from scratch...

Have no idea what the problem was.

Regards
Deon

On 15 Sep 2010, at 2:03 PM, Deon Vermeulen wrote:

> I am also getting this output when checking the opensips.cfg file.
>
>
> opensips:/var/log# opensips -C /etc/opensips/opensips.cfg
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/db_mysql.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/signaling.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/sl.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/tm.so
> Sep 15 15:55:29 [3090] DBG:core:register_module: register_pv: tm
> Sep 15 15:55:29 [3090] DBG:core:pv_add_extra: extra items list is  
> not initialized
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/rr.so
> Sep 15 15:55:29 [3090] DBG:core:register_module: register_pv: rr
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/maxfwd.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/usrloc.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/registrar.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/textops.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/mi_fifo.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/uri.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/acc.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/auth.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/auth_db.so
> Sep 15 15:55:29 [3090] DBG:core:yyparse: loading module /lib/ 
> opensips/modules/alias_db.so
> Sep 15 15:55:29 [3090] CRITICAL:core:yylex: cfg. parser: unexpected  
> EOF: 2 comments open
> Sep 15 15:55:29 [3090] DBG:core:socket2str: <udp:127.0.0.1:5060>
> Sep 15 15:55:29 [3090] DBG:core:socket2str: <udp:x.x.x.x:5060>
> Sep 15 15:55:29 [3090] DBG:core:socket2str: <tcp:127.0.0.1:5060>
> Sep 15 15:55:29 [3090] DBG:core:socket2str: <tcp:x.x.x.x:5060>
> Listening on
>             udp: 127.0.0.1 [127.0.0.1]:5060
>             udp: x.x.x.x [41.218.70.27]:5060
>             tcp: 127.0.0.1 [127.0.0.1]:5060
>             tcp: x.x.x.x [41.218.70.27]:5060
> Aliases:
>             tcp: opensips.local:5060
>             tcp: localhost:5060
>             udp: opensips.local:5060
>             udp: localhost:5060
>
> Sep 15 15:55:29 [3090] NOTICE:core:main: config file ok, exiting...
>
>
> I am not sure if any of the above info will help.
>
> I also see a "CRITICAL:core:yylex: cfg. parser: unexpected EOF: 2  
> comments open" and can't find the problem in the configuration file.
>
> Thanks for the help.
>
> Appreciated.
>
>
> Regards
> Deon
>
>
> On 15 Sep 2010, at 1:54 PM, Deon Vermeulen wrote:
>
>> 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
>>
>


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to