PROPFIND of /svn: 500 Internal Server Error
From: Gregois <gergle_at_optusnet.com.au>
Date: 2004-01-21 01:41:01 CET
I am having problems with PROPFIND also.
I built both Apache (httpd-2.0.48) and subversion (0.36.0) from scratch on Fedora Core 1 machine
No apparent problems and subversion passes make check with 100% sucess.
apache runs as user apache
test repository is /usr/local/src
I had sucess in building a working Apache/SVN sever using svn-0.34.0, and have followed the same procedure
Using TortoiseSVN-0.23 (via network, obviously) import produces:
PROPFIND request failed on /svn
I initially thought that this was a compatability problem with TortoiseSVN
I also get the same error with RapidSVN so imagine it's a server side problem.
Trying console mode:
# svn import path/to/import/ http://my.web.address/svn/
no entries in apache error_log from any of this activity.
Try another protocol:
# svn import path/to/import/ file:///usr/local/src/
Seems to work fine! At least subversion reports the commit as successful, revision 1.
So I guess this is an apache/module problem?
Trying to browse the repository URL now produces:
[Wed Jan 21 11:27:32 2004] [error] [client 188.8.131.52] (20014)Error string not specified yet: Berkeley DB error while opening environment for filesystem /usr/local/src/db:
in the apache error_log.
Guessing that this was a permissions issue I ran
# chown -R apache /usr/local/src
to check but subsequent requests for the URL produce the same errors.
Things I notice:
/usr/local/apr/ existed after the 0.34.0 build but does not after 0.36.0 build.
Any advice appreciated.
## First attempt at building Subversion server, Fedora Core 1 (27/12/2003)
## Subversion assumes that you will build against latest httpd
tar zxvf httpd-2.0.48.tar.gz
## 1. Build Apache
# maintainer mode ensures we have a debuggable executable
./configure --enable-so \
make && make install
## default install for apache in /usr/local/apache2
## 2. Build Subversion
./configure --with-apxs=/usr/local/apache2/bin/apxs \
make clean && make && make check
# make check takes a long time but I had a bunch
make check 100% sucess with 0.36.0
## 3. Configure Apache for Subversion
## a) Add the following to the Aliases section of httpd.conf
<Location /svn/ >
b) Set up repository
svnadmin create /usr/local/src
## restart Apache:
At this point I can enter my web address into a browser
This is an archived mail posted to the Subversion Users mailing list.