[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: <kfogel_at_collab.net>
Date: 2004-11-22 19:11:55 CET

"Max Bowsher" <maxb@ukf.net> writes:
> 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, wanna write a FAQ for this? (I'd do it, but I think you're more
competent to describe the circumstances when it's appropriate.)

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 22 19:15:41 2004

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