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

Re: Problem accessing repos with Apache

From: Henrik Vendelbo <hvendelbo_at_bluprints.com>
Date: 2004-12-08 00:05:04 CET

did you check the permissions on repository directories and files ?
* make sure that the Apache user has access
* consider making a common group for apache and svnserver
* if berkley repos make sure apache has write access on all files
* use sticky bits and group/user ID permissions to ensure that new files are
created correctly
* if you use selinux use chcon on repository

----- Original Message -----
From: "Niclas Ember" <niclas@sidfotens.se>
To: <users@subversion.tigris.org>
Sent: Tuesday, December 07, 2004 10:09 PM
Subject: Problem accessing repos with Apache

> Hi
>
> I have installed Subversion on a server, and are trying to reach the
> repository through my network and Apache.
> It works fine to connect to the repos through svnserve and svn+ssh.
> It also works fine to woek with the repos locally.
>
> If I write the following, on the server:
> svn checkout file:///Data/Svn/repos/Linuxkurs Testdok01
> I get a local copy of my Linuxkurs "directory" in Testdok01.
>
> If I through the network write:
> svn checkout https://192.168.0.10/svn/Linuxkurs/ Dokumentation/Linuxkurs
> I get an answer:
> svn: PROPFIND request failed on '/svn/Linuxkurs'
> svn:
> Could not open the requested SVN filesystem
>
> This is my configuration in httpd.conf:
> #Subversion Configuration
> <Location /svn>
> DAV svn
> SVNParentPath /Data/Svn/repos
> </Location>
>
> Apache run as:
> User nobody
> Group nobody
> in httpd.conf.
>
> The owner to the directory Svn, including subdirectories, is nobody with
> full permissions.
>
> In the Apache error-log it says:
> [Fri Nov 26 21:04:55 2004] [client 192.168.0.134] (20014)Error string not
> specified yet: Can't open file '/Data/Svn/repos/Linuxkurs/format': No such
> file or directory
> [Fri Nov 26 21:04:55 2004] [error] [client 192.168.0.134] Could not fetch
> resource information. [500, #0]
> [Fri Nov 26 21:04:55 2004] [error] [client 192.168.0.134] Could not open
> the requested SVN filesystem [500, #2]
> [Fri Nov 26 21:04:55 2004] [error] [client 192.168.0.134] Could not open
> the requested SVN filesystem [500, #2]
>
> I have searched for an answer to my problems with google and
> different forums, but it usually ends up with questions about permissions
> to repos and if I write the correct URI. I can't see that I'm doing
> anything wrong.
>
> Can anyone please tell me what I have missed???
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 8 00:08:13 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.