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