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 ... 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 |