On Mon, Nov 23, 2009 at 08:41:11PM +0100, Stefan Manegold wrote:
On Mon, Nov 23, 2009 at 08:11:54PM +0100, Fabian Groffen wrote:
On 23-11-2009 19:33:06 +0100, Martin Kersten wrote:
Matthew Jones wrote:
ERROR = !SQLException:SQLinit:Catalogue initialization failed !ERROR: Incompatible database version 000000, this server supports version 050000 !ERROR: Please move away
Indeed, this indicates that you have installed a new version of MonetDB. One for which a warning was sent out to first dump your database, before installing the new version and loading the database again afterwards.
It looks more like something got corrupt ( :( ), since version 000000 most probably isn't the previous one to 050000.
how about version 000000 is actually not read from the log, but the initial value in the code; the same error message is printed both when a version number cannot be read (correctly) from the log file and when the read version number does not match the supported one; cf. MonetDB/src/gdk/gdk_logger.mx ======== static int check_version(logger *lg, FILE *fp) { int version = 0;
if (fscanf(fp, "%6d", &version) != 1 || version != lg->version) { GDKerror("Incompatible database version %06d, " "this server supports version %06d\n" "Please move away %s and its corresponding dbfarm.", version, lg->version, lg->dir);
return -1; } fgetc(fp); /* skip \n */ fgetc(fp); /* skip \n */ return 0; } ========
Maybe, splitting the error message in two, one for fscanf() failure and one for non-matching version number might help to avoid confusion in future cases ...
Indeed a good idea, but still we need to find out why the file was empty. Niels
Stefan
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Niels Nes, Centrum Wiskunde & Informatica (CWI) Science Park 123, 1098 XG Amsterdam, The Netherlands room C0.02/M3.46, phone ++31 20 592-4098 url: http://www.cwi.nl/~niels e-mail: Niels.Nes@cwi.nl