You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Petri Varsa <pe...@desire2learn.com> on 2004/12/20 20:16:26 UTC

svnadmin recover and db_recover help

Hello,

My Apache logs tell me that I have a corrupt database.  I tried to run
"svnadmin recover ." and I got the following output:

E:\Subversion Repos\myrepo>svnadmin recover .
Repository lock acquired.
Please wait; recovering the repository may take some time...

Recovery completed.
svn: Berkeley DB error while opening environment for filesystem db:
DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: PANIC: fatal region error detected; run recovery

So, as per this post 
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=85
I tried to run the db_recover program.  I downloaded a windows binary
from here:  http://entrian.com/db_recover.zip

When I try to run db_recover.exe, I get the following output:

E:\Subversion Repos\myrepo\db>db_recover -h .
db_recover: incorrect arguments for name-value pair: set_flags
db_recover: DB_ENV->open: Invalid argument

Any advice would be appreciated. 

thanks,

-petri


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


Re: svnadmin recover and db_recover help

Posted by Max Bowsher <ma...@ukf.net>.
Petri Varsa wrote:
> Hello,
> 
> My Apache logs tell me that I have a corrupt database.  I tried to run
> "svnadmin recover ." and I got the following output:
> 
> E:\Subversion Repos\myrepo>svnadmin recover .
> Repository lock acquired.
> Please wait; recovering the repository may take some time...
> 
> Recovery completed.
> svn: Berkeley DB error while opening environment for filesystem db:
> DB_RUNRECOVERY: Fatal error, run database recovery
> svn: bdb: PANIC: fatal region error detected; run recovery
> 
> So, as per this post
> http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=85
> I tried to run the db_recover program.  I downloaded a windows binary
> from here:  http://entrian.com/db_recover.zip
> 
> When I try to run db_recover.exe, I get the following output:
> 
> E:\Subversion Repos\myrepo\db>db_recover -h .
> db_recover: incorrect arguments for name-value pair: set_flags
> db_recover: DB_ENV->open: Invalid argument
> 
> Any advice would be appreciated.

You downloaded a too-old version of db_recover.

Try with the one in this package:
http://subversion.tigris.org/files/documents/15/8848/db-4.2.52-win32.zip

Max.


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