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

Re: running svnadmin recover results in error

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 2 Jun 2008 16:00:27 -0400

On Mon, Jun 2, 2008 at 3:53 PM, Brian Barto <brian_at_yoursolutions.net> wrote:
>
> On Jun 2, 2008, at 3:48 PM, Brian Barto wrote:
>
>> Hi all. I'm pretty much an svn noob. I usually only check in and out code.
>> However, the server that hosts our svn repo was upgraded this past weekend
>> and now svn is complaining when I try to check out code. I've been tasked
>> with fixing it since our normal admin is gone. I've run svnadmin recover and
>> it also complains. Here are the commands i've run and the output i'm seeing:
>>
>> As dev user:
>>
>> $ svn co file:///var/spool/svn/xFlow/v6/main/cgi-bin/lib/src
>> svn: Unable to open an ra_local session to URL
>> svn: Unable to open repository
>> 'file:///var/spool/svn/xFlow/v6/main/cgi-bin/lib/src'
>> svn: Berkeley DB error while opening environment for filesystem
>> /var/spool/svn/xFlow/db:
>> DB_RUNRECOVERY: Fatal error, run database recovery
>> svn: bdb: Ignoring log file: /var/spool/svn/xFlow/db/log.0000003368:
>> unsupported log version 10
>> svn: bdb: Invalid log file: log.0000003368: Invalid argument
>> svn: bdb: PANIC: Invalid argument
>> svn: bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
>>
>> As root:
>>
>> # svnadmin recover /var/spool/svn/xFlow
>> Repository lock acquired.
>> Please wait; recovering the repository may take some time...
>> svn: DB_RUNRECOVERY: Fatal error, run database recovery
>> svn: bdb: Ignoring log file: /var/spool/svn/xFlow/db/log.0000003368:
>> unsupported log version 10
>> svn: bdb: Invalid log file: log.0000003368: Invalid argument
>> svn: bdb: PANIC: Invalid argument
>> svn: bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
>>
>> I've read the svn faq and googled and can't seem to come up with a fix.
>> Any help would be appreciated.
>>
>
> I should also mention that I tried to db_recover -c -v -h /path/to/repos/db
> as suggested in the faq but db_recover is not even in my path and i can't
> find it anywhere on the server.

Have you seen this item in the FAQ:
http://subversion.tigris.org/faq.html#bdb43-upgrade ?

Sounds like your server's BDB libraries were upgraded without taking
into account the effects on software which uses them.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-02 22:00:54 CEST

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.