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

Re: Major svn problem

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-11-22 13:18:24 CET

Ray Johnson wrote:
> Apparently our svn repository got corrupted this morning.
> I tried running "svnadmin recover" - but I get this major error (after
> itran for about 7 minutes):
>
>
> E:\SVN\KeenDev>svnadmin recover E:\SVN\KeenDev
> Repository lock acquired.
> Please wait; recovering the repository may take some time...
> svn: DB_RUNRECOVERY: Fatal error, run database recovery
> svn: bdb: Improper file close at 24461/656348
> svn: bdb: Recovery function for LSN 24461 656348 failed on forward pass
> svn: bdb: PANIC: Invalid argument
> svn: bdb: PANIC: fatal region error detected; run recovery
> svn: bdb: PANIC: fatal region error detected; run recovery
> svn: bdb: PANIC: fatal region error detected; run recovery
> svn: bdb: PANIC: fatal region error detected; run recovery
>
> What the heck would I do now?

First, make a backup (tarball/zipfile) of your repository.

Then, go to your repository's "db" subdir, and delete all the __db.* and
log.* files.
Then, "svnadmin recover", and "svnadmin dump", and reload the dump.

Hopefully that worked. If not, tell us the errors you encountered.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 22 13:24:11 2004

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