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

getting svn and apache to work !!!!!

From: bruce <bedouglas_at_earthlink.net>
Date: 2004-09-07 16:36:45 CEST

no..

unfortunately... i don't get a succesful response...

i have the following:

 hard drive structure-
  /svnroot
    /svn <- repos
    /snvtest2 <- repos

httpd.conf subversion setup..

LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn>
   DAV svn
   #SVNParentPath /svnroot
   SVNPath /svnroot/svntest2 <<-- this should point to the target repos...
</Location>

all dirs/groups are 'apache' so there shouldn't be any permissions
conflict...

when i do 'svn list http://192.168.1.52:82/svn i get

svn: PROPFIND request failed on '/svn'
svn:
Could not open the requested SVN filesystem

(i've also tried to change the 'location /svn -> /svn1' and i get the same
error...

the error log shows...
[Tue Sep 07 07:52:22 2004] [notice] core dump file size limit raised to
4294967295 bytes
[Tue Sep 07 07:52:23 2004] [warn] module dav_module is already loaded,
skipping
[Tue Sep 07 07:52:23 2004] [warn] module php5_module is already loaded,
skipping
[Tue Sep 07 07:52:23 2004] [notice] mod_python: Creating 32 session mutexes
based on 150 max processes and 0 max threads.
[Tue Sep 07 07:52:23 2004] [notice] Digest: generating secret for digest
authentication ...
[Tue Sep 07 07:52:23 2004] [notice] Digest: done
[Tue Sep 07 07:52:24 2004] [notice] Apache/2.0.50 (Fedora) PHP/5.0.0
mod_python/3.1.3 Python/2.3.3 DAV/2 SVN/1.1.0-rc2 configured -- resuming
normal operations
[Tue Sep 07 07:53:08 2004] [error] [client 192.168.1.52] (20014)Error string
not specified yet: Bad database version: compiled with 4.0.14, running
against 4.2.52
[Tue Sep 07 07:53:08 2004] [error] [client 192.168.1.52] Could not fetch
resource information. [500, #0]
[Tue Sep 07 07:53:08 2004] [error] [client 192.168.1.52] Could not open the
requested SVN filesystem [500, #160000]
[Tue Sep 07 07:53:08 2004] [error] [client 192.168.1.52] Could not open the
requested SVN filesystem [500, #160000]

i've tried to simplify things as much as possible...
is it possible that apache is somehow screwing up... and if so,
how/what/where??

without the ability to do network version control... this is pretty much
dead!!!

so what am i missing??

thanks

-bruce

(ps. i'm changing the subject to better reflect what's going on, and that's
trying to get the %*$%&*# thing to work!!!)

-----Original Message-----
From: Guido Anzuoni [mailto:guido.anzuoni@kyneste.com]
Sent: Tuesday, September 07, 2004 6:54 AM
To: users@subversion.tigris.org
Subject: R: RE: getting "svn: PROPFIND of xxxxx: could not connect to
server" error...

Hi bruce,

Normally, I you use SVNParentPath with the following apache conf:

<Location /prefix-to-identify-all-svn-repos>
   DAV svn
   SVNParentPath put-here-full-pathname-of-parent-directory-of-repos
</Location>

having something like

<Location /svn>
   DAV svn
   SVNParentPath /usr/local/repos
</Location>

then any repository created under /usr/local/repos is visible with the url:
http://yourhost/svn/<repositoryname>

where <repositoryname> is the name of the subdirectory of /usr/local/repos
containing a
subversion repository.

I have no experience of SVNPath but I think that with your configuration:

<Location /svn1>
   DAV svn
   SVNPath /svnroot/svntest2
</Location>

you should have a repository in /svnroot/svntest2 and it should be
accessible as
http://yourhost/svn1

Hope it helps,

Guido.

-----Messaggio originale-----
Da: bruce [mailto:bedouglas@earthlink.net]
Inviato: martedì 7 settembre 2004 15.42
A: 'John Szakmeister'; users@subversion.tigris.org
Oggetto: RE: getting "svn: PROPFIND of xxxxx: could not connect to
server" error...

no prob...

i'm inclined to beleive that my issue is really with correctly setting up
the SVPath/SVNParentPath within the submission 'Location' block.

i have the following dir structure on the hard drive:

  /svnroot
    /svn
    /svntest2

i'd like to know what should be the actual values in a real/hypothetical
'location' block. i also need to know what would be the information, if i
only wanted to get a single repository using SVNPath, or multiple
repositories using SVNParentPath. and of course, i'd need to knwo the right
way to access the single/multiple respositories using 'http'.

in following the examples, i'm still getting the above errors...

my 'location' block is

LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /svn1>
   DAV svn
   SVNPath /svnroot/svntest2
</Location>

i'm trying to get to the 'svntest2' repository i'd like to be able to access
it by 'http://myserver/svntest2' or 'http://myserver/svnroot/svntest2' or
'http://myserver/abc' if 'abc pointed back to the correct repository!! at
this point, i'm lost in how to make this work, and rectify the errors...

any help/assistance/etc.. would be helpful!!

regards,

-bruce

-----Original Message-----
From: John Szakmeister [mailto:john@szakmeister.net]
Sent: Tuesday, September 07, 2004 4:27 AM
To: users@subversion.tigris.org
Subject: Re: getting "svn: PROPFIND of xxxxx: could not connect to
server" error...

Sorry Bruce... didn't mean to reply directly to you. Here's the message
for the list.

On Tuesday 07 September 2004 01:59, bruce wrote:
[snip]
> the portion of the config file that deals with dav/svn is:
> LoadModule dav_module         modules/mod_dav.so
> LoadModule dav_svn_module     modules/mod_dav_svn.so
> <Location /svntest2>
>    DAV svn
>    SVNPath /svnroot

What's the layout of the directories here?  If it's:
  /svnroot
    |--- repo1/
    |--- repo2/

then you'll want SVNParentPath instead of SVNPath.  In that case your URLs
would look like:
  http://server.name/svntest2/repo1

> #
> #   # Limit write permission to list of valid users.
> #   <LimitExcept GET PROPFIND OPTIONS REPORT>
> #      # Require SSL connection for password protection.
> #      # SSLRequireSSL
> #
> #      AuthType Basic
> #      AuthName "Authorization Realm"
> #      AuthUserFile /absolute/path/to/passwdfile
> #      Require valid-user
> #   </LimitExcept>
> </Location>
>
> i rebuilt the svn apps from source and connected them to the current
> version of the berkeley db on my box... i didn't want to do a complete
> rebuild of apache as well....

This isn't a berkeley problem... it's simply not pointed to an actual
repository.  Getting SVNPath or SVNParentPath pointed to the correct
location will help fix your problem.  As a side note, make sure you get
the permissions right.  You'll need to repository to be owned by the
apache user in order for it to work correctly.

> everything appears to be as it should be... however, given that it
> doesn't work, there's an error somewhere!!! searching through google
> indicates that others have had a smiliar problem, but nothing shed any
> light onto what the issue really is.
>
> any pointers/comments/thoughts are appreciated...
>
> thanks
>
> -bruce

-John

---------------------------------------------------------------------
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

---------------------------------------------------------------------
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 Tue Sep 7 16:36: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.