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

Re: Repository broken - please help

From: Martin J. Stumpf <mjs_at_jhu.edu>
Date: 2005-01-27 16:27:41 CET

Matthias Fechner wrote:

>Hi,
>
>i have here a Freebsd 5.3 machine with subversion 1.1.1 running.
>If i go into the directory, where my repository is and i insert:
>"svnadmin verify ." everything is fine.
>But i have problems with ceck file into the repository.
>(connection closed and so on - with svn+ssh://)
>
>Than i have tried to recover the repository with "svnadmin recover ."
>and i get the following errormessages:
>---
>Projektarchiv für Rettung gesperrt
>Bitte warten, die Rettung des Projektarchivs kann einige Zeit dauern...
>svn: DB_RUNRECOVERY: Fatal error, run database recovery
>svn: bdb: DB_ENV->log_flush: LSN of 1/605338 past current end-of-log of 1/11924
>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
>svn: bdb: PANIC: Invalid argument
>zsh: exit 1 svnadmin recover .
>---
>
>It seems, that one logfile is missing.
>How can i solve this problem?
>
>Thx in addition.
>
>
>

Matthias,

I too had a problem with a repository and tried to run svnadmin recover
to fix it. There were problems with the log files and the recover failed
as on your system. I then did a svnadmin dump myreps > myrepos.dump
followed by a svnadmin load newrepos < myreps.dump into a fresh newly
created repository with a different name. I then did a svnadmin verify
on the new repository and it was fine. I renamed the broken repository
to myrepos.old and then renamed the new one to myrepos and checked out a
working copy. All was fine after that.

Hope this help somewhat,

-Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 27 16:28:47 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.