You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2002/10/03 15:10:37 UTC

Re: Help with svn and WebDAV?

> Berkeley DB error while opening environment for filesystem /spare/svn/linux-2.4.19/db:
> Permission denied

I think this is your clue.  What are the permissions on /spare/svn,
and what user & group is Apache2 running as?  Does apache have
read-write access to the repository?

-Karl

pll@lanminds.com writes:
> I created a subversion repository:
> 
> 	mkdir /spare/svn
> 	svnadmin create /spare/svn/linux-2.4.19
> 
> And then imported the 2.4.19 kernel tree into it:
> 
> 	svn import file:///spare/svn/linux-2.4.19/ /usr/src/linux \
> 	  -m "imported 2.4.19 tree into svn"
> 
> I added the following to my  /etc/apache2/sites-enabled/default file:
> 
>         <Location /svn> 
>            DAV svn 
>            SVNParentPath /spare/svn 
>         </Location> 
> 
> according to the directions on page 49 of "The Subversion Handbook".
> 
> Yet, when I try to connect to what I think should be the correct URL
> (http://subversion-svr/svn), I get an "Access Forbidden" 
> error in my browser, and the error.log says:
> 
> [Thu Oct 03 11:05:23 2002] [error] [client 128.221.30.88] Could not fetch resource information.  [403, #0]
> [Thu Oct 03 11:05:23 2002] [error] [client 128.221.30.88] (2)No such file or directory: The URI does not contain the name of a repository.  [403, #190001]
> 
> 
> Using the URL, http://subversion-svr/svn/linux-2.4.19/, I get the 
> error:
> 
> Berkeley DB error while opening environment for filesystem /spare/svn/linux-2.4.19/db:
> Permission denied
> 
> in my browser, and the same thing in error.log.
> 
> I'm completely new to Subversion *and* DAV, so I'm hoping someone can 
> point me in the right direction :)
> 
> Thanks,

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

Re: Help with svn and WebDAV?

Posted by pl...@lanminds.com.
>>>>> On 3 Oct 2002, "Karl" == Karl Fogel wrote:

  Karl> What are the permissions on /spare/svn, and what user & group
  Karl> is Apache2 running as?


>>>>> On Thu, 3 Oct 2002, "Rafael" == Rafael Garcia-Suarez wrote:

  Rafael> Is your repository writable by the user apache runs with ?

Ahh, okay, I added www-data to the group which owned the repository, 
but I forgot to restart apache after that, so it was still running 
with the old group memberships.

Thanks!
-- 

Seeya,
Paul
--
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!



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