Hi Mark,

the table contains the version numbers of all the other tables used openser. Many tables changed in time and the version is protection mechanism against using old tables with newer openser versions.

in order to work, the table has to contain the version required by the installed openser - check openser_mysqldb.sh (after installation) or scripts/mysqldb.sh in sources.

regards,
bogdan

Mark Kent wrote:

Hello,

Using openser 1.0.1, I'm trying to add multi-domain support
using the module "domain".... so I created a database
in mysql, stuffed a few entries in it, pointed at it
in openser.cfg, and started openser.

I get this:

0(0) ERROR: domain:mod_init(): invalid table version (use ser_mysql.sh 
reinstall)
0(0) init_mod(): Error while initializing module domain

Now, I looked into openser_mysql.h and it has a table "version"
that lists versions for various databases:

INSERT INTO version VALUES ( 'subscriber', '5');
...
INSERT INTO version VALUES ( 'location', '1001');
INSERT INTO version VALUES ( 'aliases', '1001');
...
INSERT INTO version VALUES ( 'gw_grp', '1');
INSERT INTO version VALUES ( 'lcr', '1');

So, what exactly are these "versions"??

How is it possible that a new database that I create/name/point-at
should match something in this static list?

Thanks,
-mark



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



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

Reply via email to