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

Re: Repository crash - Recovery failed

From: Oliver Pajonk <oliver.pajonk_at_gmail.com>
Date: 2005-10-02 15:06:04 CEST

The quickest solution: take a recent backup of your repository (I hope you
have one!), load it into a FSFS based repository (as opposed to the BDB
based one you seem to be using right now) and re-import the matlab stuff.

Reading this list for several months now revealed that most SVN corruption
problems are gone when the backend is switched to FSFS.

2005/9/30, Todd H. Stokes <todd.stokes@bme.gatech.edu>:
> 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<>]
> (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

Oliver Pajonk
Received on Sun Oct 2 15:07:41 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.