pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedHELP database files are incompatible with server
3+ messages / 3 participants
[nested] [flat]
* HELP database files are incompatible with server
@ 2004-12-10 04:41 Paulo Jobim <pajobim@attglobal.net>
0 siblings, 0 replies; 3+ messages in thread
From: Paulo Jobim @ 2004-12-10 04:41 UTC (permalink / raw)
To: pgsql-admin
Hi
I did a very small but terrible mistake with my database.
I installed postgresql and DSpace for use in the INSTITUTO ANTONIO
CARLOS JOBIM, dedicated to the work of this famous Brasilian composer.
I first installed a version 8.0beta5 of postgres but a software advisor
asked me to use a formal release and I installed version 7.4 and begin
to work with DSpace. After having submited about 200 items to DSpace a
researcher at the institute and myself found a bug when brousing the
archives. the log complained of a variable XactIsoLevel. and I learned
now it may be related to the JDBC driver.
Now comes the big mistake. I tryed to start the 8beta version of
postgres in a folder named /usr/local/pgsql2. it did not workand I
noticed postgres was trying to access the folder /usr/local/pgsqlwith
the 7.4version installed.after that I renamed pgsql as pgsqlbk and
renamed pgsql2 as pgsql and started the new version without a problem.
I noticed DSpace had still the same problem when brousing. (note that
this version of the database is empty) then I renamed the folders for
the original names, with pgsql containing the 7.4 database with all the
records for DSpace. but it never started again. it gives me the
following error:
FATAL: database files are incompatible with server
DETAIL: The database cluster was initialized with PG_CONTROL_VERSION
74, but the server was compiled with PG_CONTROL_VERSION 72.
HINT: It looks like you need to initdb.
is there a way to recover the database?
thank you for any help
Paulo Jobim
^ permalink raw reply [nested|flat] 3+ messages in thread
* HELP database files are incompatible with server
@ 2004-12-12 16:39 Paulo Jobim <pjobim@terra.com.br>
0 siblings, 1 reply; 3+ messages in thread
From: Paulo Jobim @ 2004-12-12 16:39 UTC (permalink / raw)
To: pgsql-admin
Hi
I am posting again
I did a very small but terrible mistake with my database.
I installed postgresql and DSpace for use in the INSTITUTO ANTONIO
CARLOS JOBIM, dedicated to the work of this famous Brasilian composer.
I first installed a version 8.0beta5 of postgres but a software advisor
asked me to use a formal release and I installed version 7.4 and begin
to work with DSpace. After having submited about 200 items to DSpace a
researcher at the institute and myself found a bug when brousing the
archives. the log complained of a variable XactIsoLevel. and I learned
now it may be related to the JDBC driver.
Now comes the big mistake. I tryed to start the 8beta version of
postgres in a folder named /usr/local/pgsql2. it did not workand I
noticed postgres was trying to access the folder /usr/local/pgsqlwith
the 7.4version installed.after that I renamed pgsql as pgsqlbk and
renamed pgsql2 as pgsql and started the new version without a problem.
I noticed DSpace had still the same problem when brousing. (note that
this version of the database is empty) then I renamed the folders for
the original names, with pgsql containing the 7.4 database with all the
records for DSpace. but it never started again. it gives me the
following error:
FATAL: database files are incompatible with server
DETAIL: The database cluster was initialized with PG_CONTROL_VERSION
74, but the server was compiled with PG_CONTROL_VERSION 72.
HINT: It looks like you need to initdb.
is there a way to recover the database?
thank you for any help
Paulo Jobim
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: HELP database files are incompatible with server
@ 2004-12-13 09:46 Bjoern Metzdorf <bm@turtle-entertainment.de>
parent: Paulo Jobim <pjobim@terra.com.br>
0 siblings, 0 replies; 3+ messages in thread
From: Bjoern Metzdorf @ 2004-12-13 09:46 UTC (permalink / raw)
To: Paulo Jobim <pjobim@terra.com.br>; +Cc: pgsql-admin
Seems you have broken your database files. You could try resetting
PG_VERSION with pg_resetxlog or recompile postgres (I had a similar case
where just recompiling worked). Make sure to take backups of $PGDATA
before you try anything.
Regards,
Bjoern
Paulo Jobim wrote:
> Hi
> I am posting again
> I did a very small but terrible mistake with my database.
> I installed postgresql and DSpace for use in the INSTITUTO ANTONIO
> CARLOS JOBIM, dedicated to the work of this famous Brasilian composer.
> I first installed a version 8.0beta5 of postgres but a software advisor
> asked me to use a formal release and I installed version 7.4 and begin
> to work with DSpace. After having submited about 200 items to DSpace a
> researcher at the institute and myself found a bug when brousing the
> archives. the log complained of a variable *XactIsoLevel. *and I learned
> now it may be related to the JDBC driver.
> Now comes the big mistake. I tryed to start the 8beta version of
> postgres in a folder named /usr/local/pgsql2. it did not workand I
> noticed postgres was trying to access the folder /usr/local/pgsqlwith
> the 7.4version installed.after that I renamed pgsql as pgsqlbk and
> renamed pgsql2 as pgsql and started the new version without a problem. I
> noticed DSpace had still the same problem when brousing. (note that this
> version of the database is empty) then I renamed the folders for the
> original names, with pgsql containing the 7.4 database with all the
> records for DSpace. but it never started again. it gives me the
> following error:
>
>
> FATAL: database files are incompatible with server
> DETAIL: The database cluster was initialized with PG_CONTROL_VERSION 74,
> but the server was compiled with PG_CONTROL_VERSION 72.
> HINT: It looks like you need to initdb.
>
> is there a way to recover the database?
> thank you for any help
> Paulo Jobim
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-12-13 09:46 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-10 04:41 HELP database files are incompatible with server Paulo Jobim <pajobim@attglobal.net>
2004-12-12 16:39 HELP database files are incompatible with server Paulo Jobim <pjobim@terra.com.br>
2004-12-13 09:46 ` Bjoern Metzdorf <bm@turtle-entertainment.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox