You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Régis Priqueler <li...@aizenko.com> on 2004/12/20 10:00:18 UTC

Database recovery error

Hello,

This morning got an 500 error one one of my repository (try an other
one which seems to work fine).

In the Apache logs got this:

[Mon Dec 20 09:03:34 2004] [error] [client 82.224.154.85] Could not fetch resource information.  [500, #0]
[Mon Dec 20 09:03:34 2004] [error] [client 82.224.154.85] Could not determine the proper revision to access  [500, #160029]
[Mon Dec 20 09:03:34 2004] [error] [client 82.224.154.85] (13)Permission denied: Berkeley DB error while checkpointing after Berkeley DB transaction for filesystem /home/svn/svn_rep/CrystalModels/db:\nDB_RUNRECOVERY: Fatal error, run database recovery  [500, #160029]
[Mon Dec 20 09:03:34 2004] [error] [client 82.224.154.85] (20014)Error string not specified yet: Berkeley DB error while closing 'nodes' database for filesystem /home/svn/svn_rep/CrystalModels/db:\nDB_RUNRECOVERY: Fatal error, run database recovery
[Mon Dec 20 09:03:50 2004] [error] [client 82.224.154.85] (20014)Error string not specified yet: Berkeley DB error while opening environment for filesystem /home/svn/svn_rep/CrystalModels/db:\nDB_RUNRECOVERY: Fatal error, run database recovery
[Mon Dec 20 09:03:50 2004] [error] [client 82.224.154.85] Could not fetch resource information.  [500, #0]
[Mon Dec 20 09:03:50 2004] [error] [client 82.224.154.85] Could not open the requested SVN filesystem  [500, #160029]
[Mon Dec 20 09:03:50 2004] [error] [client 82.224.154.85] (17)File exists: Could not open the requested SVN filesystem  [500, #160029]
[Mon Dec 20 09:03:51 2004] [error] [client 82.224.154.85] (20014)Error string not specified yet: Berkeley DB error while opening environment for filesystem /home/svn/svn_rep/CrystalModels/db:\nDB_RUNRECOVERY: Fatal error, run database recovery
[Mon Dec 20 09:03:51 2004] [error] [client 82.224.154.85] Could not fetch resource information.  [500, #0]
[Mon Dec 20 09:03:51 2004] [error] [client 82.224.154.85] Could not open the requested SVN filesystem  [500, #160029]
[Mon Dec 20 09:03:51 2004] [error] [client 82.224.154.85] (17)File exists: Could not open the requested SVN filesystem  [500, #160029]

When i try  to run recovery got this response:

Please wait; recovering the repository may take some time...
svn: DB_RUNRECOVERY: Fatal error, run database recovery

If i run verify i got this response:

* Verified revision 427.
...
...
* Verified revision 427.
svn: Berkeley DB error while closing environment for filesystem db:
DB_RUNRECOVERY: Fatal error, run database recovery

The 427 is the last revision.

Does anybody can help?

I would like to know what is the cause and how to repair.

I recreate a fresh repository and load a backup dump and the new rep
is working fine.

Best regards

-- 
Régis Priqueler
Portfolio: http://R208.com
Aïzenko:   http://aizenko.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Database recovery error

Posted by kf...@collab.net.
Chuck Esterbrook <Ch...@yahoo.com> writes:
> Do we have any idea what percentage of Subversion users experience a
> broken repository and how that changes by op sys, repository size,
> repository age, and type (bdb vs. fsfs)? Those stats would help
> influence choices and perhaps testing and development efforts as well.
> 
> I wonder if the Subversion server could be enhanced to report usage
> and error data to some central server?
> 
> I haven't been around long enough to know if this has been discussed,
> is being worked on or what.

We don't have such stats, and it's a pity -- we'd all like to know.
But I'm really not sure how to gather them.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Database recovery error

Posted by Chuck Esterbrook <Ch...@yahoo.com>.
On Mon, 20 Dec 2004 11:00:18 +0100, Régis Priqueler wrote:
> When i try  to run recovery got this response:
> Please wait; recovering the repository may take some time... svn:
> DB_RUNRECOVERY: Fatal error, run database recovery

On Mon, 20 Dec 2004 15:16:26 -0500, Petri Varsa wrote:
> My Apache logs tell me that I have a corrupt database.  I tried to
> run "svnadmin recover ." and I got the following output:

It seems like every day someone posts about their broken repository. On the one hand this looks scary. On the other hand, this might be extremely rare compared to the number of Subversion installations.

Do we have any idea what percentage of Subversion users experience a broken repository and how that changes by op sys, repository size, repository age, and type (bdb vs. fsfs)? Those stats would help influence choices and perhaps testing and development efforts as well.

I wonder if the Subversion server could be enhanced to report usage and error data to some central server?

I haven't been around long enough to know if this has been discussed, is being worked on or what.

-Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org