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

Re: Repository corruption

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-04-11 18:15:48 CEST

kfogel@collab.net wrote:
> "Michael George" <mdgeorge@cs.cornell.edu> writes:
>> I'm using subversion 1.1.3 and I seem to have corrupted my repository.
>> On
>> svn up (or other client operations) I get:
>
> It's probably not "corrupted" (as in data loss), it's just wedged.
>
> This sounds like you have two different versions of Berkeley DB on
> your system, and that Subversion isn't always getting the one that
> created the repository. Is that possible?

We spoke on IRC, and mindful of the quoted "Input/output error", I had him
copy the repository to another disc.
svnadmin recover ran successfully on the copy.

Max.

>> [mike@kittyhawk repos]$ svn up
>> svn: Berkeley DB error while opening environment for filesystem
>> /home/mdg39/svn/repos/db:
>> DB_RUNRECOVERY: Fatal error, run database recovery
>> svn: bdb: DB_LOGC->get: invalid log record header
>> svn: bdb: PANIC: Input/output error
>> svn: bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
>>
>> I tried running svnadmin recover:
>>
>> [mdg39@csug02 ~]% svnadmin recover svn/repos/
>> Repository lock acquired.
>> Please wait; recovering the repository may take some time...
>> svn: DB_RUNRECOVERY: Fatal error, run database recovery
>> svn: bdb: DB_LOGC->get: invalid log record header
>> svn: bdb: PANIC: Input/output error
>> svn: bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
>> svn: bdb: fatal region error detected; run recovery
>>
>>
>> After that, darix on IRC suggested that I try db_recover -vech
>>
>> [mdg39@csug02 repos]% db_recover -vech db
>> db_recover: Finding last valid log LSN: file: 29 offset 61144
>> db_recover: DB_LOGC->get: invalid log record header
>> db_recover: PANIC: Input/output error
>> db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
>> db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database
>> recovery
>>
>> Still no luck.
>>
>> Does anyone have any other ideas as to what I could try? Please CC: me
>> as
>> I am not subscribed to the ML.
>>
>> Thanks very much,
>> --Mike (aka kittyhawk)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 11 18:40:21 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.