[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 '/var/svn/repot/db/transactions/1189-1.txn/next-ids'

From: Austin David France <Austin.France_at_redskyit.com>
Date: 2007-09-14 11:14:52 CEST

I tried two different versions of fsfsverify.py and both just give me syntax errors, possibly my version of python is old as this is a RH7.3 server. However, as this error was happening an a freshly created repository I dont think it was corruption causing it. The info I could find on the net about this error is for a problem with one of the revs files rather than for the transaction file 'next-ids'.

I have since exported the DB loaded it onto a different server which has subversion-1.4.3-2.fc6 running on it and the repository is running fine again. As it happened we were planing to migrate to the new server anyway, just wasnt planning to doing it yet. But I would have liked to understand what has gone wrong.

And today the error isnt happening, both test db and original repository on the old server are working again. I know it wasnt a disk space issue. Anyway I learned a bit more about the structure of the DB and we got our migration to the new server done ahead of plan so not a complete waste of time.

Here was the script I used to test incase its of use to anyone else:

#!/bin/bash
#
# Test basic functionality of Subversion to see if its working
#
cd /var/svn/test && {
        svnadmin create "$1"
        cat > "$1/conf/svnserve.conf" <<-EOF
        [general]
        anon-access = write
        realm = test/$1
        EOF
        cd /tmp && {
                svn co "svn://office/test/$1"
                cd "$1" && {
                        echo hello > hello
                        svn add hello
                        svn commit -m 'this is a test'
                }
        }
}

-----Original Message-----
From: eg [mailto:egoots@gmail.com]
Sent: 13 September 2007 17:56
To: Austin David France
Cc: users@subversion.tigris.org
Subject: Re: svn: Can't read length line in file
'/var/svn/repot/db/transactions/1189-1.txn/next-ids'

Austin David France wrote:
> svn: Can't read length line in file '/var/svn/repo/db/transactions/1189-1.txn/next-ids'

>
> I am not aware of anything changing on the server software wise. We have run out of disk space a few times in the past few weeks but there isnt currently a disk space issue.
>
> Kind of stuck at the moment and open to suggestions on how to investigate and/or correct this issue.
>

See:
http://www.szakmeister.net/blog/?page_id=16

He has a script fsfsverify.py which you can try.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 14 11:11:38 2007

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.