You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tom Hosiawa <to...@rogers.com> on 2003/08/22 15:38:56 UTC

problems when moving repository form redhat to gentoo

I recently changed distros from redhat to gentoo, and so I copied the
repositories from /usr/local/svn on redhat to /usr/local/svn on gentoo. 

Now when I try to checkout a repository (or apply any other command) I
get this:

bash-2.05b$ svn co file:///usr/local/svn/Labyrinth/
svn: Couldn't open a repository.
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///usr/local/svn/Labyrinth'
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem
/usr/local/svn/Labyrinth/db:
Resource temporarily unavailable

Any ideas why this is failing, its not permissions because even if I do
it as root I get the same results?

Tom


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

Re: problems when moving repository form redhat to gentoo

Posted by Tom Hosiawa <to...@rogers.com>.
> On the Red Hat Linux box, run "svnadmin dump repo >repo.dump" and then
> on the Gentoo box, run "svnadmin load repo <repo.dump"

Thanks, that worked

Tom


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

Re: problems when moving repository form redhat to gentoo

Posted by Michael Wood <mw...@its.uct.ac.za>.
On Fri, Aug 22, 2003 at 05:23:31PM -0400, Tom Hosiawa wrote:
> > > Any ideas why this is failing, its not permissions because even if I
> > > do it as root I get the same results?
> > 
> > Based on your error messages and the fact that you switched systems, I
> > bet the issue is the version of BerkelyDB.  So I would look at what
> > version of BerkelyDB is installed and compare that to what's recommended
> > in the INSTALL file for subversion. 
> > 
> > + seth
> 
> Ok, that didn't fix it. I've compiled subversion with the new db-4.0.14
> and still same result. As you can see its svn is linked with db-4.0.14:
[snip]
> A possible fix I'm thinking is to create a new repository on my gentoo
> system and import the history from my old repository (redhat), except
> I'm not sure how I would do this, is this possible?
[snip]

On the Red Hat Linux box, run "svnadmin dump repo >repo.dump" and then
on the Gentoo box, run "svnadmin load repo <repo.dump"

-- 
Michael Wood <mw...@its.uct.ac.za>

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

Re: problems when moving repository form redhat to gentoo

Posted by Tom Hosiawa <to...@rogers.com>.
> > Any ideas why this is failing, its not permissions because even if I
> > do it as root I get the same results?
> 
> Based on your error messages and the fact that you switched systems, I
> bet the issue is the version of BerkelyDB.  So I would look at what
> version of BerkelyDB is installed and compare that to what's recommended
> in the INSTALL file for subversion. 
> 
> + seth

Ok, that didn't fix it. I've compiled subversion with the new db-4.0.14
and still same result. As you can see its svn is linked with db-4.0.14:
ldd /usr/bin/svn
        libsvn_client-1.so.0 => /usr/lib/libsvn_client-1.so.0
(0x40015000)
        libsvn_wc-1.so.0 => /usr/lib/libsvn_wc-1.so.0 (0x40031000)
        libsvn_ra-1.so.0 => /usr/lib/libsvn_ra-1.so.0 (0x40054000)
        libsvn_diff-1.so.0 => /usr/lib/libsvn_diff-1.so.0 (0x40057000)
        libsvn_ra_local-1.so.0 => /usr/lib/libsvn_ra_local-1.so.0
(0x4005d000)
        libsvn_repos-1.so.0 => /usr/lib/libsvn_repos-1.so.0 (0x40062000)
        libsvn_fs-1.so.0 => /usr/lib/libsvn_fs-1.so.0 (0x40075000)
        libsvn_ra_dav-1.so.0 => /usr/lib/libsvn_ra_dav-1.so.0
(0x40096000)
        libsvn_ra_svn-1.so.0 => /usr/lib/libsvn_ra_svn-1.so.0
(0x400a7000)
        libsvn_delta-1.so.0 => /usr/lib/libsvn_delta-1.so.0 (0x400b2000)
        libsvn_subr-1.so.0 => /usr/lib/libsvn_subr-1.so.0 (0x400ba000)
        libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x400de000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x400f5000)
        libdb-4.0.so => /usr/lib/libdb-4.0.so (0x400fc000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40195000)
        libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x401bb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x401ef000)
        librt.so.1 => /lib/librt.so.1 (0x4023f000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40253000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40280000)
        libdl.so.2 => /lib/libdl.so.2 (0x40295000)
        libneon.so.23 => /usr/lib/libneon.so.23 (0x40298000)
        libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x402b3000)
        libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x402e2000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x403a8000)
        libz.so.1 => /usr/lib/libz.so.1 (0x404ae000)
        libm.so.6 => /lib/libm.so.6 (0x404bd000)
        libc.so.6 => /lib/libc.so.6 (0x404df000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

A possible fix I'm thinking is to create a new repository on my gentoo
system and import the history from my old repository (redhat), except
I'm not sure how I would do this, is this possible?

Tom


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

Re: problems when moving repository form redhat to gentoo

Posted by Tom Hosiawa <to...@rogers.com>.
> > Any ideas why this is failing, its not permissions because even if I
> > do it as root I get the same results?
> 
> Based on your error messages and the fact that you switched systems, I
> bet the issue is the version of BerkelyDB.  So I would look at what
> version of BerkelyDB is installed and compare that to what's recommended
> in the INSTALL file for subversion. 
> 
> + seth
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

Thats it, db-3.2.9 is currently installed (sorry I sent that to you
personally by mistake before)

Thanks
        Tom


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

Re: problems when moving repository form redhat to gentoo

Posted by Seth Falcon <sf...@fhcrc.org>.
> Any ideas why this is failing, its not permissions because even if I
> do it as root I get the same results?

Based on your error messages and the fact that you switched systems, I
bet the issue is the version of BerkelyDB.  So I would look at what
version of BerkelyDB is installed and compare that to what's recommended
in the INSTALL file for subversion. 

+ seth

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