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

Re: Database recovery problem

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-23 19:02:48 CEST

Damien Tougas wrote:
> Hello,
>
> I have a database issue, and svnadmin recover does not seem to help,
> when I run it, I get the following:
>
> Please wait; recovering the repository may take some time...
> svn: DB_RUNRECOVERY: Fatal error, run database recovery
>
> So, to try to get a better idea as to what is going on, I tried using
> db_reover, and got the following:
>
> db_recover: DB_LOGC->get: log record LSN 98/985326: checksum mismatch
> db_recover: DB_LOGC->get: catastrophic recovery may be required
> db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
> db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
> db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
> db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database
> recovery
...

If you are lucky, then making a copy of your repository and removing (from
a COPY), __db.*, and then trying "svnadmin recover repospath", and then if
that doesn't work "db_recover -vec" (executed from the db subdirectory of
the copy of the repository), will fix things. If not, try the same again,
this time try removing both __db.* and log.* . If you now have a functioning
repository don't put it back into service - "svnadmin dump" it, and load
the dump into a new repository.

If not, tar or zip your repository, put it on a web/ftp site, and email me
the url (privately if you wish), and I'll see what I can do.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 23 19:03:32 2004

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