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

Re: svn: Unknown FS type 'bdb'

From: David Ripton <dripton_at_ripton.net>
Date: 2005-04-08 05:27:41 CEST

On 2005.04.07 17:15:01 +0000, Chris Bruner wrote:
> Thanks for showing me the use flags, that seemed to move me along. (Don't
> know why they weren't set before)
> Now I'm getting a bit further, my error is
> svn: Berkeley DB error while opening environment for filesystem
> /homde/svn/db:Invalid argument
> svn: bdb: Program version 4.2 doesn't match environment version
>
> emerge -s db shows installed are several versions including db-4.2.52_p2

Looks like you changed your bdb version to an incompatible one.

You need svn compiled against the old bdb version, so that you can dump
your repository.

1. Backup your repository!
2. Find out what version of bdb you were using before.
3. Use emerge -C to remove all other versions of bdb except that one
from your system. Then use emerge with that version number to get
exactly that version of bdb on the system, if it's not still there.
You want to guarantee that svn uses the right one. Only giving it one
choice is the easy way to do that.
4. emerge -p svn. If this shows svn trying to upgrade your bdb, you'll
need to emerge --nodeps svn. (Manually emerge non-bdb dependencies
if necessary.) If not, you can just emerge svn.
5. Now you have a svn compatible with your repository. So svnadmin
dump.
6. Choose whether you want to continue using bdb, or switch to fsfs.
7. emerge db to get the newer bdb back, if applicable
8. Re-emerge svn, if you want it compiled against the newer bdb.
9. svnadmin create and svnadmin load to get your repository back.

-- 
David Ripton    dripton@ripton.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 8 05:31: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.