You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Art Haas <ah...@airmail.net> on 2004/07/29 18:23:29 UTC
Problem accessing local repo
Hi.
Subversion has been working well for me for months, but my latest update
and build now gives the following error when trying to access a repo
kept on my machine:
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///mnt/src/svnrepo/pythoncad/trunk'
svn: Berkeley DB error while opening environment for filesystem
/mnt/src/svnrepo/db:
Invalid argument
$ svn --version
svn, version 1.2.0 (dev build)
compiled Jul 25 2004, 10:04:37
...
* ra_dav : Module for accessing a repository via WebDAV (DeltaV)
* protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema
$
Any known code issues from a day or two ago that cause Berkeley DB to
get messed up?
My latest build also used Debian's 'libdb-4.2' package instead of my own
built DB-4.2 libraries. The 'libdb-4.2' libraries are configured so that
the 'db.h' header file redefines various calls by appending a number to
the call, and my older (home-built) library was not configured to do
that. As that change should just effect building and run-time linkage, I
don't see how that could affect the reading of existing Berkeley DB
files.
Suggestions welcomed. Should I switch over to the 1.1.x branch, as the
trunk is in flux? An svn rebuild looks to be necessary at some point.
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
Re: Problem accessing local repo
Posted by Max Bowsher <ma...@ukf.net>.
Art Haas wrote:
> On Thu, Jul 29, 2004 at 01:42:44PM -0500, Ben Collins-Sussman wrote:
>> On Thu, 2004-07-29 at 13:23, Art Haas wrote:
>> This is issue 1968. Would you post a tarball of your repository for us
>> to examine?
>
> A bzipped copy of my repo can be downloaded at
>
> http://www.pythoncad.org/download/repo.tar.bz2
"svnadmin recover" worked for me, allowing me to dump 1105 revisions.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Problem accessing local repo
Posted by Art Haas <ah...@airmail.net>.
On Thu, Jul 29, 2004 at 01:42:44PM -0500, Ben Collins-Sussman wrote:
> On Thu, 2004-07-29 at 13:23, Art Haas wrote:
> This is issue 1968. Would you post a tarball of your repository for us
> to examine?
A bzipped copy of my repo can be downloaded at
http://www.pythoncad.org/download/repo.tar.bz2
Mail me if there are any problems retrieving it.
> > Any known code issues from a day or two ago that cause Berkeley DB to
> > get messed up?
>
> No, see issue 1968. We've not touched BDB code in ages and ages.
After reading about this issue, I'm thinking that the problem I have is
something other than the NPTL stuff mentioned above. Still, it is
certainly a BDb issue, so rebuilding of my libraries and svn binaries
has begun.
Thanks for looking at this, and I hope the repo will be useful. If you
--
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
Re: Problem accessing local repo
Posted by Art Haas <ah...@airmail.net>.
On Thu, Jul 29, 2004 at 01:42:44PM -0500, Ben Collins-Sussman wrote:
> On Thu, 2004-07-29 at 13:23, Art Haas wrote:
> > Hi.
> >
> > Subversion has been working well for me for months, but my latest update
> > and build now gives the following error when trying to access a repo
> > kept on my machine:
> >
> > svn: Unable to open an ra_local session to URL
> > svn: Unable to open repository 'file:///mnt/src/svnrepo/pythoncad/trunk'
> > svn: Berkeley DB error while opening environment for filesystem
> > /mnt/src/svnrepo/db:
> > Invalid argument
>
> This is issue 1968. Would you post a tarball of your repository for us
> to examine?
Sure. I'll reply to your reply once the repo is available. I'll put it
on my PythonCAD site so that it can be fetched from there.
> > Any known code issues from a day or two ago that cause Berkeley DB to
> > get messed up?
>
> No, see issue 1968. We've not touched BDB code in ages and ages.
> > My latest build also used Debian's 'libdb-4.2' package instead of my own
> > built DB-4.2 libraries. The 'libdb-4.2' libraries are configured so that
> > the 'db.h' header file redefines various calls by appending a number to
> > the call, and my older (home-built) library was not configured to do
> > that. As that change should just effect building and run-time linkage, I
> > don't see how that could affect the reading of existing Berkeley DB
> > files.
>
> Somehow your new version of BDb is incompatible with whatever data
> format the old BDB was writing to disk. Max Bowsher might get a better
> idea by looking at your repository.
>
> > Suggestions welcomed. Should I switch over to the 1.1.x branch, as the
> > trunk is in flux? An svn rebuild looks to be necessary at some point.
>
> This has nothing to do with svn's code; everything to do with your
> change of BDB library. :-)
I see. :-(
Running the Debian supplied 'db_*' utilies on some of the files in the
svn repo produce output like this:
$ db4.2_verify nodes
db_verify: Program version 4.2 doesn't match environment version
Running the versions from my db build produce no output, which I take to
mean the files are fine.
I still have my older Berkeley libraries on the machine, so I'll be
rebuiding Apache and Subversion. Thanks for replying so fast.
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
Re: Problem accessing local repo
Posted by Ben Collins-Sussman <su...@collab.net>.
On Thu, 2004-07-29 at 13:23, Art Haas wrote:
> Hi.
>
> Subversion has been working well for me for months, but my latest update
> and build now gives the following error when trying to access a repo
> kept on my machine:
>
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///mnt/src/svnrepo/pythoncad/trunk'
> svn: Berkeley DB error while opening environment for filesystem
> /mnt/src/svnrepo/db:
> Invalid argument
This is issue 1968. Would you post a tarball of your repository for us
to examine?
> Any known code issues from a day or two ago that cause Berkeley DB to
> get messed up?
No, see issue 1968. We've not touched BDB code in ages and ages.
>
> My latest build also used Debian's 'libdb-4.2' package instead of my own
> built DB-4.2 libraries. The 'libdb-4.2' libraries are configured so that
> the 'db.h' header file redefines various calls by appending a number to
> the call, and my older (home-built) library was not configured to do
> that. As that change should just effect building and run-time linkage, I
> don't see how that could affect the reading of existing Berkeley DB
> files.
Somehow your new version of BDb is incompatible with whatever data
format the old BDB was writing to disk. Max Bowsher might get a better
idea by looking at your repository.
> Suggestions welcomed. Should I switch over to the 1.1.x branch, as the
> trunk is in flux? An svn rebuild looks to be necessary at some point.
This has nothing to do with svn's code; everything to do with your
change of BDB library. :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org