You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by cj...@veracitydesigns.com on 2005/01/29 23:25:48 UTC
Corrupted Berkeley DB - not recovering
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
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Corrupted Berkeley DB - not recovering
Posted by Max Bowsher <ma...@ukf.net>.
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