> From: Robert A Nesius [mailto:rnesius@ichips.intel.com]
> Sent: 10 July 2002 00:28
> 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
^^^^^^^^
You're missing the 'cmstest' part of your path.
> </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.
Ah, you found it already.
> 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.
Yes. This is documented in the INSTALL file, section III.C:
<Location /svn/repos>
DAV svn
SVNPath /absolute/path/to/repository
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
</Location>
Sander
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 10 09:12:11 2002