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

DB errors

From: Trevor Harrison <trevor-svn_at_harrison.org>
Date: 2003-11-17 18:16:26 CET

I sometimes get db errors when accessing the repos via file:// and then
apache.

As root, I've been importing snapshots of some src, using a file: url to
my repository. Then, I access the repos via apache (just to browse it)
I then get an error. If I go back to the cmd line, I get this:

# svn ls file:///data/subversion
svn: Couldn't open a repository.
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///data/subversion'
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem
/data/subversion/db:
DB_RUNRECOVERY: Fatal error, run database recovery

If I run svnadmin recovery, it fixes it.

This has happened several times, and is kinda scary. It doesn't always
happen. For instance, I just made a change to the repos as root, then
accessed it via apache without any problems.

I'm running on rh9. The only db packages installed (according to rpm)
are db4 and db4-devel (4.0.14-20) and gdbm 1.8.0-20.

I initially was using the binary rpms, but I uninstalled them and then
compiled everything from src.

Where should I start looking?

-Trevor

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 17 18:17:22 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.