My subversion box ran out of space and one of my repositories crashed pretty
hard. I would just restore from backup but there have been some large
checkins since then.
root@server:/opt/repository# svnadmin recover project
Repository lock acquired.
Please wait; recovering the repository may take some time...
svn: DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: Recovery function for LSN 1725 978670 failed
svn: bdb: PANIC: Is a directory
svn: bdb: PANIC: fatal region error detected; run recovery
It wont recover until I remove the log files in db. But once I do that and run
"db4.recover -cv" on it, it appears to be fine until I perform a checkout or
dump. Then I get:
root@server:/opt/repository # svnlook youngest project
svn: Berkeley DB error while checkpointing after Berkeley DB transaction for
filesystem Internet_test/db:
Invalid argument
svn: bdb: DB_ENV->log_flush: LSN of 1725/956460 past current end-of-log of
1/241914
svn: bdb: Database environment corrupt; the wrong log files may have been
removed 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
Any ideas on how to recover from this? I still have the original repo from the
crash.
Thanks!
Brad
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 25 22:09:42 2005