[OpenSIPS-Users] Initialization error for b2b test

David Santiago david.santiago at almiralabs.com
Fri Oct 8 14:45:11 CEST 2010


Hum... so true.

These are the ERROR and CRITICAL traces:

Oct  8 14:41:12 ip-10-122-54-163 opensips: ERROR:core:yyparse: module
'xlog.so' not found in '/opt/opensipsnotls/lib/opensips/modules/'
Oct  8 14:41:12 ip-10-122-54-163 opensips: CRITICAL:core:yyerror:
parse error in config file, line 68, column 13-14: failed to load
module
Oct  8 14:41:12 ip-10-122-54-163 opensips: ERROR:core:sr_load_module:
could not open module </opt/opensipsnotls/lib/opensips/modules/>:
/opt/opensipsnotls/lib/opensips/modules/: cannot read file data: Is a
directory
Oct  8 14:41:12 ip-10-122-54-163 opensips: CRITICAL:core:yyerror:
parse error in config file, line 68, column 13-14: failed to load
module
ct  8 14:41:12 ip-10-122-54-163 opensips: ERROR:core:yyparse: module
'b2b_logic.so' not found in '/opt/opensipsnotls/lib/opensips/modules/'
Oct  8 14:41:12 ip-10-122-54-163 opensips: CRITICAL:core:yyerror:
parse error in config file, line 98, column 13-14: failed to load
module
Oct  8 14:41:12 ip-10-122-54-163 opensips: ERROR:core:sr_load_module:
could not open module </opt/opensipsnotls/lib/opensips/modules/>:
/opt/opensipsnotls/lib/opensips/modules/: cannot read file data: Is a
directory
Oct  8 14:41:12 ip-10-122-54-163 opensips: CRITICAL:core:yyerror:
parse error in config file, line 98, column 13-14: failed to load
module
Oct  8 14:41:12 ip-10-122-54-163 opensips: CRITICAL:core:yyerror:
parse error in config file, line 248, column 22-23: unknown command
<b2b_init_request>, missing loadmodule?



On Fri, Oct 8, 2010 at 2:34 PM, Anca Vamanu <anca at opensips.org> wrote:
> Hi David,
>
> Are there any errors before that? Which is the first error that you see
> in log ( look after ERROR or CRITICAL).
>
> Anca
>
> On 10/08/2010 03:02 PM, David Santiago wrote:
>> I have checked my configuration with that example, in particular the
>> loading of modules.
>>
>> I used the same list of modules in my configuration and still facing
>> an initialization error regarding a "missing loadmodule", according to
>> the error message.
>>
>> Any ideas? I just need a working configuration to test the "top
>> hiding" scenario.
>>
>>
>> Thx!
>>
>> On Wed, Oct 6, 2010 at 6:28 PM, Anca Vamanu<anca at opensips.org>  wrote:
>>
>>> See the configiration file example here-
>>> http://www.opensips.org/Resources/B2bConfigExample
>>>
>>> --
>>> Anca Vamanu
>>> www.voice-system.ro
>>>
>>>
>>> On 10/06/2010 07:10 PM, David Santiago wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm trying to test the "top hiding" scenario but I get the following
>>>> error at opensips startup:
>>>>
>>>> ...
>>>> Oct  6 18:03:49 ip-10-122-54-163 opensips: DBG:core:find_cmd_export_t:
>>>> <b2b_init_request>    not found
>>>> Oct  6 18:03:49 ip-10-122-54-163 opensips: DBG:core:find_cmd_export_t:
>>>> <b2b_init_request>    not found
>>>> Oct  6 18:03:49 ip-10-122-54-163 opensips: CRITICAL:core:yyerror:
>>>> parse error in config file, line 247, column 22-23: unknown command
>>>> <b2b_init_request>, missing loadmodule?
>>>> ...
>>>>
>>>>
>>>> line 247 is this:
>>>> b2b_init_request("top hiding");
>>>>
>>>>
>>>> and the list of modules I have declared is:
>>>>
>>>> #loadmodule "db_mysql.so"
>>>> loadmodule "signaling.so"
>>>> loadmodule "sl.so"
>>>> loadmodule "tm.so"
>>>> loadmodule "rr.so"
>>>> loadmodule "maxfwd.so"
>>>> loadmodule "usrloc.so"
>>>> loadmodule "registrar.so"
>>>> loadmodule "textops.so"
>>>> loadmodule "mi_fifo.so"
>>>> loadmodule "uri.so"
>>>> loadmodule "acc.so"
>>>> /* uncomment next lines for MySQL based authentication support
>>>>      NOTE: a DB (like db_mysql) module must be also loaded */
>>>> #loadmodule "auth.so"
>>>> #loadmodule "auth_db.so"
>>>> /* uncomment next line for aliases support
>>>>      NOTE: a DB (like db_mysql) module must be also loaded */
>>>> #loadmodule "alias_db.so"
>>>> /* uncomment next line for multi-domain support
>>>>      NOTE: a DB (like db_mysql) module must be also loaded
>>>>      NOTE: be sure and enable multi-domain support in all used modules
>>>>            (see "multi-module params" section ) */
>>>> #loadmodule "domain.so"
>>>> /* uncomment the next two lines for presence server support
>>>>      NOTE: a DB (like db_mysql) module must be also loaded */
>>>> #loadmodule "presence.so"
>>>> #loadmodule "presence_xml.so"
>>>> loadmodule "dispatcher.so"
>>>>
>>>>
>>>> Do not see which module I'm missing :L
>>>>
>>>> Regards
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Anca Vamanu
> www.voice-system.ro
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list