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

Re: Repository corruption

From: <kfogel_at_collab.net>
Date: 2005-04-11 18:23:56 CEST

"Max Bowsher" <maxb@ukf.net> writes:
> We spoke on IRC, and mindful of the quoted "Input/output error", I had
> him copy the repository to another disc.
> svnadmin recover ran successfully on the copy.

Thanks for following up, Max.

Do you know, does this happen often enough that we should make a FAQ
for it?

-Karl

> >> [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)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 11 19:05:49 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.