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

Re: Help. Wrong BerkDB version -> can access repos

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-10-28 16:51:01 CEST

On Oct 28, 2004, at 9:40 AM, Svenne Krap wrote:

> Hi all.
>
> I'm running svn 1.1.0 on Gentoo Linux both CLI and through Apache2.
>
> My trouble is, that the automatic update system (portage) has replace
> BerkDB v4.1 with v.4.2...
>
> Now the apache goes "500 Internal Server Error" and the CLI barfs
> "svnlook tree .
> svn: Berkeley DB error while opening environment for filesystem db:
> Invalid argument
> svn: bdb: Program version 4.2 doesn't match environment version"
>

To upgrade a BDB 4.1 database to BDB 4.2, just run recovery on it:

    $ svnadmin recover repos

This is assuming, of course, that all of your svn binaries and
libraries are linked to BDB 4.2 now. Use 'ldd' to verify that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 28 16:52:14 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.