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

Re: Subversion Ate My Repository

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-06-04 05:47:22 CEST

Matt Navarre wrote:

>I've been having problems with subversion dumping core when trying to do a
>large commit on the local machine (file:/// URI). This leaves the DB needing
>recovery. I also just upgraded to 1.0.4, and when running svnadmin recover
>svnadmin dumped core. now all the __db.* files are *gone* is there anyway to
The __db.* files are just shared memory regions, they get recreated
later. It's actually better to remove them during database recovery.
What you need is the database and log files, which all seem to be there
(judging from your listing).

>This is on RedHat 9, svn 1.0.4. The recovery was run as the repository owner.
>Here's what happens on commit:
><225 rasputin.lan/src/HDF5># svn ci -m"Cleanup DOS damage" .
>Sending HDF5/hdf5-1.2.1/COPYING
>Sending HDF5/hdf5-1.2.1/HISTORY
>Sending HDF5/hdf5-1.2.1/INSTALL
>Sending HDF5/hdf5-1.2.1/INSTALL_TFLOPS
>Sending HDF5/hdf5-1.2.1/INSTALL_Windows.txt
>Sending HDF5/hdf5-1.2.1/INSTALL_parallel
>Sending HDF5/hdf5-1.2.1/MANIFEST
>Sending HDF5/hdf5-1.2.1/Makefile.dist
><snip more files>
>Sending HDF5/hdf5-1.2.1/tools/testfiles/tstr2.h5
>Sending HDF5/hdf5-1.2.1/tools/testh5dump.sh
>Sending HDF5/hdf5-1.2.1/tools/testh5toh4
>Transmitting file data ..............................................Abort
>(core dumped)
>and recovering the DB:
>[svnadmin@rasputin ~]$ svnadmin recover /usr/local/svn/repos
>Please wait; recovering the repository may take some time...
>Segmentation fault (core dumped)
I'd say something is seriously wrong either wirh your Subversion build
or your Berkeley DB, and I suspect the following. Have you tried the
db_recover command? Apart from that, it does the same thing as "svnadmin
recover". If that works, you'll at least know that the problem is in
Subversion. Or the other way around, of course.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 4 05:50:41 2004

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.