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

Re: svn: PROPFIND of /: 405 Method Not Allowed

From: Zack Brown <zbrown_at_tumblerings.org>
Date: 2002-10-29 16:29:02 CET

On Tue, Oct 29, 2002 at 04:56:24PM +0200, Nuutti Kotivuori wrote:
> Zack Brown wrote:
> > I run Debian Sid. I installed apache2 and mod_dav, and set up a test
> > repository.
>
> > [Tue Oct 29 06:15:15 2002] [error] [client 127.0.0.1] Could not open the SVN filesystem at /home/zbrown/site/writing/svn/story [500, #160029]
> > [Tue Oct 29 06:15:15 2002] [error] [client 127.0.0.1] (13)Permission denied: Berkeley DB error while opening environment for filesystem /home/zbrown/site/writing/svn/story/db: Permission denied [500, #160029]
>
> Permission denied - int his case, a permission denied is most likely
> really permission denied.
>
> Your apache should be running under uid and gid of www-data - please
> make sure that that user can indeed read _and_ write to that
> repository.

Yes, that was it. I'm not sure what the preferred way to do it is, but I
did a 'chown -R www-data.www-data svn' on the repository and that cleared
it right up.

Is this on a FAQ somewhere that I missed? It might be nice to have a
question like "I set up a repository, and now I can check it out via
file:/// but not http://"

Answer:

1) Check which Berkeley DB is installed on your system. Some
distributions ship multiple versions. Yours should be >= 4.0. If any
binaries needed by Subversion are linked against the wrong library
version, you'll need to recompile those binaries against the proper
version.

2) Are you using the correct URL? If you've configured apache with
<Location /repos/myrepo>
then your URL will be http://localhost/repos/myrepo

3) Does your repository have the right permissions? For networked
access, the www-data user must be able to read and write the repository
files. <<include preferred method here>>

4) Do the directories leading up to your repository have the right
permissions? Every directory along the path to the repository should be at
least world-executable.

5) Are you running apache 2? Some distributions ship apache 1.x, which is
not supported by Subversion. Reconfigure your system to use apache 2.

Did I miss anything?

Thanks for the help,
Zack

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

-- 
Zack Brown
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 29 16:29:54 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.