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

Apparent BerkeleyDB problem accessing repo with ra_local

From: Art Haas <ahaas_at_airmail.net>
Date: 2003-12-10 17:05:28 CET

Hi.

I'm once again coming to the mailing list in search of help regarding my
PythonCAD subversion repo. The machine hosting my website had moved, and
the move required getting subversion installed on the new machine. That
task has now been completed, but there is a glitch I can't resolve.

The new subversion binary fails to read the local copy of the repository
and apparently the problem is BerkeleyDB related. The repo lives on my
home machine, and I use 'rsync' to send my local copy to the remote
machine. Both subversion binaries are being linked against the 4.0.14
Berekely DB release. On my local machine I'm the only user, so I'm safe
using rsync to send the repo to the remote machine.

When trying to do 'svn ls' on the remote machine I see this:

$ svn ls file:///path/to/svnrepo
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///path/to/svnrepo'
svn: Berkeley DB error while opening environment for filesystem
/path/to/svnrepo/db:
Resource temporarily unavailable
$

I own the files on both machines, and the read/write permissions are
identical on both machines as well. Back in January I'd had this exact
same problem which was due to using different Berekely DB releases, but
this I know that the version are both 4.0.14, though on my machine it is
the current Debian libdb-4.0 package, and the remote machine is a RedHat
db4 package.

Doing an 'strace' on the troublesome repo shows that subversion gets
stuck reading the 'db/__db.001' file inside the repository. None of the
other '__db' files are ever opened.

My local machine is running 0.34.0+, as it was built a few revisions
after the official 0.34.0 release. The remote machine is running the
current repository development release, as it was built yesterday (and
rebuilt today, FWIW).

Ideas and suggestions welcomed. Thanks in advance.

Art Haas

-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 10 17:06:08 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.