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

problem using apache as the server

From: Alex Li <likwoka_at_yahoo.com>
Date: 2003-08-22 19:10:13 CEST


Newbie here. I cannot access my subversion repository through
apache. I have recently set up subversion (0.26) on Debian.
I can do operations using the command line, such as:

svn xxx file:///path/to/repos

I wanted to provide network access. I set up apache, with all
necessary modules. Apache starts up fine, with no error message,
and the default home page can be reached.

I followed the guide and added the neccessary bits to httpd.conf.
But when I try to access that directory through a web browser,
an error message return:

Berkeley DB error while opening environment for filesystem
/home/system/svn/repos/db: Permission denied.

When I tried it on the command line, using svn list http://...
(I can still access the repository using svn xxx file://xxx),
I got this error:

svn: RA layer request failed
svn: PROPFIND request failed on '/repos'
svn: PROPFIND of '/repos': 500 Internal Server Error

When I checked the apache error log, I got this:

[Fri Aug 22 13:04:21 2003] [error] [client] Could not
fetch resource information. [500, #0]
[Fri Aug 22 13:04:21 2003] [error] [client] Could not open
the SVN filesystem at /home/system/svn/repos [500, #160029]
[Fri Aug 22 13:04:21 2003] [error] [client] (13)Permission
denied: Berkeley DB error while opening environment for filesystem
Permission denied [500, #160029]

I have checked the read/write access to repos/dav and db by su'ing into
www-data, which is what my webserver run as.

So what gives?

Thanks for your help,

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 22 19:14:23 2003

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