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

Re: Weird error

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-07 11:11:19 CET

On Feb 6, 2006, at 23:26, Yaakov Chaikin wrote:

> New to Subversion here... Running on Suse 9.x with subversion 1.1.3.

[snip]

> Now, when I try to do any commands, it gives me this:
> ******************
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///home/ychaikin/svn-repos/
> sesame/trunk'
> svn: Berkeley DB error while opening environment for filesystem
> /home/ychaikin/svn-repos/db:
> DB_VERSION_MISMATCH: Database environment version mismatch
> svn: bdb: Program version 4.3 doesn't match environment version
> ******************
>
> Everything worked before. What happened now and how do I fix this?

It seems that you updated your BerkeleyDB libraries from version 4.2
to 4.3. If you're positive you didn't just upgrade some other
software which may have upgraded your BDB, then perhaps you have two
different versions of Subversion installed, linked to two different
versions of BDB, and you somehow started using the other version just
now.

Subversion 1.1.3 is old. The current version is 1.3.0, and you should
upgrade.

As of Subversion 1.2.0, the default repository format is no longer
BDB but FSFS, and FSFS is recommended. Once you get your repository
working again, I'd suggest converting your repository to FSFS and
using that in the future. You avoid any BDB problems that way.

To convert your repository:

http://subversion.tigris.org/faq.html#bdb-fsfs-convert

More info about FSFS:

http://svn.collab.net/repos/svn/trunk/notes/fsfs

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 7 11:12:38 2006

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