This version of db_recover.exe sort of seems to work, but I now have
another problem. I have full permissions in the folder, but for some
reason, I get the following output:
E:\Subversion Repos\myrepo\db>db_recover -h .
db_recover: unable to join the environment
db_recover: unlink: .\__db.005: Permission denied
db_recover: unlink: .\__db.004: Permission denied
db_recover: unlink: .\__db.003: Permission denied
db_recover: unlink: .\__db.002: Permission denied
db_recover: unlink: .\__db.001: Permission denied
I have full control over the these files and I have checked that none of
them are read only. Any Ideas?
From: Max Bowsher [mailto:firstname.lastname@example.org]
Sent: December 20, 2004 5:40 PM
To: Petri Varsa; Subversion Users
Subject: Re: svnadmin recover and db_recover help
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:
> 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
> 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:
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Dec 21 23:58:28 2004