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

Config question for svn server

From: Robert A Nesius <rnesius_at_ichips.intel.com>
Date: 2002-07-10 00:28:16 CEST

Hi all,
I'm a bit puzzled by my first test-run with the svn server,
and wanted to ask a clarifying question.

I created a repository like so (simply for testing purposes).

./svnadmin create /tmp/svn/cmstest
-> svn import file:///tmp/svn/cmstest /fs3/comp.apps_build.1/fping/fping-2.3b1

Then I set up my apache server, with the following config lines
added to httpd.conf:

<Location /svn/repos>
  DAV svn
  SVNPath /tmp/svn
</Location>

ServerName plxw0026.pdx.intel.com

However, the following command failed....

[plxw0026]-> svn 138> svn co http://plxw0026.pdx.intel.com/svn/repos -d wc

svn_error: #21089 : <Berkeley DB error>
  OPTIONS request failed on /svn/repos

  svn_error: #21089 : <Berkeley DB error>

    Berkeley DB error while opening environment for filesystem /tmp/svn/db:
    No such file or directory

And sure enough, there was no DB file in /tmp/svn.

Changing the SVNPath directive in httpd.conf to:
SVNPath /tmp/svn/cmstest

... fixed the problem.

The following command subsequently succeeded:
svn co http://plxw0026.pdx.intel.com/svn/repos -d wc

And you're all going "Of course it did!" So to make sure
I understand things, I wanted to confirm that whatever
one feeds to 'svnadmin create' needs to exist as an SVNPath.

Now that I've written this out and thought it through,
I guess that all checksums okay. But I'll post this to
the list just to make sure I've got things straight, and
in case this can help anyone else in the future when
reviewing the archives...

-Rob

-- 
#include <sig.h>
------------------------------------------------------------------
Robert Nesius             rnesius@ichips.intel.com    503.712.2181
DPG Engineering Computing SW Applications Team
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 10 00:28:44 2002

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.