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

Another broken BDB

From: Brian Olson <icic_at_bolson.org>
Date: 2004-05-13 05:01:03 CEST

Environment: svn 1.0.1, BDB 4.2.52, MacOS X 10.3.3

I'm looking for guesses as to how to make my BDB not broken.

After a machine crash I had a long line of failing attempts to
'svnadmin recover' and 'db_recover'.

My repo 'voting':

% svnadmin recover voting
Please wait; recovering the repository may take some time...
subversion/libsvn_fs/bdb/bdb-err.c:51: (apr_err=160029)
svn: DB_RUNRECOVERY: Fatal error, run database recovery
% cd voting/db
% /usr/local/BerkeleyDB.4.2/bin/db_recover
db_recover: Log sequence error: page LSN 4 671725; previous LSN 5 226551
db_recover: Recovery function for LSN 5 229165 failed on forward pass
db_recover: PANIC: Invalid argument
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: PANIC: fatal region error detected; run recovery
db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database
recovery

I find it highly ironic that db_recover tells me to run database
recovery.

On dump I get through a bunch of revisions and then:
* Dumped revision 25.
subversion/libsvn_fs/err.c:187: (apr_err=160007)
svn: No transaction named 'x' in filesystem 'voting/db'

It should go up to revision 30, that's what a checkout I have claims to
be at.

Brian Olson
http://bolson.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 13 05:26:37 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.