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

A strange repository corruption

From: Schrom, Brian T <brian.schrom_at_pnl.gov>
Date: 2004-11-08 18:48:54 CET

I corrupted a repository which has not happened in a long time (the last
one was way pre 1.0). I've been happily using Subversion quite reliably
for quite a while now. Thanks again for a great product. :)

A coworker tried doing a checkout and got a message back saying to run
recover.

The server has an hourly cron job that ups a number of working copies,
that then generate html reports.
The access method for the cron job is through file://. All other
clients use http:// with apache2.

There were occasional checkouts happening...The other thing that was
going on was that people were changing their passwords (.htpasswd2 type
files) that are shared between multiple programs (webpages).

In the apache error logs, it said to run
DB_RUNRECOVERY. I ran svnadmin recover. It returned almost
immediately. After running it, I got error opening filesystem,
permission denied errors from the client. We've been running this
repository for a couple of weeks, and others for a few months with the
same basic setup with no problems.

Setup:

Server is Debian Linux, kernel 2.6.8. Subversion 1.0.9. The repository
is running on a reiserfs disk. The backend is the Berkley DB.

Clients are windows running subversion 1.0.6, windows running version
1.1.1.
QNX clients running version 1.1.1 compiled from source

I'm just letting you know about an error case that I ran across. If
there is something about the setup or way that I'm using Subversion that
is incorrect, please let me know. I had to get the system back up and
going, so didn't spend any time investigating it other than running
recover. I did save a tarball of the repo (after recovery). If there
is something to look at, or some tests that I could run that would help
you out, let me know.

Thanks,

Brian S.

I believe this is the relevant log information from apache2/error.log.

[Fri Nov 05 13:08:14 2004] [error] [client x.x.x.101] Could not fetch
resource information. [500, #0]
[Fri Nov 05 13:08:14 2004] [error] [client x.x.x.101] Could not
determine the proper revision to access [500, #160029]
[Fri Nov 05 13:08:14 2004] [error] [client x.x.x.101] Berkeley DB error
while checkpointing after Berkeley DB transaction for filesystem /var/
lib/svn/node1/db:\nDB_RUNRECOVERY: Fatal error, run database recovery
[500, #160029]
[Fri Nov 05 13:08:14 2004] [error] [client x.x.x.101] (20014)Error
string not specified yet: Berkeley DB error while closing 'nodes'
database for filesystem /var/lib/svn/node1/db:\nDB_RUNRECOVERY: Fatal
error, run database recovery
[Fri Nov 05 13:10:31 2004] [error] [client x.x.x.219] user JOE:
authentication failure for "/cgi-bin/twiki/oops/TWiki/ChangePassword":
Password Mismatch, ...Wiki/WebHome?topic=ChangePassword
[Fri Nov 05 13:14:00 2004] [error] [client x.x.x.101] user JOE:
authentication failure for "/svn/node1/rack": Password Mismatch
[Fri Nov 05 13:14:09 2004] [error] [client x.x.x.101] (20014)Error
string not specified yet: Berkeley DB error while opening environment
for filesystem /var/lib/svn/node1/db:\nDB_RUNRECOVERY: Fatal error, run
database recovery
[Fri Nov 05 13:14:09 2004] [error] [client x.x.x.101] Could not fetch
resource information. [500, #0]
[Fri Nov 05 13:14:09 2004] [error] [client x.x.x.101] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:14:09 2004] [error] [client x.x.x.101] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:18:15 2004] [error] [client x.x.x.101] user JOE:
authentication failure for "/svn/node1/rack": Password Mismatch
[Fri Nov 05 13:18:18 2004] [error] [client x.x.x.101] (20014)Error
string not specified yet: Berkeley DB error while opening environment
for filesystem /var/lib/svn/node1/db:\nDB_RUNRECOVERY: Fatal error, run
database recovery
[Fri Nov 05 13:18:18 2004] [error] [client x.x.x.101] Could not fetch
resource information. [500, #0]
[Fri Nov 05 13:18:18 2004] [error] [client x.x.x.101] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:18:18 2004] [error] [client x.x.x.101] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:19:35 2004] [error] [client x.x.x.219] user JOE:
authentication failure for "/cgi-bin/twiki/oops/TWiki/ChangePassword":
Password Mismatch, .../view/TWiki/WebHome?topic=ChangePassword
[Fri Nov 05 13:19:49 2004] [error] [client x.x.x.101] (20014)Error
string not specified yet: Berkeley DB error while opening environment
for filesystem /var/lib/svn/node1/db:\nDB_RUNRECOVERY: Fatal error, run
database recovery
[Fri Nov 05 13:19:49 2004] [error] [client x.x.x.101] Could not fetch
resource information. [500, #0]
[Fri Nov 05 13:19:49 2004] [error] [client x.x.x.101] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:19:49 2004] [error] [client x.x.x.101] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:23:38 2004] [error] [client x.x.x.101] (20014)Error
string not specified yet: Berkeley DB error while opening environment
for filesystem /var/lib/svn/node1/db:\nPermission denied
[Fri Nov 05 13:23:38 2004] [error] [client x.x.x.101] Could not fetch
resource information. [500, #0]
[Fri Nov 05 13:23:38 2004] [error] [client x.x.x.101] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:23:38 2004] [error] [client x.x.x.101] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:25:23 2004] [error] [client x.x.x.31] user joesmoe found:
/svn/node1
[Fri Nov 05 13:25:34 2004] [error] [client x.x.x.31] (20014)Error string
not specified yet: Berkeley DB error while opening environment for fil
esystem /var/lib/svn/node1/db:\nPermission denied
[Fri Nov 05 13:25:34 2004] [error] [client x.x.x.31] Could not fetch
resource information. [500, #0]
[Fri Nov 05 13:25:34 2004] [error] [client x.x.x.31] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:25:34 2004] [error] [client x.x.x.31] Could not open the
requested SVN filesystem [500, #160029]
[Fri Nov 05 13:31:04 2004] [notice] SIGHUP received. Attempting to
restart
[Fri Nov 05 13:31:04 2004] [notice] Apache/2.0.50 (Debian GNU/Linux)
DAV/2 SVN/1.0.6 PHP/4.3.8-12 configured -- resuming normal operations

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 8 18:49:19 2004

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