[OpenSIPS-Users] Opensips cannot start with entries in b2b_entities

Jeff Pyle jpyle at fidelityvoice.com
Tue Nov 19 04:41:01 CET 2013


Bogdan,

Well, not much.  Here is everything from where it starts to read the
b2b_entities table (called "b2b_entities3" here) through to the end.

Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: request for table
[b2b_entities3]
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: db is
[/etc/opensips/dbtext]
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: loading file
[/etc/opensips/dbtext/b2b_entities3]
Nov 18 22:36:03 [27724] DBG:db_text:dbt_table_new: mtime is 1384832141
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[0] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[1] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[2] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[3] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[3] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[4] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[4] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[5] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[5] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[6] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[6] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[7] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[7] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[8] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[8] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[9] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[9] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[10] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[10] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[11] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[12] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[13] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[13] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[14] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[14] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[15] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[15] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[16] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[16] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[17] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[17] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[18] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[18] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[19] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[20] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[21] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[22] is INT!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[23] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[23] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[24] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[24] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[25] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[25] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[26] is STR!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_load_file: column[26] is actually
STRING!
Nov 18 22:36:03 [27724] DBG:db_text:dbt_query: new res with 25 cols
Nov 18 22:36:03 [27724] DBG:db_text:dbt_result_new: new res with 25 cols
Nov 18 22:36:03 [27724] DBG:core:db_new_result: allocate 48 bytes for
result set at 0x7f2b7e70e068
Nov 18 22:36:03 [27724] DBG:core:db_allocate_columns: allocate 700 bytes
for result columns at 0x7f2b7e7102d8
Nov 18 22:36:03 [27724] DBG:core:db_allocate_rows: allocate 1632 bytes for
result rows and values at 0x7f2b7e7105f8
Nov 18 22:36:03 [27724] DBG:b2b_entities:b2b_entities_restore: loading
information from database 2 records
Nov 18 22:36:03 [27724] DBG:b2b_entities:b2b_parse_key: hash_index = [155]
 - local_index= [494]
Nov 18 22:36:03 [27722] DBG:core:wait_status_code: read code 0 ? rc = 0,
errno=Success
Nov 18 22:36:03 [27722] INFO:core:daemonize: pre-daemon process exiting
with -1

The 2 records in this case were from one call with b2b topology hiding.


- Jeff


On Thu, Nov 14, 2013 at 5:27 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>wrote:

>  Hi Jeff,
>
> So no errors, no nothing in the logs, but simply failing to start ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
>
> On 11/12/2013 09:49 PM, Jeff Pyle wrote:
>
>   Hello,
>
>  I have the topology hiding scenario configured on v1.10.  If there are
> records in the b2b_entities table upon startup, it won't start.  debug=6
> shows:
>
>  ...
>  Nov 12 14:45:58 [10329] DBG:b2b_entities:b2b_entities_restore: loading
> information from database 2 records
> Nov 12 14:45:58 [10329] DBG:b2b_entities:b2b_parse_key: hash_index = [308]
>  - local_index= [392]
> Nov 12 14:45:58 [10327] DBG:core:wait_status_code: read code 0 ? rc = 0,
> errno=Success
> Nov 12 14:45:58 [10327] INFO:core:daemonize: pre-daemon process exiting
> with -1
>
>  The DB engine in this case is db_text.
>
>
>
>  - Jeff
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131118/991bc635/attachment.htm>


More information about the Users mailing list