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

RE: RE: svnadmin recover and db_recover help

From: Petri Varsa <petri.varsa_at_desire2learn.com>
Date: 2004-12-22 00:13:31 CET

By the way, Apache was stopped when running the command below.

-petri

-----Original Message-----
From: Petri Varsa [mailto:petri.varsa@desire2learn.com]
Sent: December 21, 2004 5:59 PM
To: Subversion Users
Subject: RE: svnadmin recover and db_recover help

Hello,

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?

thanks,

-petri

-----Original Message-----
From: Max Bowsher [mailto:maxb@ukf.net]
Sent: December 20, 2004 5:40 PM
To: Petri Varsa; Subversion Users
Subject: Re: svnadmin recover and db_recover help

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 22 00:13:02 2004

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.