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

Re: svnadmin recover doesn't seem to help

From: Tobias Ringström <tobias_at_ringstrom.mine.nu>
Date: 2004-10-05 16:41:06 CEST

Holger Rauch wrote:

>Hi!
>
>I'm using Subversion version 1.0.6 (r10360) on a FreeBSD 4.10-STABLE system.
>Subversion was installed using the current FreeBSD port from the ports
>collection. Furthermore, Subversion is configured to use svnserve via inetd.
>The repository was accessed via Windows using TurtoiseSVN.
>
>I tried to dump the contents of the repository using svnadmin like this:
>
>svnadmin dump <repository-path>
>
>This caused the following Berkeley DB error:
>
>svn: Berkeley DB error while opening environment for filesystem
><repository-path>/db:
>DB_RUNRECOVERY: Fatal error, run database recovery
>
>svnserve wasn't disabled in inetd.conf and even though noone actively
>accessed the repository, it looks to me like TurtoiseSVN did it behind the
>scenes.
>
>So, I commented out the corresponding entry in /etc/inetd.conf, HUPed inetd,
>asked the user to close his explorer, so that TurtoiseSVN should be no
>longer active. Then I invoked
>
>svnadmin recover <repository-path>
>
>The output from the command was:
>
>Please wait; recovering the repository may take some time...
>
>Recovery completed.
>The latest repos revision is 59.
>svn: Berkeley DB error while closing environment for filesystem
><repository-path>/db:
>DB_RUNRECOVERY: Fatal error, run database recovery
>
>I looked at both the FAQ and the Subversion book, but I couldn't find an
>answer in there.
>
>
That's odd, because it's described in several places. Try this link to
start with:

http://subversion.tigris.org/project_faq.html#stuck-bdb-repos

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 5 16:41:47 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.