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

Berkeley DB and svnadmin Issues

From: Robert Sesek <rsesek_at_iris-studios.com>
Date: 2005-12-07 07:04:59 CET

Hi all,

I'm using Subversion 1.2.3 on Fedora Core 4. Here's my situation:

I upgraded from Fedora 3 to Fedora 4. When this happened, my Berkeley
DB repositories were no longer accessible. This is the error that I
receive when I tried to access them:

svnadmin: Berkeley DB error for filesystem blog/db while opening
environment:
DB_VERSION_MISMATCH: Database environment version mismatch
svnadmin: bdb: Program version 4.3 doesn't match environment version

I would like to migrate them to FSFT, but I can't dump the
repository. I don't know how to get around this issue. Here's what
I've tried (all unsuccessful):

I went and grabbed BDB 4.2, 4.3, and 4.4. One at a time, I compiled a
version of BDB into a directory in my home folder (I didn't want to
end up messing with my system) using --prefix. I then compiled also
into that folder a SVN 1.2.3 with this command:

./configure --with-berkeley-db=/root/serversetup/svn/jail --prefix=/
root/serversetup/svn/jail

... "jail" is the directory that has the BDB in it. I started at BDB
4.2 and tried the rest of the versions, each time after compiling and
running:

/root/serversetup/svn/jail/bin/svnadmin dump bugtrack > bugtrack.dump

... I get the aforementioned error message. After one failed, I moved
the old jail aside and created a fresh directory to compile into--all
of them failed and gave me that message.

When I try running "ldd" on my "svnadmin" binary, it doesn't even
link to my compiled BDB version--the only exception being when I
compiled with BDB 4.3--it links to my BDB version. I'm not sure why
it didn't like my other versions.

Failed attempts aside, if anybody can give me advice on how to get my
BDB repositories to dump so I can convert them to FSFT, I'd me most
appreciative.

Thanks!

Robert Sesek
Email: rsesek@iris-studios.com
www.iris-studios.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 7 07:07:12 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.