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

DB corruption

From: <dirkx_at_webweaving.org>
Date: 2003-01-26 17:34:36 CET

After an import on top levels (other leves are fine); I regulary see:

[Sun Jan 26 08:16:06 2003] [error] [client 62.251.72.224] Could not fetch
        resource information. [500, #0]
[Sun Jan 26 08:16:06 2003] [error] [client 62.251.72.224] Could not open
        the SVN filesystem at /data3/subversion/repos [500, #160029]
[Sun Jan 26 08:16:06 2003] [error] [client 62.251.72.224] (17)File exists:
        Berkeley DB error while opening environment for filesystem
        /data3/subversion/repos/db:
        DB_RUNRECOVERY: Fatal error, run database recovery [500, #160029]

Is this a rare occasion ? Any point in tracking this down (OS: FreeBSD,
subversion-r3987 from ports, apache build as of this morning) - or is this
a well known thing ? Fixed long ago ?

(Running on file:///data3/subversion/repos does not work) but leaving out
the file:// gives:

skutsje# svnadmin recover /data3/subversion/repos
        Acquiring exclusive lock on repository db, and running recovery procedures.
        Please stand by...svn: Unsupported repository version
        svn: Expected version '1' of repository; found no version at all; is
        `/data3/subversion/repos' a valid repository path?
        svn: No such file or directory
        svn: svn_io_file_open: can't open `/data3/subversion/repos/format'
skutsje# cat /data3/subversion/repos/format
        1

Thinking what the fuck - and doing it a second time gives:

skutsje# svnadmin recover /data3/subversion/repos
        Acquiring exclusive lock on repository db, and running recovery
        procedures.
        Please stand by...
        Recovery completed.
        The latest repos revision is 52.

And after a fair chunk of chmod/chown's things on the DB are fine and
dandy again.

Dw

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:18:11 2006

This is an archived mail posted to the Subversion Dev mailing list.