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

(MacOS X ppc -> intel) svn: DB_VERSION_MISMATCH

From: Simon Boyle <sboyle_at_gmail.com>
Date: 2007-02-09 04:04:06 CET

Hi,

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.

Regards, Simon.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 9 04:04:31 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.