[railroad-dev] "The lock database could not be opened" when
attempting WebDAV access to RailRoad
Tom Lazar
tom at tomster.org
Wed Apr 6 02:36:41 MEST 2005
I'm not sure how this is supposed to work, but after setting up my test
installation I get errors
when attempting to access the repository via WebDAV. (I'm using Goliath
on Mac OS X, haven't tried
cadaver yet).
when I try to access http://media/rrr/repo/ via WebDAV I get the
following error:
[Wed Apr 06 02:37:46 2005] [notice] mod_python: (Re)importing module
'rr_main'
[Wed Apr 06 02:37:47 2005] [notice] [client 192.168.1.3]
RR-NOTICE(0xca285014): ra
ilroad database disabled!
[Wed Apr 06 02:37:47 2005] [notice] [client 192.168.1.3]
RR-NOTICE(0xca285014): ra
ilroad repository railroad_data initialized!
[Wed Apr 06 02:37:47 2005] [error] [client 192.168.1.3] The lock
database could no
t be opened, preventing access to the various lock properties for the
PROPFIND. [
500, #0]
[Wed Apr 06 02:37:47 2005] [error] [client 192.168.1.3] A lock database
was not sp
ecified with the DAVLockDB directive. One must be specified to use the
locking fun
ctionality. [500, #401]
I've got /usr/opt/zope/instances/testrr/htdocs/ writeable for www and
the following VirtualHost
(/zope is a symbolic link to /usr/opt/zope)
# vhost for the RailRoad Server
<VirtualHost 192.168.1.252:80>
<Directory proxy:*>
AllowOverride AuthConfig
Order deny,allow
Allow from all
</Directory>
<Directory /opt/zope/instances/testrr/htdocs>
AllowOverride AuthConfig
Order deny,allow
Allow from all
</Directory>
ServerName media.home.tomster.org
ServerAlias media
DocumentRoot /opt/zope/instances/testrr/htdocs/
# WebDAV repository
Alias "/rrr/repo/" "/usr/opt/zope/instances/testrr/htdocs/"
<Location "/rrr/repo/" >
DAV On
Options -MultiViews -Indexes
AddHandler mod_python .py
PythonDebug On
PythonAutoReload On
PythonPath
"['/usr/opt/zope/instances/testrr/railroad-0.1.5']+sys.path"
PythonInterpreter "rrpy"
PythonHeaderParserHandler rr_main::inithandler
PythonAuthenHandler rr_main
PythonAuthzHandler rr_main
PythonOption repository "railroad_data"
PythonOption authorize "on"
PythonOption search "on"
<Limit GET POST OPTIONS PROPFIND PUT DELETE PATCH PROPPATCH MKCOL
COPY MOVE LOCK UNLOCK >
Order Deny,Allow
Allow from all
</Limit>
AuthType "Basic"
AuthName "Railroad"
require valid-user
PythonOption db_module "db_pg"
PythonOption dbname "rr"
PythonOption dbuser "railpg"
PythonOption dbpasswd "mnzlmann"
PythonOption dbhost "localhost"
PythonOutputFilter rr_main OUTFILTER
SetOutputFilter OUTFILTER
</Location>
# services url
<Location "/rrr/service/" >
SetHandler python-program
PythonDebug On
PythonAutoReload On
PythonPath
"['/usr/opt/zope/instances/testrr/railroad-0.1.5']+sys.path"
PythonInterpreter "rrpy"
PythonHeaderParserHandler rr_main::inithandler
PythonAuthenHandler rr_main
PythonAuthzHandler rr_main
PythonHandler rr_service
PythonOption repository "railroad_data"
PythonOption authorize "on"
PythonOption search "on"
AuthType "Basic"
AuthName "Railroad"
PythonOption db_module "db_pg"
PythonOption dbname "rr"
PythonOption dbuser "railpg"
PythonOption dbpasswd "mnzlmann"
PythonOption dbhost "localhost"
</Location>
</VirtualHost>
--
tom lazar <tom at tomster.org>
http://tomster.org
More information about the railroad-dev
mailing list