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

frequent Berkeley database errors

From: Pasi Hirvonen <psh_at_iki.fi>
Date: 2003-11-07 20:01:30 CET


I'm writing about a problem that has occurred several times for me
now. I did some searching with google and it seems that some others
have had bit similar problems too.. but the answers varied a lot
and the problems weren't exactly same.

We got a small project which two people mostly code and a
Subversion installation from FreeBSD ports collection. On a
frequent basis the following error occurs:

% svn update
svn: Couldn't find a repository
svn: No repository found in
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem /path/to/repos:
DB_RUNRECOVERY: Fatal error, run database recovery

Running svnadmin recover /blabla fixes the error but this is rather
annoying as it happens every few days or so.

I'd like to know whether I suspect a) svn problem b) hardware
problem (harddisk failure, logs from this host do not support this
however) or maybe a problem with my Subversion installation.

The clients we use:

% svn --version
svn, version 0.32.1 (r7497)
   compiled Oct 24 2003, 07:47:41
% uname -a
Linux xxxxxx 2.4.20-ck6 #1 Sun May 11 20:36:24 EEST 2003 i586


$ uname -a
Linux xxxxxx 2.6.0-test5 #12 Tue Oct 7 22:18:51 BST 2003 i686
$ svn --version
svn, version 0.32.1 (r7497)
   compiled Oct 28 2003, 16:03:14

The host Subversion repository sits in:

% uname -a
02:55:42 GMT 2003
root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386

% svn --version
svn, version 0.31.0 (r7355)
   compiled Oct 28 2003, 00:43:18

Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' schema
Thanks in advance. If more information about my setup is needed
I'll try my best providing it.

Pasi Hirvonen
Public PGP key: http://www.iki.fi/psh/gpg/pubkey.txt
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 7 20:19:01 2003

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.