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

Re: DB_RUNRECOVERY but recovery attempts do not work

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-09-26 03:22:05 CEST

Robert Feldt wrote:
> Hi,
>
> I've been running svn on several projects for a long time and been very
> happy with it. However, now I seem to have problems with several of my
> repositories and I can't seem to get back to a consistent db state. Here
> is a transcript of what I've tried:
>
> svn@trind repos $ svnadmin dump rubysharp > dump_rubysharp
> svn: Berkeley DB error while opening 'nodes' table for filesystem
> rubysharp/db:
> DB_RUNRECOVERY: Fatal error, run database recovery
> svn@trind repos $ svnadmin recover rubysharp
> Please wait; recovering the repository may take some time...
> svn: DB_RUNRECOVERY: Fatal error, run database recovery
> svn@trind repos $ db_recover -h rubysharp/db
> db_recover: Ignoring log file: rubysharp/db/log.0000000023: unsupported
> log vers
> ion 7
> db_recover: PANIC: Invalid argument
> db_recover: DBENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
> svn@trind repos $ db_recover -V
> Sleepycat Software: Berkeley DB 3.2.9: (January 24, 2001)

You're running the wrong version of db_recover. It's from version 3.2.9
of Berkeley DB, you want the one from whatever version Subversion is
linked with (4.x).

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 26 03:23:42 2004

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.