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

Repository corruption

From: Michael George <mdgeorge_at_cs.cornell.edu>
Date: 2005-04-09 19:58:11 CEST

Hi,

I'm using subversion 1.1.3 and I seem to have corrupted my repository. On
svn up (or other client operations) I get:

[mike@kittyhawk repos]$ svn up
svn: Berkeley DB error while opening environment for filesystem
/home/mdg39/svn/repos/db:
DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: DB_LOGC->get: invalid log record header
svn: bdb: PANIC: Input/output error
svn: bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery

I tried running svnadmin recover:

[mdg39@csug02 ~]% svnadmin recover svn/repos/
Repository lock acquired.
Please wait; recovering the repository may take some time...
svn: DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: DB_LOGC->get: invalid log record header
svn: bdb: PANIC: Input/output error
svn: bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: fatal region error detected; run recovery

After that, darix on IRC suggested that I try db_recover -vech

[mdg39@csug02 repos]% db_recover -vech db
db_recover: Finding last valid log LSN: file: 29 offset 61144
db_recover: DB_LOGC->get: invalid log record header
db_recover: PANIC: Input/output error
db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery

Still no luck.

Does anyone have any other ideas as to what I could try? Please CC: me as I
am not subscribed to the ML.

Thanks very much,
--Mike (aka kittyhawk)
Received on Sat Apr 9 20:48:59 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.