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

Re: problem with svn (what else?)

From: Ketil Z. Malde <ketil_at_ii.uib.no>
Date: 2002-11-06 14:25:19 CET

Philip Martin <philip@codematters.co.uk> writes:

> ketil@ii.uib.no (Ketil Z. Malde) writes:

>> An 'strace svn command' reveals that it hangs in a loop doing
>> select(0,...) (attached below). Any idea what's wrong, and even more
>> importantly, how to fix it?

> Are you using ra_local (file://) access? Did you interrupt an svn
> command while it was accessing the repository?

Yes and maybe, respectively.

> If so then you probably need to run BDB recovery on the database.
> 0.14.3 doesn't have 'svnadmin recover' so you will have to use
> db_recover. Make sure you use the version of db_recover that comes
> with BDB 4.0.14, and run the command (note the final 'db' component)

Ugh - db_recover -V says 3.2.9. (Which didn't like the repository --
yeah, I tried it anyway, after a backup :-) I'll go dig up 4.0.14 and
see what happens.

[a few minutes later, after much swearing at Red Hat and wishing for
an employer with a Debianized IT-department]

> db_recover -veh /path/to/repository/db

        $ svn update
        At revision 38.

Yeah!

Thanks,

-kzm

-- 
If I haven't seen further, it is by standing in the footprints of giants
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 6 14:33:33 2002

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.