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

RE: Problems accessing repositories after migration to new server

From: Kevin Turner <kevin.turner_at_coraltree.co.uk>
Date: 2006-08-26 19:54:08 CEST

 
In my desperation I just tried an "svnadmin recover" on the new server
and, although this reported horrible fatal errors, the repository was
suddenly available and complete again. I then took your advice and
migrated them all to FSFS databases to avoid future issues.

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2006c@ryandesign.com]
Sent: 26 August 2006 18:51
To: Kevin Turner
Cc: Subversion List
Subject: Re: Problems accessing repositories after migration to new
server

On Aug 26, 2006, at 13:41, Kevin Turner wrote:

> Phew, I was getting worried. Since the Apache error log says (20014)
> Error string not specified yet: Berkeley DB error for filesystem D:\
> \SVN/equibook/db while opening environment:\nDB_VERSION_MISMATCH:
> Database environment version mismatch
>
> I am sure you are right.
>
> Can I svmadmin dump all the repositories in one go or do I have to do
> them all individually? We have a large number of repositories.

You must dump one repository at a time. You can probably write a small
script to automate it if you have that many.

> I am curious as to how I will have acquired a newer version of BDB on
> the new server though. It is basically a Swing Migration so the
> software "should" be the same.

I don't know what a "swing migration" is but it certainly appears that,
through whatever means, you have a different version of BDB on the new
machine. You can perform some steps to upgrade the repository to the new
BDB version; the FAQ has some instructions:

http://subversion.tigris.org/faq.html#bdb43-upgrade

But I personally recommend the dump-and-load strategy and migration to
FSFS. Many people have reported problems with BDB repositories, and only
a few have reported problems with FSFS. Though many people also have
success with BDB, I personally choose not to take the chance.

"NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected."

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 27 14:03:03 2006

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.