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

Re: 1.1.0_rc2 update db version 4.2 on existing repositories

From: Jeff Kowalczyk <jtk_at_yahoo.com>
Date: 2004-09-22 17:24:05 CEST

Max Bowsher wrote:
> The recommended procedure for moving between BDB versions is to
> "svnadmin dump" using a svnadmin linked to the old bdb version, and
> "svnadmin load" using a svnadmin linked to the new bdb version. There
> are other ways in some circumstances, but this is the simple,
> recommended, all-purpose way to do it.

I'm taking your advice and trying to build a separate subversion-1.0.6
(the last version used in which a commit was made) to do the 'svnadmin
dump' step, then use the currently installed subversion-1.1.0_rc2 linked
against BerkelyDB4.2 or fsfs to do the svnadmin load.

Is there any way to tell which BDB version the repositor(ies) are
expecting? I want to pass --with-berkelydb= to the 1.0.6 configure script.

But the only information I have to go on is the error message:

$ svnadmin dump acme
svn: Berkeley DB error while opening environment for filesystem acme/db:
Invalid argument
svn: bdb: Program version 4.2 doesn't match environment version

What does that 'environment version' refer to? I presume it isn't
environment variables.

Below is the package file list for the various db4 versions installed on
my system. What is the argument I should pass to ./configure
--with-berkely-db= ?

Alternatively, can I just use one of the existing db4 dump commands on the
repository (how?), or is it mandatory to use 'svnadmin dump'? My
repositories are all in /home/myuser/svn/repos1 , repos2 , etc.

Thanks.

$ qpkg sys-libs/db-4 -l
sys-libs/db-4.2.52_p2 *
CONTENTS:
/usr
/usr/bin
/usr/bin/db4.2_checkpoint
/usr/bin/db4.2_deadlock
/usr/bin/db4.2_upgrade
/usr/bin/db4.2_archive
/usr/bin/db4.2_dump
/usr/bin/db4.2_load
/usr/bin/db4.2_stat
/usr/bin/db4.2_printlog
/usr/bin/db4.2_recover
/usr/bin/db4.2_verify
/usr/lib
/usr/lib/libdb_cxx-4.2.a
/usr/lib/libdb-4.2.la
/usr/lib/libdb-4.2.so
/usr/lib/libdb_cxx-4.2.la
/usr/lib/libdb_cxx-4.2.so
/usr/lib/libdb_cxx.a -> libdb_cxx-4.2.a 1092695681
/usr/lib/libdb.so -> libdb-4.2.so 1092695681
/usr/lib/libdb-4.2.a
/usr/sbin
/usr/sbin/berkeley_db42_svc
/usr/include
/usr/include/db4.2
/usr/include/db4.2/db.h
/usr/include/db4.2/db_185.h
/usr/include/db4.2/db_cxx.h
/usr/include/db_185.h -> db4.2/db_185.h 1092695682
/usr/lib/libdb_cxx.so -> libdb_cxx-4.2.so 1092695682
/usr/lib/libdb.a -> libdb-4.2.a 1092695682
/usr/include/db.h -> db4.2/db.h 1092695682

sys-libs/db-4.1.25_p1-r4 *
CONTENTS:
/usr
/usr/bin
/usr/bin/db4.1_recover
/usr/bin/db4.1_checkpoint
/usr/bin/db4.1_verify
/usr/bin/db4.1_printlog
/usr/bin/db4.1_dump
/usr/bin/db4.1_load
/usr/bin/db4.1_stat
/usr/bin/db4.1_upgrade
/usr/bin/db4.1_archive
/usr/bin/db4.1_deadlock
/usr/lib
/usr/lib/libdb_cxx-4.1.a
/usr/lib/libdb-4.1.la
/usr/lib/libdb-4.1.so
/usr/lib/libdb_cxx.so -> libdb_cxx-4.1.so 1087736021
/usr/lib/libdb.a -> libdb-4.1.a 1087736021
/usr/lib/libdb_cxx-4.1.la
/usr/lib/libdb_cxx-4.1.so
/usr/lib/libdb_cxx.a -> libdb_cxx-4.1.a 1087736021
/usr/lib/libdb.so -> libdb-4.1.so 1087736021
/usr/lib/libdb-4.1.a
/usr/sbin
/usr/sbin/berkeley_db41_svc
/usr/include
/usr/include/db.h -> db4.1/db.h 1087736021
/usr/include/db4.1
/usr/include/db4.1/db.h
/usr/include/db4.1/cxx_except.h
/usr/include/db4.1/cxx_common.h
/usr/include/db4.1/db_185.h
/usr/include/db4.1/db_cxx.h
/usr/include/db_185.h -> db4.1/db_185.h 1087736021

sys-libs/db-4.0.14-r3 *
CONTENTS:
/usr
/usr/bin
/usr/bin/db4_checkpoint
/usr/bin/db4_dump
/usr/bin/db4_load
/usr/bin/db4_stat
/usr/bin/db4_upgrade
/usr/bin/db4_verify
/usr/bin/db4_deadlock
/usr/bin/db4_archive
/usr/bin/db4_printlog
/usr/bin/db4_recover
/usr/lib
/usr/lib/libdb_cxx-4.0.a
/usr/lib/libdb-4.0.la
/usr/lib/libdb-4.0.so
/usr/lib/libdb_cxx-4.0.la
/usr/lib/libdb_cxx-4.0.so
/usr/lib/libdb_cxx.a -> libdb_cxx-4.0.a 1086112209
/usr/lib/libdb.so -> libdb-4.0.so 1086112209
/usr/lib/libdb-4.0.a
/usr/sbin
/usr/sbin/berkeley_db40_svc
/usr/include
/usr/include/db4
/usr/include/db4/db.h
/usr/include/db4/cxx_except.h
/usr/include/db4/cxx_common.h
/usr/include/db4/db_185.h
/usr/include/db4/db_cxx.h
/usr/include/db.h -> db4/db.h 1086112209
/usr/include/db_185.h -> db4/db_185.h 1086112209
/usr/lib/libdb_cxx.so -> libdb_cxx-4.0.so 1086112209
/usr/lib/libdb.a -> libdb-4.0.a 1086112209

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 22 17:24:25 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.