You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Luke Bayes <lb...@lukebayes.com> on 2004/09/03 20:40:06 UTC

Permanantly Wedged DB?

Hello,

My name is Luke Bayes and I have been using Subversion for about 3
months now.

I have been using and administering CVS for a number of years. I would
not say that I am a CVS expert, but I am proficient and reasonably
knowledgeable.

Ever since installing subversion, I have had intermittent, periodic db
errors. Every week or so, we get the following message:

Commit failed (details follow):
Berkeley DB error while operating environment for filesystem
/var/svnroot/fastcountryexpo/db:
DB_RUNRECOVERy: Fatal error, run database recovery

I checked out the subversion book I bought, and it indicates that my
repository is probably "wedged".

This problem always appears after adding new directories, I believe
after adding more than 2 levels of directory depth (if that matters). We
are able to successfully add new directories most of the time, but
whenever we get this error, it happens on the commit after adding
directories. (hope that's clear)

There are only two developers working on this account.

I am usually able to log into our server, switch user to the repository
owner, and run svnadmin recover.

After restarting httpd, this has typically solved the problem for a week
or so. Unfortunatley, the problem has now cropped up to the extent that
we can no longer access our db and even though recover claims to have
fixed the db, the error still appears on commit and on update.

I am going to try doing a dump and full rebuild, but this will be the
second time that I've had to do this.

Can someone please tell me what might be going on? Is there some other
db alternative? Is anyone else getting these errors as consistently?

BTW - we're running a brand new installation of Red Hat Fedora (which
I'm very suspicious of) on an HP Prolinia 1U rack server...

Any help would be greatly appreciated!



Thanks,


Luke Bayes
lbayes@gmail.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Permanantly Wedged DB?

Posted by Steve Greenland <st...@lsli.com>.
On Fri, Sep 03, 2004 at 01:40:06PM -0700, Luke Bayes wrote:
> Commit failed (details follow):
> Berkeley DB error while operating environment for filesystem
> /var/svnroot/fastcountryexpo/db:
> DB_RUNRECOVERy: Fatal error, run database recovery

You also get this message when permissions are screwed up in the DB
directory. 'svnadmin recover' (as root) runs fine, but it doesn't solve
the problem, because recover doesn't fix the permissions (nor can it,
because permissions are a local issue).

Check and make sure that all the files in the db directory are rw for
the user having the problems (I suppose that would be the webserver
itself, in your case.

Steve


-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org