You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jared Noftle <ja...@airtightgames.com> on 2005/04/14 19:42:54 UTC

SVN database corrupted?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN database corrupted?

Posted by Max Bowsher <ma...@ukf.net>.
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