You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by cm...@collab.net on 2003/08/16 19:38:08 UTC

Re: Updating 0.23 to 0.27 => Berkeley DB error

"Jean-Luc Wasmer" <jl...@wasmer.ca> writes:

> Hi,
> 
> Well, everything is in the subject line...
> 
> I didn't dump/load the repository since the db schema didn't change
> (according to the file CHANGES).
> 
> Full error output:
> 
> svn: Couldn't open a repository.
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///data/svnroot/testrep/trunk'
> svn: Berkeley DB error
> svn: Berkeley DB error while opening environment for filesystem
> /data/svnroot/testrep/db:
> Resource temporarily unavailable

Did you accidentally upgrade from db4 to db4.1 as well?  I see this
error alot when I use a Subversion compiled against on of those
versions of Berkeley on a repository built with another (which can
happen, since I have both db4 and db4.1 on my system).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Updating 0.23 to 0.27 => Berkeley DB error

Posted by Ben Collins-Sussman <su...@collab.net>.
"Jean-Luc Wasmer" <jl...@wasmer.ca> writes:

> > > svn: Couldn't open a repository.
> > > svn: Unable to open an ra_local session to URL
> > > svn: Unable to open repository 'file:///data/svnroot/testrep/trunk'
> > > svn: Berkeley DB error
> > > svn: Berkeley DB error while opening environment for filesystem
> > > /data/svnroot/testrep/db:
> > > Resource temporarily unavailable
> > 
> > Did you accidentally upgrade from db4 to db4.1 as well?
> 
> Yes... 4.0.14 -> 4.1.25

To upgrade a db database from 4.0 to 4.1, you need to run db_recover
(or 'svnadmin recover').

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Updating 0.23 to 0.27 => Berkeley DB error

Posted by Jean-Luc Wasmer <jl...@wasmer.ca>.
> > svn: Couldn't open a repository.
> > svn: Unable to open an ra_local session to URL
> > svn: Unable to open repository 'file:///data/svnroot/testrep/trunk'
> > svn: Berkeley DB error
> > svn: Berkeley DB error while opening environment for filesystem
> > /data/svnroot/testrep/db:
> > Resource temporarily unavailable
> 
> Did you accidentally upgrade from db4 to db4.1 as well?

Yes... 4.0.14 -> 4.1.25

If I get my old version of db4 back, what shall I do then?
A Dump/Load cycle? Or is there a conversion tool with db4?

JL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org