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

Re: Corrupted Berkeley DB - not recovering

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-30 03:26:16 CET

cjs@veracitydesigns.com wrote:
> Hello,
>
> I'm under the assumption that one of my svn repositories is currently
> suffering from the same problem detailed, and seemingly resolved, in the
> thread related to this message:
>
> http://svn.haxx.se/users/archive-2004-11/0141.shtml
>
> My symptoms have been pretty much identical.. randomly the repository
> became
> inaccessible, ran svnadmin recover...
>
> Please wait; recovering the repository may take some time...
>
> Recovery completed.
> svn: Berkeley DB error while opening 'copies' table for filesystem
> /home/svnroot/repos/db:
> Invalid argument
>
> So, next I ran db_recover, hoping that would fix the db....
>
> db_recover: Finding last valid log LSN: file: 119 offset 702212
> db_recover: Recovery starting from [1][28]
> db_recover: Recovery complete at Sat Jan 29 17:33:36 2005
> db_recover: Maximum transaction ID 800a8d2f Recovery checkpoint
> [119][702212]
> db_recover: Recovery complete at Sat Jan 29 17:33:36 2005
> db_recover: Maximum transaction id 80000000 Recovery checkpoint
> [119][702212]
>
> DB remained inaccesible, tried svnadmin recover again....
>
>
> Please wait; recovering the repository may take some time...
>
> Recovery completed.
> svn: Berkeley DB error while opening 'copies' table for filesystem
> /home/svnroot/repos/db:
> Invalid argument
>
>
> As best I can tell, this seems to be the identical problem that Yoann was
> having. Unfortunately, I have no idea what Max Bowsher did to recover the
> repository. Can anyone provide me with instructions or direction as to how
> I
> can recover the DB?
>
> Many thanks in advance.
>
> BTW - running svn version 1.0.9 and compat-db 4.1.25

A reasonable hypothesis, but impossible to be certain, since you are using
svn 1.0.x, which gives less detailed BDB error messages than previous
versions.

Before doing anything else, *BACK UP YOUR REPOSITORY*.
Then, go here:
http://subversion.tigris.org/faq.html#bdb41-tabletype-bug

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 30 03:29:08 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.