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

Re: BDB version changed in win32 binaries ? (Was Re: Subversion 1.2.0 Release Candidate 2 released.)

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-04-29 14:44:10 CEST

François Beausoleil wrote:
> Almost the same error as Kyle:
> $ svnadmin --version
> svnadmin, version 1.2.0 (Release Candidate 2)
> compiled Apr 22 2005, 08:25:36
> $ svnadmin recover repos
> Repository lock acquired.
> Please wait; recovering the repository may take some time...
> svnadmin: DB_RUNRECOVERY: Fatal error, run database recovery
> svnadmin: bdb: Program version 4.3 doesn't match environment version
> svnadmin: bdb: Skipping log file repos/db\log.0000002942: historic log
> version 8
> svnadmin: bdb: repos/db\log.0000002943: log file open failed: No such
> file or directory
> svnadmin: bdb: PANIC: No such file or directory
> svnadmin: bdb: DB_ENV->log_put: 2943: DB_RUNRECOVERY: Fatal error, run
> database recovery
> That's on WinXP SP2 (fr-ca)
> Hope that helps,

Actually, it does!

I recall seeing this combination of errors before.

What you need to do is:

$ svnadmin recover repos
# this will error like it does above, but that is ok.
$ svnlook youngest repos
# this should work

To fully follow the Berkeley DB guidelines, you *should* be additionally be
running recovery with the *old* version of BDB first, too, but I appreciate
this may be hard to do, and _seems_ to be unnecessary providing the database
was in a good state before the version change.

Additionally, if you are operating any incremental backup scheme based on
BDB logfiles, you should immediately perform a *full* backup after the
version upgrade above has been completed.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 29 14:47:31 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.