You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ky...@panix.com on 2006/05/16 14:15:13 UTC
Unable to open an ra_local session to URL
Hi. I'm getting the following error:
% svn co file:///home/jones/svn-repos/MyProject/trunk MyProject
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///home/jones/svn-repos/MyProject/trunk'
svn: Berkeley DB error while opening environment for filesystem /home/jones/svn-repos/db:
DB_VERSION_MISMATCH: Database environment version mismatch
svn: bdb: Program version 4.3 doesn't match environment version
Could anyone tell me what's going on and/or how to fix it?
Thanks!
kj
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Unable to open an ra_local session to URL
Posted by Nico Kadel-Garcia <nk...@comcast.net>.
Some sys-admins are very good at not knowing what might affect other things. For example, an apparently harmless update to db4x installations or user configurations could easily disable or enable a particuler library at just the moments you were doing this, as part of fixing some other issue.
this is why I like seriously package managed systems, rather than the guesswork of the "download and compile locally" operating systems. You have a chance to test the specific packages in particular setups.
----- Original Message -----
From: Kynn Jones
To: Ryan Schmidt
Cc: kynn@panix.com ; users@subversion.tigris.org
Sent: Tuesday, May 16, 2006 4:50 PM
Subject: Re: Unable to open an ra_local session to URL
Thanks for the info, but I think this may be a red herring.
For one thing, I was using svn last week without any problems, and our sysadmin assures me that nothing has been changed in any way either with svn or BDB in the past 6 months. So the difference between last week and now can't be explained by changes in the installed svn or BDB software.
To make a very long story short, I created a brand-new repository and populated it from a recent repository dump, and, once again, I was able to use subversion normally. The error messages I was getting with practically every svn command went away.
But after a couple of hours of normal svn use, I have now run into another inexplicable svn failure. I've described this in a separate post ("svn died for good mid-command...").
kj
On 5/16/06, Ryan Schmidt <subversion-2006q2@ryandesign.com > wrote:
On May 16, 2006, at 16:15, kynn at panix.com wrote:
> % svn co file:///home/jones/svn-repos/MyProject/trunk MyProject
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository ' file:///home/jones/svn-repos/
> MyProject/trunk'
> svn: Berkeley DB error while opening environment for filesystem /
> home/jones/svn-repos/db:
> DB_VERSION_MISMATCH: Database environment version mismatch
> svn: bdb: Program version 4.3 doesn't match environment version
>
> Could anyone tell me what's going on and/or how to fix it?
Seems you or someone upgraded the BerkeleyDB libraries on your system
without following the Subversion BDB upgrade instructions, which are
here:
http://subversion.tigris.org/faq.html#bdb43-upgrade
Once you get this sorted out you may want to consider switching from
BDB to FSFS so that you cannot experience similar problems in the
future. How to do this is described here:
http://subversion.tigris.org/faq.html#bdb-fsfs-convert
Re: Unable to open an ra_local session to URL
Posted by Kynn Jones <ky...@gmail.com>.
Thanks for the info, but I think this may be a red herring.
For one thing, I was using svn last week without any problems, and our
sysadmin assures me that nothing has been changed in any way either with
svn or BDB in the past 6 months. So the difference between last week and
now can't be explained by changes in the installed svn or BDB software.
To make a *very *long story short, I created a brand-new repository and
populated it from a recent repository dump, and, once again, I was able to
use subversion normally. The error messages I was getting with practically
every svn command went away.
But after a couple of hours of normal svn use, I have now run into another
inexplicable svn failure. I've described this in a separate post ("svn died
for good mid-command...").
kj
On 5/16/06, Ryan Schmidt <su...@ryandesign.com> wrote:
>
> On May 16, 2006, at 16:15, kynn at panix.com wrote:
>
> > % svn co file:///home/jones/svn-repos/MyProject/trunk MyProject
> > svn: Unable to open an ra_local session to URL
> > svn: Unable to open repository ' file:///home/jones/svn-repos/
> > MyProject/trunk'
> > svn: Berkeley DB error while opening environment for filesystem /
> > home/jones/svn-repos/db:
> > DB_VERSION_MISMATCH: Database environment version mismatch
> > svn: bdb: Program version 4.3 doesn't match environment version
> >
> > Could anyone tell me what's going on and/or how to fix it?
>
> Seems you or someone upgraded the BerkeleyDB libraries on your system
> without following the Subversion BDB upgrade instructions, which are
> here:
>
> http://subversion.tigris.org/faq.html#bdb43-upgrade
>
> Once you get this sorted out you may want to consider switching from
> BDB to FSFS so that you cannot experience similar problems in the
> future. How to do this is described here:
>
> http://subversion.tigris.org/faq.html#bdb-fsfs-convert
>
>
>
Re: Unable to open an ra_local session to URL
Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 16, 2006, at 16:15, kynn at panix.com wrote:
> % svn co file:///home/jones/svn-repos/MyProject/trunk MyProject
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///home/jones/svn-repos/
> MyProject/trunk'
> svn: Berkeley DB error while opening environment for filesystem /
> home/jones/svn-repos/db:
> DB_VERSION_MISMATCH: Database environment version mismatch
> svn: bdb: Program version 4.3 doesn't match environment version
>
> Could anyone tell me what's going on and/or how to fix it?
Seems you or someone upgraded the BerkeleyDB libraries on your system
without following the Subversion BDB upgrade instructions, which are
here:
http://subversion.tigris.org/faq.html#bdb43-upgrade
Once you get this sorted out you may want to consider switching from
BDB to FSFS so that you cannot experience similar problems in the
future. How to do this is described here:
http://subversion.tigris.org/faq.html#bdb-fsfs-convert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Unable to open an ra_local session to URL
Posted by Nico Kadel-Garcia <nk...@comcast.net>.
kynn@panix.com wrote:
> Hi. I'm getting the following error:
>
> % svn co file:///home/jones/svn-repos/MyProject/trunk MyProject
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository
> 'file:///home/jones/svn-repos/MyProject/trunk' svn: Berkeley DB
> error while opening environment for filesystem
> /home/jones/svn-repos/db: DB_VERSION_MISMATCH: Database environment
> version mismatch svn: bdb: Program version 4.3 doesn't match
> environment version
>
> Could anyone tell me what's going on and/or how to fix it?
>
> Thanks!
>
> kj
You've neglected to say what operating system or what version of Subversion
you are using, and I admit that Subversion's error messages could use a lot
of tuning. But is the repository owned by a user and group so that your
client has read access, if not write access, to the repository? And which
versions of BDB are installed on your system? Are they consistent with the
installed version of Subversion?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org