kfogel@collab.net wrote:
> "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.)
I really should, shouldn't I? :-)
/me adds to todo list.
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 19:22:07 2004