PROPFIND of /svn: 500 Internal Server Error
From: Gregois <gergle_at_optusnet.com.au>
Date: 2004-01-21 02:04:51 CET
Howdy,
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/
produces:
subversion/libsvn_ra_dav/util.c:661: (apr_err=175002)
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 131.217.240.27] (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.
g.
---------------------------------------------------------------
cat greg_built_apache_subversion.readme:
## 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
cd httpd-2.0.48/
# 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
cd ../subversion-0.36.0/
sh ./autogen.sh
./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
make install
## 3. Configure Apache for Subversion
Check ServerName
## a) Add the following to the Aliases section of httpd.conf
<Location /svn/ >
DAV svn
</Location>
b) Set up repository
svnadmin create /usr/local/src
## restart Apache:
/usr/local/apache2/bin/apachectl configtest
At this point I can enter my web address into a browser
|
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.