Hi, I am having a problem with corruption. This looks like another
flavor of a regular problem.
First I saw this:
-------
C:\Documents and Settings\Terry>svnadmin recover
c:/Subversion/repository
Repository lock acquired.
Please wait; recovering the repository may take some time...
svn: DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: DB_ENV->log_flush: LSN of 99/206498 past current end-of-log of
99/1841
50
svn: bdb: Database environment corrupt; the wrong log files may have
been remove
d or incompatible database files imported from another environment
svn: bdb: strings: unable to flush page: 0
svn: bdb: txn_checkpoint: failed to flush the buffer cache Invalid
argument
svn: bdb: PANIC: Invalid argument
svn: bdb: PANIC: fatal region error detected; run recovery
svn: bdb: PANIC: fatal region error detected; run recovery
(repeated many times)
-----------
I web searched the string and found myself at the subversion FAQ
(surprise!). This led me to try the db_recover tool (I confess I have
not read extensively about this; but my hope is not to master the
Berkely DB right now).
This gave me the text below; the output of db_recover was not
particularly verbose to me, so I may have done nothing yet. I have good
backups, so no data is at risk, but I would like to get this working
right.
Additional details: two computers are running windows XP. Using
svnserve -d run from command line on "server." client laptop retrieves
files in the morning; pushes them back in the evening; on weekends
server is also the client.
Any help is appreciated. Thanks
-----------
C:\Subversion\repository\db>\Subversion\tools\db4-win32\bin\db_recover
-c -v -h
\Subversion\repository
db_recover: Finding last valid log LSN: file: 1 offset 28
C:\Subversion\repository\db>svnadmin recover c:/Subversion/repository
Repository lock acquired.
Please wait; recovering the repository may take some time...
svn: DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: DB_ENV->log_flush: LSN of 99/206498 past current end-of-log of
99/1841
50
svn: bdb: Database environment corrupt; the wrong log files may have
been remove
d or incompatible database files imported from another environment
svn: bdb: strings: unable to flush page: 0
svn: bdb: txn_checkpoint: failed to flush the buffer cache Invalid
argument
svn: bdb: PANIC: Invalid argument
svn: bdb: PANIC: fatal region error detected; run recovery
svn: bdb: PANIC: fatal region error detected; run recovery
svn: bdb: PANIC: fatal region error detected; run recovery
----------
Received on Sat Jul 9 14:22:51 2005