You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ranjit Kenaudekar <ra...@yahoo.com> on 2005/09/03 09:42:30 UTC

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"

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.

Can anybody tell me how I can fix this problem?
Appreciate your help.

Thanks,
Ranjit_iic

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

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

Posted by John Szakmeister <jo...@szakmeister.net>.
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