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

apache setup problems

From: Robert J. Carr <rjcarr_at_apl.washington.edu>
Date: 2005-02-11 00:47:42 CET

I'm trying to get apache to serve my repositories, but I'm having some
problems setting it up. I'm using this:

http://svnbook.red-bean.com/en/1.1/ch06s04.html

as my resource. Here's the situation.

I have apache2 setup and it has been serving a trac environment for
sometime. The trac environment can hook-up to the SVN repositories just
fine. Currently the repositories are being served with the svnserve daemon.

Following the above resource, I'm loading in the required modules with:

LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so

And that seems to be fine.

My SVN is setup on a multi-project basis, so here would be the filesystem:

/data/svn/projects/projectOne
/data/svn/projects/projectTwo

Let's say one of my projects is 'scratch'. In the conf file, I have:

<Location /svn>
   DAV svn
   SVNParentPath /data/svn/projects
</Location>

So to check out a project, I issue:

svn co http://server/svn/scratch

And it hangs for about 10 seconds, and gives this error:

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

And in apache, it gives this error:

[Thu Feb 10 15:22:23 2005] [error] [client 128.95.76.130] (20014)Error
string not specified yet: Berkeley DB error while opening environment
for filesystem /data/svn/projects/scratch/db:\nResource temporarily
unavailable
[Thu Feb 10 15:22:23 2005] [error] [client 128.95.76.130] Could not
fetch resource information. [500, #0]
[Thu Feb 10 15:22:23 2005] [error] [client 128.95.76.130] Could not open
the requested SVN filesystem [500, #160029]

I've poked around and all roads lead to permissions. Here's how it is
currently set up:

o svn filesystem tree owned and group owned by user 'svn'
o all files in this tree have 777 permissions
o apache is run under user 'apache' group 'apache'
o 'apache' is a member of the group 'svn'

I've also tried these things in trouble shooting:

o chmod 775 to entire svn tree
o run apache as user 'svn' group 'svn'

I thought for a second the problem could be that I'm concurrently
running svnserve, but I shut that down and restarted apache, and no
luck, same error.

Sorry this is so long but I wanted to get the entire setup in here as
well as my troubleshooting steps.

Any and all help is appreciated.

Regards-
Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 11 00:49:59 2005

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.