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

RE: only svn and file works

From: James FitzGibbon <jfitzgibbon_at_primustel.ca>
Date: 2004-11-01 16:48:35 CET

Typically errors opening the SVN filesystem are due to permission errors.
Become the same user as the
web server runs as with the same umask and try to run svn info
file:///path/to/repo. If that fails, then
permissions are likely to blame. Getting at the repo using multiple access
methods requires careful
attention to permission and umasks.

General rules:

- all users who use file:// or svn:// or svn+ssh:// need to be in the same
group
- the user that the web server runs as also needs to be in this group
- the directory that holds the repo must have the setgid bit on (unless you
are on a BSD system where
the behaviour this confers is the default)
- any operations on the filesystem containing the repo must make sure that
they don't leave a file
non-writeable by members of the group. This can happen if say your web
server starts with a umask of 022,
since it will leave DB log files with a permission of 0644 owned by the web
server user. Someone then
tries to access the repo via file:// but can't because they can't modify the
DB log file.

Regards

-----Original Message-----
From: Faine, Mark [mailto:Mark.R.Faine@msfc.nasa.gov]
Sent: Monday, November 01, 2004 9:36 AM
To: 'James FitzGibbon'
Subject: RE: only svn and file works

>This isn't quite enough info for us to give you much help.

Re: I know, but I've posted more detailed messages before and gotten even
less of a response.

>What exactly happens when you try to access your repo using DAV? Can
>you
access the repo using http:// from a regular browser?What does your
httpd.conf look like for the site in question?

Using TortoiseSVN I get:

http://scm/svn/facilities/trunk/Error * PROPFIND request failed on
'/svn/facilities/trunk' Could not open the requested SVN filesystem or
https://scm/svn/facilities/trunk/Error * PROPFIND request failed on
'/svn/facilities/trunk' Could not open the requested SVN filesystem

When apache starts the log file shows:
[Mon Nov 01 08:19:35 2004] [info] Server: Apache/2.0.51, Interface:
mod_ssl/2.0.51, Library: OpenSSL/0.9.7d
[Mon Nov 01 08:19:35 2004] [notice] Apache/2.0.51 (Unix) mod_ssl/2.0.51
OpenSSL/0.9.7d DAV/2 SVN/1.1.1 configured -- resuming normal operations

When I try to access my repository via dav I get:

[Mon Nov 01 08:20:09 2004] [error] [client 192.67.109.221] (20014)Error
string not specified yet: Can't create a converter from 'native' to 'UTF-8'
[Mon Nov 01 08:20:09 2004] [error] [client 192.67.109.221] Could not fetch
resource information. [500, #0] [Mon Nov 01 08:20:09 2004] [error] [client
192.67.109.221] Could not open the requested SVN filesystem [500, #2] [Mon
Nov 01 08:20:09 2004] [error] [client 192.67.109.221] Could not open the
requested SVN filesystem [500, #2]

My httpd.conf has the following entry for configuring apache svn dav
modules:

<Location /svn>
    DAV svn
    SVNPath /export/home/repos/webapps
</Location>

I've tried several variations on this, none work. I've rebuilt the
repository time and again and even tried with Berkeley and with fsfs but
nothing seems to work.

Any help would be appreciated. This server will be on an isolated network
so authentication is not important, nor is SSL really crucial, though I
would like to reserve the ability to use it in the future. There will be no
true read-only users so write access can be granted to everyone.

-Mark

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 10/27/2004
 
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.784 / Virus Database: 530 - Release Date: 10/27/2004
 
----------------------------------------------------------------------------
This electronic message contains information from Primus Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited. If you have received this electronic message in error, please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en franšais de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 1 16:48:54 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.