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

Berkeley DB database corruption!

From: Damon Rand <damon_at_cybermagic.co.nz>
Date: 2003-07-29 14:38:40 CEST

Hi guys,

    My repository has been on 0.23.0 for a month or so. Last week it
developed a severe error.. Browsing the repository by any means just hung..
Apache didn't report any errors in the log.. So I ran

D:\svn>svnadmin recover abc.org

but it gave..

Acquiring exclusive lock on repository db.
Recovery is running, please stand by...
Recovery completed.
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem abc.org/db:
DB_RUNRECOVERY: Fatal error, run database recovery

And now

D:\svn>svnadmin recover abc.org

gives

Acquiring exclusive lock on repository db.
Recovery is running, please stand by...
Recovery completed.
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem abc.org/db:
DB_RUNRECOVERY: Fatal error, run database recovery

Now I get

<?xml version="1.0" encoding="utf-8" ?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
xmlns:C="svn:">
<C:error />
<m:human-readable errcode="160029">Berkeley DB error while opening
environment for filesystem d:/svn/abc.org/db: DB_RUNRECOVERY: Fatal error,
run database recovery</m:human-readable>
</D:error>

There is nothing in the windows event log.. Apache logs gives..

[Tue Jul 29 13:28:25 2003] [error] [client 128.1.32.3] Could not fetch
resource information. [500, #0], referer: http://svn.intsec.abc.org/
[Tue Jul 29 13:28:25 2003] [error] [client 128.1.32.3] Could not open the
SVN filesystem at d:/svn/abc.org [500, #160029], referer:
http://svn.intsec.abc.org/
[Tue Jul 29 13:28:25 2003] [error] [client 128.1.32.3] Berkeley DB error
while opening environment for filesystem d:/svn/abc.org/db:
DB_RUNRECOVERY: Fatal error, run database recovery [500, #160029], referer:
http://svn.intsec.abc.org/

The other thing worth noting is that I am using SVNAutoversioning..

Help!!

Damon.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 29 14:40:51 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.