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

Re: Berkeley DB problem

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-12-04 20:43:22 CET

Klaus-J. Wolf wrote:
> On Saturday, 4. December 2004 19:39, Max Bowsher wrote:
>> Ben Collins-Sussman wrote:
>>> Re-sending to the list. "We" need to see your results (developers),
>>> not me personally. :-) Maxb: any idea what this means?
>
> Sorry, it's my first mailing list on this workstation ,-)
>
>> The BDB docs seem to suggest you are supposed to be using the *old*
>> version
>> of db_recover.
>>
>> However, that will probably be awkward.
>>
>> BACKUP (tar/zip) THE REPOSITORY, THEN
>> throw away all the __db.* and log.* files.
>> db_recover
>> svnadmin dump
>> svnadmin load into a new repository
>> Verify that the HEAD revision is what you expect.
>> If it is, then everything's ok.
>
> $ svn ls
> svn: Berkeley DB error while checkpointing after Berkeley DB transaction
> for
> filesystem /svn/db:
> Invalid argument
> svn: bdb: DB_ENV->log_flush: LSN of 59/61951 past current end-of-log of
> 1/3640
> svn: bdb: Database environment corrupt; the wrong log files may have been
> removed or incompatible database files imported from another environment
> svn: bdb: DB_ENV->log_flush: LSN of 59/61951 past current end-of-log of
> 1/4434
> svn: bdb: Database environment corrupt; the wrong log files may have been
> removed or incompatible database files imported from another environment
> svn: bdb: strings: unable to flush page: 0
> svn: bdb: txn_checkpoint: failed to flush the buffer cache Invalid
> argument
>
> The first time I did "svn ls" it was all perfect.

Repeat the recovery procudure I gave above, and this time "svnadmin dump"
immediatly after recovering. The first few operations after deleting the
logfiles work. Then BDB starts giving the error above.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 4 20:45:30 2004

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.