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

Re: MacOS X problems---Corrupt repository

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2003-07-26 22:00:13 CEST

Benny Siegert <bsiegert@gmx.de> writes:
> I am using Subversion on MacOS X to manage some big LaTeX documents. I
> have the following versions from fink:
>
> ii svn-client 0.19.1-3 Compelling replacement for CVS
> ii db4-shlibs 4.0.14-12 Shared Libraries for db4

Bzzt! Bzzt! Warning!
 
First, PLEASE do not use BDB 4.0.* on Mac OS X--it has known threading
bugs that can turn your db files into creme brulee.

> Now I am unable to do anything with my local repository. even 'svnadmin
> dump' fails:
>
> [manitou:/tmp] bsiegert% svn co
> file:///Users/bsiegert/svn/Studium/AAC_II/trunk
> svn: Invalid filesystem transaction name
> svn: no transaction named `1e' in filesystem `/Users/bsiegert/svn/db'
>
> [manitou:/tmp] bsiegert% svnadmin dump /Users/bsiegert/svn > repos.dump
> * Dumped revision 0.
> [...]
> * Dumped revision 32.
> svn: Filesystem is corrupt
> svn: txn_body_read_rep: checksum mismatch on rep "69":
> expected: 5fbf1073c07e316afec512d0fb547361
> actual: 63288652b3e6aa3554c46044868e1999
>
>
> [manitou:/tmp] bsiegert% svnadmin dump -r34 /Users/bsiegert/svn >
> repos2.dump
> WARNING: cmp_rev 33 is older than oldest dumped rev 34
> ... loading this dump into an empty repository will fail.
> WARNING: cmp_rev 33 is older than oldest dumped rev 34
> ... loading this dump into an empty repository will fail.
> svn: Filesystem is corrupt
> svn: txn_body_read_rep: checksum mismatch on rep "69":
> expected: 5fbf1073c07e316afec512d0fb547361
> actual: 63288652b3e6aa3554c46044868e1999
>
> I would really like to salvage at least the current revision, because I
> don't have a current working copy :(. Is there anything I can do?

Second, try recovering the db using svnadmin recover.

Third, please tell me that you have a backup of your repository and
can use that if you can't save the db.

-Fitz

--
Brian W. Fitzpatrick    <fitz_at_red-bean.com>   http://www.red-bean.com/fitz/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 26 22:01:04 2003

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.