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

Re: svnadmin verify reports a clean repository, but IDE complains anyway

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Thu, 24 Jan 2008 13:10:52 +0100

On Thursday 24 January 2008, Howard Bryden wrote:
> Berkeley DB error for filesystem /descl/fims_dev/svn/db while opening
> environment: DB_RUNRECOVERY: Fatal error, run database recovery
> svn: bdb: PANIC: fatal region error detected; run recovery

Typically, I'd expect 'svnadmin recover' to help here. What puzzles me is the
fact that you say it is a new repository from a new installation of SVN.
Firstly, that installation wouldn't have created a BDB repository but an FSFS
one. So, if that repository is in fact much older, it might have been created
with an older BDB version and 'svnadmin recover' is just the right thing to
do (You do have backups, right?).

Secondly, I would check file permissions. If you created the repository as
user X and then accessed it with user Y (e.g. Y = root) using the file://
URL, you might have screwed up file permissions. Note that even reading
actually requires and uses write permissions on the repository!

> So while the verification tool reckons I have a sound repository, the
> IDE intermittently complains. Presently my guess is to
> a) Actually attempt a recovery as the diagnostic suggests.
> b) Try an upgrade of the BDB database to the latest release (4.6.21).
> c) Try an upgrade of Subversion to the latest release (1.4.6).
> d) Try the FSFS database backend.

Option d) sounds appealing, and I wonder why (if?) you chose DBD in the first
place. However, I have never had any big problems with BDB backends, even
across BDB upgrades, except that I couldn't use one created with Linux/x86 on
a machine running Linux/PPC, but that is expected and easily worked around.

One more thing: can you reproduce the problems via the commandline instead of
the IDE? It would be much nicer if you could rule out that point of failure.

cheers

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH
Geschäftsführer: Michael Wöhrmann, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-24 13:32:13 CET

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.