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

Repository crash - Recovery failed

From: Todd H. Stokes <todd.stokes_at_bme.gatech.edu>
Date: 2005-09-30 19:02:11 CEST

Hello,

I just experienced my first major problem with a brand new Subversion
repository I created this week.

This is how it happened. I ran the following command:
$svn import -m "Matlab inital import." tmpdir
file:///home/svn/miblab/stomach/trunk

and I got an error because the matlab directory already existed under trunk.
Then I ran:
$svn delete -m "Matlab test delete."
http://aurora.bme.gatech.edu/miblab/stomach/trunk/matlab

No problem.
Next, same as above:
$svn import -m "Matlab inital import." tmpdir
file:///home/svn/miblab/stomach/trunk

Now the files I was trying to import started rolling by. The total amount of
data in this directory was > 1GB. Most of the data was in bitmap files (for an
image processing project). After (I'm guessing) 50 files or so, I got the
simple message 'Aborted.'

Suddenly, my repository is totally screwed. My apache server is reporting:
Could not open the requested SVN filesystem
and in the log:
[Fri Sep 30 12:28:33 2005] [error] [client 128.61.134.159] (20014)Error string
not specified yet: Berkeley DB error while opening environment for
filesystem /home/svn/miblab/db:\nDB_RUNRECOVERY: Fatal error, run database
recovery

So I switch to the svn user and run:
$svnadmin recover /home/svn/miblab

This is the output that I get:
Repository lock acquired.
Please wait; recovering the repository may take some time...
svn: DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: Checkpoint LSN record [165][632372] not found
svn: bdb: PANIC: DB_NOTFOUND: No matching key/data pair found

I'm not familiar with the Berkeley DB utilities, but I guess I'm going to get
familiar with them now.

Hope you can help,
Thanks,
Todd

--
Todd Stokes
Biomedical Informatics & Bioimaging Laboratory
Department of Biomedical Engineering
Georgia Tech
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 1 01:38:21 2005

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.