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

Re: yet another "can't read length line"

From: John Szakmeister <john_at_szakmeister.net>
Date: 2006-10-09 11:48:47 CEST

----- Razvan STANESCU <pappy@signumcreative.com> wrote:
> Hi there,
>
> I have a problem with a broken version in my SVN repository.
>
> Since I was preparing to upgrade to subversion-1.4, I tried
> to dump the repository and I got the following message:
>
> svnadmin: Can't read length line in file '/srv/svn/db/revs/12425'
>
> I checked the list, but no solution I've tried worked.
>
> A. trying to dump everything but not 12425 gave me the message
> above, here is my session
>
> > # svnadmin dump /srv/svn -r 0:12424 --incremental > D-1
> > ...
> > # svnadmin dump /srv/svn -r 12426:HEAD --incremental > D-2
> > * Dumped revision 12426.
> > ...
> > * Dumped revision 12434.
> > svnadmin: Can't read length line in file '/srv/svn/db/revs/12425'
>
> B. trying to fix the repository with "fsfverify" failed also, here
> is my session (the full output is in the attachment)
>
> > # ./fsfsverify/fsfsverify.py -f /srv/svn/db/revs/12425
> > ...
> > NodeRev Id: ja7.1bp.r12425/57145
> > type: file
> > pred: ja7.1bp.r12414/38823
> > text: INVALID 12425 0 31 1749 b393e94d5f878cd0288f5174a2100d62
> > cpath: /trunk/java/avmob/jboss-hello/sms-profile/bin/build.xml
> > copyroot: 11933 /trunk/java/avmob
> > Invalid rep header found at 0 (^@^@^@^@^@)!
> > Found problem in NodeRev ja7.1bp.r12425/57145 (57145)
> > text: INVALID 12425 0 31 1749 b393e94d5f878cd0288f5174a2100d62
> > At offset 0
> > Original text rep located at 0
> > Traceback (most recent call last):
> > File "./fsfsverify/fsfsverify.py", line 756, in ?
> > copy_len = 4096 + header_len
> > NameError: name 'header_len' is not defined

I've seen this before, and it was generally in the presence of a more severe corruption.
 
> I'm using
> - svn, version 1.3.1 (r19032)
> - neon, version 0.24.7
> - libapr1/libaprutil1, version 1.2.7
> - FSFS format
>
> As an additional information, one month ago I reorganized the
> repository, meaning I changed the tree moving several projects
> from one directory to another...
>
> Could anybody help me to recover the repository? I'm not tied to the
> version 12425, but now we are at version 13293 which represents about
> one month of work.
>
> If someone needed it, I could provide a link to the broken revision
> file...
>
> Thank you for any help!

If you can provide me a link to the file, I'll take a look at it. I suspect there is going to be some data loss though.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 9 11:49:50 2006

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.