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

can not recover/export database

From: oliver langan <oliver.langan_at_aa-rf.com>
Date: 2005-03-07 23:30:43 CET

Hi, I am a relatively new subversion user/administrator. I have a big
problem with my database, and I am hoping that you all can help me recover
it.

The problem began with an error message on checkouts, telling me to recover
the database. I shut down the server and attempted to run 'svnadmin recover
/svn/' which gave the following error many times:
    svn: bdb: Recovery function for LSN 24461 656348 failed on forward pass

Reading through this mailing list, I saw these two message threads:
    http://svn.haxx.se/users/archive-2004-11/1047.shtml
(clearly the results of a google search, since it comes from different
archive)

I deleted the log.* files as suggested and ran the recovery again: it seemed
to work just fine. However, when I attempted to run 'svnadmin dump /svn/ >
/svn.dump' it wrote the first 10 or 12 revisions, then gave a LOT of errors
like so:
    svn: bdb: DB_ENV->log_flush: LSN of 232/789010 past current end-of-log
    of 1/4434
    svn: bdb: Database environment corrupt; the wrong log files may have
    been removed or incompatible database files imported from another
    environment
followed by:
    svn: bdb: strings: unable to flush page: 0
    svn: bdb: txn_checkpoint: failed to flush the buffer cache Invalid
    argument

Are there any further steps I can take to recover this directory?

oliver

-- 
oliver langan  |  interface engineer   |  415 369 6423
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 7 23:33:47 2005

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