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

Re: (MacOS X ppc -> intel) svn: DB_VERSION_MISMATCH

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-09 05:28:38 CET

On Feb 8, 2007, at 21:04, Simon Boyle wrote:

> This might save someone else some time and let me know where to
> file a bug...
>
> I've recently upgraded from a Powerbook to a MacBook Pro (both running
> Mac OS X 10.4.8, and fink's svn 1.4.2-11) and have a number of local
> file: repositories.
>
> After running the Apple migration assistant all were succesfully
> moved, and the old (PPC) fink installed svn 1.4.2 worked as before.
>
> Eventually, I switched over to the Intel fink packages and started
> getting
>
> svn: DB_VERSION_MISMATCH: Database environment version mismatch
> svn: bdb: Program version 4.4 doesn't match environment version
> 67108864.67108864
>
> on previously working repositories.
>
> svnadmin recover
> yielded:
>
> Repository lock acquired.
> Please wait; recovering the repository may take some time...
> svnadmin: DB_RUNRECOVERY: Fatal error, run database recovery
> svnadmin: bdb: Program version 4.4 doesn't match environment version
> 67108864.67108864
> svnadmin: bdb: Ignoring log file: /home/svn-repos/db/log.0000001256:
> magic number 88090400, not 40988
> svnadmin: bdb: Invalid log file: log.0000001256: Invalid argument
> svnadmin: bdb: PANIC: Invalid argument
>
>
> which looks like an endian error somewhere
>
> Switching to the PPC build of svn (from the old powerbook) resulted in
> everything working as anticipated, so I did a bdb-fsfs-convert while
> switching back from the PPC build to the Intel build and things seem
> to be working again.

I don't see a bug... I think it's expected and well-known that, when
you switch architectures (like PowerPC to Intel), you have to dump
and reload BDB-based repositories -- dump while still on the old
architecture, then load on the new one.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 9 05:29:05 2007

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.