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

svn 1.1.1 and apache: "Could not open the requested SVN filesystem"

From: anton <anton_at_nezzwerk.com>
Date: 2004-11-30 04:36:47 CET

i am trying to access repository via apache and getting:

"Could not open the requested SVN filesystem"

i can perform file-based operations on repository as user svn without
any problems (import/checkout/commit/update/log).

repository created as user svn with:

cd /www/svn/repository
svnadmin create --fs-type fsfs test

apache runtime environment:
===========================
THREADS_TYPE=native_threads
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/opt/OpenSSL/lib:/opt/apache2/lib:/usr/platform/SUNW,Ultra-4/lib:/usr/ccs/lib:/opt/Svn/lib

relevant lines from httpd.conf:
===============================
User svn
Group svn
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
<Location /repos>
        DAV svn
        SVNParentPath /www/svn/repository
</Location>

when i try to access http://hostname/repos/test, i get the following in
the apache error log (LogLevel debug):

[Mon Nov 29 22:09:17 2004] [error] [client 1.2.3.4] Could not fetch
resource information. [500, #0]
[Mon Nov 29 22:09:17 2004] [error] [client 1.2.3.4] Could not open the
requested SVN filesystem [500, #2]
[Mon Nov 29 22:09:17 2004] [error] [client 1.2.3.4] Could not open the
requested SVN filesystem [500, #2]

corresponding entry in the access log:

1.2.3.4 - - [29/Nov/2004:22:09:17 -0500] "GET /repos/test HTTP/1.1" 500
234 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0" "-" "-"

i tried using "SVNPath /www/svn/repository/test" instead of
"SVNParentPath /www/svn/repository", the result is exactly the same when
i try to access http://hostname/repos

i also tried

find /www/svn/repository -exec chmod 777 {} \;

no effect

i really hope that i do not need to rebuild/relink apache with bdb
support, since i do not intend on using it and/or istalling it.

any help would be appreciated.

thank you.

-anton

ldd httpd:
==========
libz.so => /usr/local/lib/libz.so
libssl.so.0.9.7 => /opt/OpenSSL/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => /opt/OpenSSL/lib/libcrypto.so.0.9.7
libaprutil-0.so.0 => /opt/Svn/lib/libaprutil-0.so.0
libexpat.so.0 => /usr/local/lib/libexpat.so.0
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libapr-0.so.0 => /opt/Svn/lib/libapr-0.so.0
libsendfile.so.1 => /usr/lib/libsendfile.so.1
librt.so.1 => /usr/lib/librt.so.1
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libpthread.so.1 => /usr/lib/libpthread.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libaio.so.1 => /usr/lib/libaio.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libthread.so.1 => /usr/lib/libthread.so.1
/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1

ldd mod_dav.so:
===============
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1

ldd mod_dav_svn.so:
===================
libsvn_repos-1.so.0 => /opt/Svn/lib/libsvn_repos-1.so.0
libsvn_fs-1.so.0 => /opt/Svn/lib/libsvn_fs-1.so.0
libsvn_delta-1.so.0 => /opt/Svn/lib/libsvn_delta-1.so.0
libsvn_subr-1.so.0 => /opt/Svn/lib/libsvn_subr-1.so.0
libsocket.so.1 => /usr/lib/libsocket.so.1
libz.so => /usr/local/lib/libz.so
libc.so.1 => /usr/lib/libc.so.1
libaprutil-0.so.0 => /opt/Svn/lib/libaprutil-0.so.0
libexpat.so.0 => /usr/local/lib/libexpat.so.0
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libapr-0.so.0 => /opt/Svn/lib/libapr-0.so.0
libsendfile.so.1 => /usr/lib/libsendfile.so.1
librt.so.1 => /usr/lib/librt.so.1
libm.so.1 => /usr/lib/libm.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libpthread.so.1 => /usr/lib/libpthread.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libsvn_fs_fs-1.so.0 => /opt/Svn/lib/libsvn_fs_fs-1.so.0
libaio.so.1 => /usr/lib/libaio.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
libthread.so.1 => /usr/lib/libthread.so.1

subversion built with:
======================
APACHE_HOME=/opt/apache2
SSL_HOME=/opt/OpenSSL
Z_LIB=/usr/local
EXPAT_LIB=/usr/local

./autogen.sh && \
./configure \
--with-apxs=$APACHE_HOME/bin/apxs \
--without-berkeley-db \
--prefix=/opt/Svn \
--with-zlib \
--enable-shared \
--disable-mod-activation \
--with-ssl \
--with-libs=$SSL_HOME:$Z_LIB && \
make && \
make check

apache built with:
==================
SSL_BASE=/opt/OpenSSL
LIBS=/usr/lib/libC.so.5
CFLAGS=-fPIC

./configure \
--with-ssl=/opt/OpenSSL \
--with-z=/usr/local/lib \
--prefix=/opt/apache2 \
--with-mpm=worker \
--enable-nonportable-atomics \
--disable-include \
--disable-env \
--disable-autoindex \
--disable-asis \
--disable-negotiation \
--disable-imap \
--disable-actions \
--disable-userdir \
--enable-modules="access alias auth cgid dir headers log_config mime
setenvif so status" \
--enable-mods-shared="rewrite autoindex ssl dav deflate proxy proxy-http
proxy-connect" \
&& /usr/local/bin/make

host environment:
=================
SunOS 5.8 Generic_117000-05 sun4u sparc SUNW,Ultra-4
expat-1.95
python-2.3.3
libtool-1.5
perl-5.8.5
autoconf-2.59
zlib-1.2.2
gcc-3.4.2
libiconv-1.8
openssl-0.9.7e
apache-2.0.52
subversion-1.1.1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 30 04:40:26 2004

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.