[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: Matt Navarre <mnavarre_at_cox.net>
Date: 2004-06-04 06:02:17 CEST

On Thursday 03 June 2004 08:47, Branko Čibej wrote:
> 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 recover?
>
> 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).
>

Ok. Abject panic (nearly) subsiding. good to know.
> >This is on RedHat 9, svn 1.0.4. The recovery was run as the repository
> > owner.
> >
<snipage>
> >
> >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.

Is db_recover part of the Berkeley DB distribution? It doesn't seem to have a
man page on my system. The DB on this machine is db4-4.0.14-20. I don't know
if it's the default from RH9 or was installed by up2date. The svn rpm's are
the ones from subversion's downloads page, but if I can recover I'll try
building both from source and see if that stops the crashy badness.

Thanks.

-- 
mnavarre@cox.net             
it was a hard sell, since he's a database person, and as far as I've seen, 
once those database worms eat into your brain, it's hard to ever get anything 
practical done again. To a database person, every nail looks like a thumb. Or 
something like that. - jwz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 4 06:03:37 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.