Simon Kennedy wrote:
> Hi all,
>
> I hope I'm not repeating the same message on the list (I believe I may
> have sent it before I was fully subscribed):
>
> After coming up with no answers with a brief search of the subversion
> mailing lists I thought I would
> put this to the mailing list. We seem to have corrupted our subversion
> db somehow. When I ran
> 'svnadmin verify' I got the following responce:
>
> svn: Berkeley DB error while checkpointing after Berkeley DB transaction
> for filesystem d:/SvnRepository/looksoftware/db:
> Invalid argument
> svn: bdb: Ignoring log file:
> d:/SvnRepository/looksoftware/db\log.0000004707: magic number 0, not 40988
That "magic number" line is indicative of a malformed log file.
First: MAKE A TARBALL/ZIPFILE BACKUP of the repository.
Then, cd to the "db" subdir of your repository.
Delete __db.* and the logfile mentioned in the error.
Try to run "db_recover -cv" - if that succeeds (doesn't report errors), try
"svnlook youngest" (a trivial test of repository access) - and if that
works, "svnadmin dump" your repository and reload into a newly created
repository.
If not, redo these instructions, deleting all __db.* and all log.* files.
You are on Windows, so you probably don't have the db_recover tool already
installed.
Get it from:
http://subversion.tigris.org/files/documents/15/8848/db-4.2.52-win32.zip
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 30 10:25:26 2004