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

Re: SVN database corrupted?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-04-15 11:54:55 CEST

Jared Noftle wrote:
> Hello,
>
> I've been running SVN for about 2 months now with a team of 9 developers
> (some code, mostly art content however). This morning it seems to have
> gone down on our file server. In attempting to recover it, I get the
> following output:
>
> C:\server\Subversion\bin>svnadmin recover d:\svn\ageiademo
> Repository lock acquired.
> Please wait; recovering the repository may take some time...
> svn: DB_RUNRECOVERY: Fatal error, run database recovery
> svn: bdb: Ignoring log file: d:/svn/ageiademo/db\log.0000028294: magic
> number 0, not 40988
> svn: bdb: Invalid log file: log.0000028294: Invalid argument
> svn: bdb: First log record not found
> svn: bdb: PANIC: Invalid argument

Interesting. I'm not sure how such a thing can occur, but the named log file
is clearly faulty.

I suggest:
Make a full backup of the files.
Move the named logfile out of the repository.
Re-try recovery.

Mail here with the results.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 15 11:56:45 2005

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