Hi,
I've installed Subversion + Apache 2.0.52 on a Red Hat 7.3 box and I
have run into a problem.
Here's what is installed:
Subversion 1.1.1
BerkeleyDB 4.2.52
Apache 2.0.52
neon 0.24.7
Subversion was configured with the following options:
--enable-dso
--with-apr=/usr/local/apache2/bin/apr-config
--with-apr-util=/usr/local/apache2/bin/apu-config
--with-apxs=/usr/local/apache2/bin/apxs
--with-berkeley-db=/usr/local/BerkeleyDB.4.2
--with-editor=vi
--with-zlib
--with-python=/usr/local/bin/python2.3
--with-ssl
The problem is that when I try to access the repositories via Apache,
I get an error:
"Could not open the requested SVN filesystem"
and the Apache error_log reports this:
[Sat Dec 18 16:18:02 2004] [error] [client x.x.x.x] (20014)Error string not specified yet: Unknown FS type 'bdb'
[Sat Dec 18 16:18:02 2004] [error] [client x.x.x.x] Could not fetch resource information. [500, #0]
[Sat Dec 18 16:18:02 2004] [error] [client x.x.x.x] Could not open the requested SVN filesystem [500, #160033]
[Sat Dec 18 16:18:02 2004] [error] [client x.x.x.x] Could not open the requested SVN filesystem [500, #160033]
The repositories have the correct filesystem permission, the directory
and all files/subdirectories are owned by nobody:nobody (the uid that
Apache runs as):
# ls -la /var/svn/testing/ /var/svn/testing/db/
/var/svn/testing/:
total 36
drwxrwsr-x 7 nobody nobody 4096 Dec 17 17:24 .
drwxrwsr-x 3 nobody nobody 4096 Dec 17 17:04 ..
drwxrwsr-x 2 nobody nobody 4096 Dec 17 17:25 conf
drwxrwsr-x 2 nobody nobody 4096 Dec 17 17:04 dav
drwxrwxr-x 2 nobody nobody 4096 Dec 17 17:24 db
-r--r--r-- 1 nobody nobody 2 Dec 17 17:04 format
drwxrwsr-x 2 nobody nobody 4096 Dec 17 17:04 hooks
drwxrwsr-x 2 nobody nobody 4096 Dec 17 17:04 locks
-rw-rw-r-- 1 nobody nobody 379 Dec 17 17:04 README.txt
/var/svn/testing/db/:
total 948
drwxrwxr-x 2 nobody nobody 4096 Dec 17 17:24 .
drwxrwsr-x 7 nobody nobody 4096 Dec 17 17:24 ..
-rw-rw-r-- 1 nobody nobody 8192 Dec 18 18:02 changes
-rw-rw-r-- 1 nobody nobody 8192 Dec 18 18:02 copies
-rw-rw-r-- 1 nobody nobody 8192 Dec 17 17:04 __db.001
-rw-rw-r-- 1 nobody nobody 270336 Dec 17 17:04 __db.002
-rw-rw-r-- 1 nobody nobody 327680 Dec 17 17:04 __db.003
-rw-rw-r-- 1 nobody nobody 737280 Dec 17 17:04 __db.004
-rw-rw-r-- 1 nobody nobody 16384 Dec 17 17:04 __db.005
-rw-rw-r-- 1 nobody nobody 1738 Dec 17 17:04 DB_CONFIG
-rw-rw-r-- 1 nobody nobody 4 Dec 17 17:04 fs-type
-rw-rw-r-- 1 nobody nobody 127347 Dec 18 18:02 log.0000000001
-rw-rw-r-- 1 nobody nobody 8192 Dec 18 18:02 nodes
-rw-rw-r-- 1 nobody nobody 8192 Dec 18 18:02 representations
-rw-rw-r-- 1 nobody nobody 8192 Dec 18 18:02 revisions
-rw-rw-r-- 1 nobody nobody 49152 Dec 18 18:02 strings
-rw-rw-r-- 1 nobody nobody 8192 Dec 18 18:02 transactions
-rw-rw-r-- 1 nobody nobody 8192 Dec 18 18:02 uuids
Through the shell and `svn` I am able to check out the repository
without incident:
# setuidgid nobody id
uid=99(nobody) gid=99(nobody) groups=99(nobody)
# setuidgid nobody svn co file:///var/svn/testing /tmp/testing
A /tmp/testing/php.ini
Checked out revision 1.
The fs format is bdb (created using `svnadmin` defaults):
# cat /var/svn/testing/db/fs-type
bdb
My suspicion is that somehow the Apache module isn't supporting the
bdb fs backend for some reason, despite the following:
# strings mod_dav_svn.so |grep db
apr_dbm_open
apr_dbm_exists
apr_dbm_fetch
apr_dbm_close
apr_dbm_freedatum
apr_dbm_delete
apr_dbm_store
dav_svn_hooks_propdb
svn_stringbuf_appendbytes
Can't open activity db
could not open dbm files.
Can't close activity db
could not close dbm files.
I've seem messages in the archives where other's have gotten the
"Unknown FS type 'bdb'" error message when using the command line
tools, but I have not found anything about this happening when using
Apache to access the repository.
I'm out of ideas on this, so if there are any suggestions I would love
to hear them. Please let me know if there is any other information is
needed.
Thanks in advance,
Cory Wright
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 19 00:30:13 2004