You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Tobias Sager <mo...@gmx.ch> on 2005/11/03 19:34:58 UTC

Re: svn: Can't read length line in file xyz

> Date: Sat, 3 Sep 2005 02:42:30 -0700 (PDT)
> From: Ranjit Kenaudekar <ra...@yahoo.com>
> Subject: svn: Can't read length line in file xyz
> 
> I get the below error while checking out, or while I
> am doing update operations.
> svnadmin verify and dump also gives the same error.
> 
> "svn: Can't read length line in file
> '/data/repo/db/revs/94"

I have the same problem. svnadmin gives me this error during verify.
svnadmin recover finds no errors.

Error log entries:
<snip>
[error] A failure occurred while driving the update report editor  [500,
#200002]
[error] Can't read length line in file
'/home/subversion/repos/db/revs/47'  [500, #200002]
</snip>

When I try to delete the resources (namely files in /A/c and /A/lib) of
the revision with the error, it seems to work okay, but I have this
entry in the log:
<snip>
[error] Could not DELETE
/source/repos/!svn/wrk/ee9739e9-ecad-1a41-9886-5d65727145a4/A/c.  [409, #0]
[error] Can't DELETE out-of-date resource  [409, #170004]
[error] Item '/A/c' is out of date  [409, #170004]
[error] Could not DELETE
/source/repos/!svn/wrk/d6b0d01d-eb37-0e46-9009-6f1c9f502f9a/A/lib.
[409, #0]
[error] Can't DELETE out-of-date resource  [409, #170004]
[error] Item '/A/lib' is out of date  [409, #170004]
</snip>


Using 1.2.1 on Fedora Core 1 over https with Apache.

Anybody any clues about this?

Thanks,
Tobias

-- 
GPG-Key 0xEF37FF28 - 1024/4096 DSA/ELG-E - 16.11.2001
Fingerprint: 3C4B 155F 2621 CEAF D3A6 0CCB 937C 9597 EF37 FF28


Re: svn: Can't read length line in file xyz

Posted by John Szakmeister <jo...@szakmeister.net>.
On Thursday 03 November 2005 14:34, Tobias Sager wrote:
> > Date: Sat, 3 Sep 2005 02:42:30 -0700 (PDT)
> > From: Ranjit Kenaudekar <ra...@yahoo.com>
> > Subject: svn: Can't read length line in file xyz
> >
> > I get the below error while checking out, or while I
> > am doing update operations.
> > svnadmin verify and dump also gives the same error.
> >
> > "svn: Can't read length line in file
> > '/data/repo/db/revs/94"
>
> I have the same problem. svnadmin gives me this error during verify.
> svnadmin recover finds no errors.
>
> Error log entries:
> <snip>
> [error] A failure occurred while driving the update report editor  [500,
> #200002]
> [error] Can't read length line in file
> '/home/subversion/repos/db/revs/47'  [500, #200002]
> </snip>
>
> When I try to delete the resources (namely files in /A/c and /A/lib) of
> the revision with the error, it seems to work okay, but I have this
> entry in the log:
> <snip>
> [error] Could not DELETE
> /source/repos/!svn/wrk/ee9739e9-ecad-1a41-9886-5d65727145a4/A/c.  [409, #0]
> [error] Can't DELETE out-of-date resource  [409, #170004]
> [error] Item '/A/c' is out of date  [409, #170004]
> [error] Could not DELETE
> /source/repos/!svn/wrk/d6b0d01d-eb37-0e46-9009-6f1c9f502f9a/A/lib.
> [409, #0]
> [error] Can't DELETE out-of-date resource  [409, #170004]
> [error] Item '/A/lib' is out of date  [409, #170004]
> </snip>
>
>
> Using 1.2.1 on Fedora Core 1 over https with Apache.
>
> Anybody any clues about this?

Can you provide me a copy of the original broken repository (before you tried 
to delete the resources)?  If so, post it to a website and send me the link 
privately, or if it isn't too big, you can send it directly to me.

I've seen this problem a few times, but the root cause has yet to be 
determined.  All of them had an incorrect text representation, but all were 
corrupted in different ways.  At least one of the cases turned out to be due 
to failing hardware.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org