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

RE: BDB locking problems

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2002-12-17 00:32:45 CET

Hi,

Sorry that it took me such a long time to reply - I was too busy with
another project to try.

Unfortunately, this dump/create/load did not work. When I now try to check
out, I get the message: file not found: revision `0', path
'/trunk/stylesheets'.

(I did dump/load the revisions-table... Trying the same on the old repos
still hangs rather than giving an error)

When trying to do 'svnadmin recover newrepos' I get the same error msg as
before: svn: The segment is already unlocked
svn: svn_repos_recover: failed to delete all locks in repository `oldrepos'.

SVN version 0.15; platform Win2k sp2. Installed with the installer
downloaded from the website...

Anyone who has a clue which locks these are? How to recover from these
problems?

With regards,

--Tim

-----Original Message-----
From: cmpilato@collab.net [mailto:cmpilato@collab.net]
Sent: donderdag 12 december 2002 16:43
To: Leeuw van der, Tim
Cc: 'dev@subversion.tigris.org'
Subject: Re: BDB locking problems

"Leeuw van der, Tim" <tim.leeuwvander@nl.unisys.com> writes:

> Please ignore the attachments on previous e-mail, I managed to verify
> 'strings' without errors (was using db_verify.exe from cygwin by mistake!)
> but Outlook refused to delete the attachment from the email...
>
> I dumped most files except the .log files and the __db.00? files; I don't
> know how crucial they are.

The __db.00? files are not interesting. The log files are
interesting, but not dump-able.

Try db_dump'ing all the tables in your repository, storing each as a
dumpfile (db_dump -k nodes > nodes.dump). Then, 'svnadmin create
newrepos'. Then, db_load those dumpfiles into the newrepos, and
'svnadmin recover newrepos'. See if that gives you a working
repository that has the data from your broken one.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 17 00:34:05 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.