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

Re: seemingly corrupt db?

From: <kfogel_at_collab.net>
Date: 2004-11-20 03:13:42 CET

Geoff Smith <geoffrey.smith@nrl.navy.mil> writes:
> >Did someone maybe upgrade Berkeley DB shared libraries on that system,
> >after you installed Subversion?
>
> Not that I know of, unless I did it by mistake. I did do an OS
> update, but don't know if that updated the DB libs. Is there a good
> way to check the versions?

An OS upgrade will often upgrade BDB, yeah. You could look at
/usr/include/db.h (assuming that's where Berkeley's headers are) and
poke around for something like this:

   /*
    * Berkeley DB version information.
    */
   #define DB_VERSION_MAJOR 4
   #define DB_VERSION_MINOR 2
   #define DB_VERSION_PATCH 50
   #define DB_VERSION_STRING "Sleepycat Software: Berkeley DB 4.2.50: (November 20, 2003)"

As for solutions: I'm not sure, but if you could compile a Subversion
statically against the old libs, you could run 'svnadmin dump' on the
repository, save the dumpfile, recreate the repository with a newly
compiled Subversion, and load it? I'm winging it here, though.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 20 03:16:40 2004

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