[OpenSIPS-Users] Migration 1.9 to 1.10.1

Nick Altmann nick.altmann at gmail.com
Tue Apr 8 12:16:10 CEST 2014


The problem is your rtpproxy module compiled with compiler flags mismatched
to flags of core.
You have to recompile rtpproxy module with the same flags as core flags.

--
Nick


2014-04-08 14:07 GMT+04:00 H Yavari <hyavari at rocketmail.com>:

> Dear Nick,
> Thanks for your help. I changed the version table and problem solved.
> Have you any idea about RTPproxy error?
>
> Regards,
> H.Yavari
>
>   ------------------------------
> You have to recreate "location" table with the new for 1.10 structure and
> change it's version number in table "version".
> Also you have to check your script on line 286.
>
> --
> Nick
>
>
> 2014-04-08 13:51 GMT+04:00 H Yavari <hyavari at rocketmail.com>:
>
> Hi,
> I did the migaration the core and DB and after this I have some error in
> opensips starting that listed in blow:
>
> 1-usrloc module :
> [15279]: ERROR:core:db_check_table_version: invalid version 1007 for table
> location found, expected 1009
> [15279]: ERROR:usrloc:register_udomain: error during table version check.
> [15279]: ERROR:registrar:domain_fixup: failed to register domain
> [15279]: ERROR:core:fix_actions: fixing failed (code=-1) at cfg line 286
> [15279]: CRITICAL:core:fix_expr: fix_actions error
> [15279]: ERROR:core:main: failed to fix configuration with err code -1
> [15279]: INFO:core:cleanup: cleanup
>
> 2-rtpproxy module:
>  DBG:core:yyparse: loading module /usr/lib64/opensips/modules/rtpproxy.so
>  ERROR:core:version_control: module compile flags mismatch for rtpproxy
> #012core: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM,
> SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> #012module: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST,
> SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_QM_MALLOC, DBG_F_MALLOC,
> FAST_LOCK-ADAPTIVE_WAIT
>
> The first error solved by replacing "2" from modparam("usrloc", "db_mode",
> 2) with "0".
> Why the "2" value make the problem?
> How I solve this errors?
>
>
> Regards,
> H.Yavari
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140408/a0a91b5f/attachment.htm>


More information about the Users mailing list