You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alex Li <li...@yahoo.com> on 2003/08/22 17:10:13 UTC
problem using apache as the server
Hi,
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
(http://192.168.1.12:83)
When I checked the apache error log, I got this:
[Fri Aug 22 13:04:21 2003] [error] [client 192.168.1.12] Could not
fetch resource information. [500, #0]
[Fri Aug 22 13:04:21 2003] [error] [client 192.168.1.12] Could not open
the SVN filesystem at /home/system/svn/repos [500, #160029]
[Fri Aug 22 13:04:21 2003] [error] [client 192.168.1.12] (13)Permission
denied: Berkeley DB error while opening environment for filesystem
/home/system/svn/repos/db:
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,
Alex
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: problem using apache as the server
Posted by Ben Collins-Sussman <su...@collab.net>.
Alex Li <li...@yahoo.com> writes:
> Berkeley DB error while opening environment for filesystem
> /home/system/svn/repos/db: Permission denied.
[...]
> [Fri Aug 22 13:04:21 2003] [error] [client 192.168.1.12] (13)Permission
> denied: Berkeley DB error while opening environment for filesystem
> /home/system/svn/repos/db:
> Permission denied [500, #160029]
So that's two times now, BerkeleyDB has said there's a permission problem.
>
> 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?
Why don't you show us an 'ls -l' of your repository? For some reason,
user 'www-data' is unable to read/write to all of your db files.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org