Sorry, tried that and I still get the same error.

I followed the procedures on http://kamailio.org/dokuwiki/doku.php/install:1.4.x-to-1.5.0 to upgrade the old database, maybe there is something missing that carrierroute module is expecting.

Can anyone confirm?

Jun 26 10:03:55 sbci1pri /usr/local/sbin/kamailio[4864]: ERROR:core:db_check_table_version: invalid version 2 for table carrierfailureroute found, expected 3 (check table structure and table "version")
Jun 26 10:03:55 sbci1pri /usr/local/sbin/kamailio[4864]: ERROR:carrierroute:carrierroute_db_init: during table version check.
Jun 26 10:03:55 sbci1pri /usr/local/sbin/kamailio[4864]: ERROR:core:init_mod: failed to initialize module carrierroute
Jun 26 10:03:55 sbci1pri /usr/local/sbin/kamailio[4864]: ERROR:core:main: error while initializing modules



2009/6/25 Raúl Alexis Betancor Santana <rabs@dimension-virtual.com>
On Thursday 25 June 2009 22:44:37 Uriel Rozenbaum wrote:
> Guys, I've successfully upgraded schema and binaries for Kamailio, but when
> I start it, I get:
>
> Jun 25 18:24:34 sbci1pri /usr/local/sbin/kamailio[2611]:
> ERROR:core:db_check_table_version: invalid version 2 for table
> carrierfailureroute found, expected 3 (check table structure and table
> "version")
> Jun 25 18:24:34 sbci1pri /usr/local/sbin/kamailio[2611]:
> ERROR:carrierroute:carrierroute_db_init: during table version check.
> Jun 25 18:24:34 sbci1pri /usr/local/sbin/kamailio[2611]:
> ERROR:core:init_mod: failed to initialize module carrierroute
> Jun 25 18:24:34 sbci1pri /usr/local/sbin/kamailio[2611]: ERROR:core:main:
> error while initializing modules
>
> If I try and set 3 to the version table (for carrierfailureroute) I get the
> following:
>
> Jun 25 18:42:34 sbci1pri /usr/local/sbin/kamailio[2660]:
> ERROR:core:db_check_table_version: invalid version 3 for table
> carrierfailureroute found, expected 2 (check table structure and table
> "version")
> Jun 25 18:42:34 sbci1pri /usr/local/sbin/kamailio[2660]:
> ERROR:carrierroute:carrierroute_db_init: during table version check.
> Jun 25 18:42:34 sbci1pri /usr/local/sbin/kamailio[2660]:
> ERROR:core:init_mod: failed to initialize module carrierroute
> Jun 25 18:42:34 sbci1pri /usr/local/sbin/kamailio[2660]: ERROR:core:main:
> error while initializing modules
>
> Is there anything I have to do (appart from following the guidelines on
> http://kamailio.org/dokuwiki/doku.php/install:1.4.x-to-1.5.0)?
>
> Thanks!
> Uriel


Hi Uriel, for the carrierroute tables, it's better to create a new DB, dump
that tables and import that dump into your current DB.

--
Raúl Alexis Betancor Santana
Dimensión Virtual

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users