[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: repository unusable

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-04-15 23:58:10 CEST

Wilfried Schmitten wrote:

>Moin,
>I just updated from SuSE 9.1 to 9.3
>the berkeley database changed from 4.2 to 4.3, all the new programs are linked
>to that libraries.
>From now, there is no access to the repository:
>
>apache complains:
>[Fri Apr 15 19:41:03 2005] [error] [client 192.168.211.165] (20014)Error
>string not specified yet: Berkeley DB error while opening environment for
>filesystem /work3/svn/repos/BEURON/db:\nDB_VERSION_MISMATCH: Database
>environment version mismatch
>
>svnadmin complains:
>muemmel2:/work3/svn/repos/MUEMMEL # svnadmin verify .
>svn: Berkeley DB error while opening environment for filesystem db:
>DB_VERSION_MISMATCH: Database environment version mismatch
>svn: bdb: Program version 4.3 doesn't match environment version
>
>
Yes, well, that's to be expected.

>and at last: svnadmin recover _destroyed_ the database
>
>
What????

I think you'd better show a listing of the <repostory>/db directory. I
simply don't believe that your database was destroyed.

>Yes, I have a backup... but what to do that the database is usable?
>I tried some of the berkeley support utilities (db_stat, db_upgrade,
>db_verify), but all of them complained mismatch of database version.
>
>
http://www.sleepycat.com/docs/ref/am/upgrade.html, note the bold text.

You _should_ be able to use db_upgrade to upgrade the database, but
you'll also have to recompile SUbversion to get it linked against db43.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 16 00:02:18 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.