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

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

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-09-05 12:09:13 CEST

On Saturday 03 September 2005 05:42, Ranjit Kenaudekar wrote:
> 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"

This error indicates that something has corrupted the file. You can
information about the storage format at:
 <http://svn.collab.net/repos/svn/trunk/subversion/libsvn_fs_fs/structure>

That may help you to repair the file as to make things complete, but may also
introduce corrupted data.

> It seems all my earlier backups which I used to
> perform using hotbackup scripts are also of no use
> because it also gives exact same error.

One piece of advice I tell everyone when they setup their repository, is to at
least run 'svnadmin verify' over it every night. That will ensure things
like this don't go unnoticed for a long period of time.

> Can anybody tell me how I can fix this problem?

If you post the file somewhere and shoot me a private email about where to
find it, I'll take a look at the file. Otherwise, you can try fixing the
file structure yourself with the information in link above.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 5 12:10:56 2005

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.