[prev in list] [next in list] [prev in thread] [next in thread]
List: dav-dev
Subject: [dav-dev] Can't Open Lock Database
From: "Robertson, David S." <DRobertson () Covenant ! com>
Date: 2002-07-25 21:56:10
[Download RAW message or body]
I'm just starting to explore mod_dav, with Apache 2.0, and I've found a
problem that I can't seem to get around: I can read files from my documents
directory, but can't save files or create new files. I always get the same
errors in error_log:
[16:37:51 2002] [error] File does not exist: /home/dav/data/t34.doc
[16:37:51 2002] [error] Could not LOCK /dsr-t1/t34.doc due to a failed
precondition (e.g. other locks). [500, #0]
16:37:51 2002] [error] The locks could not be queried for verification
against a possible "If:" header. [500, #0]
[16:37:51 2002] [error] Could not open the lock database. [500, #400]
[16:37:51 2002] [error] (9)Bad file descriptor: Could not open property
database. [500, #1]
I am using MS WordXP, on both Win2k and WinXP.
Here are the relevant entries from httpd.conf
User nobody
Group nobody
.....
DAVDepthInfinity On
DAVLockDB /var/www/locks/ (I've tried with and without trailing /)
DAVMinTimeout 600
.......
<Directory "/home/dav/data">
DAV On
AllowOverride None
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
AuthName "banana"
AuthUserFile lock/passwd
AuthType Basic
<Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require valid-user
</Limit>
</Directory>
# ls -ahl /home/dav/data
total 16K
drwxrwxrwx 2 nobody nobody 4.0K 07-24 15:49 .
drwxr-xr-x 3 root root 4.0K 07-24 15:47 ..
-rw-r--r-- 1 nobody nobody 193 07-24 15:48 index.html
-rw-r--r-- 1 nobody nobody 85 07-23 12:17 test.txt
# ls -ahl /var/www/locks
total 8.0K
drwxr-xr-x 2 nobody nobody 4.0K 07-24 16:47 .
drwxr-xr-x 8 root root 4.0K 07-24 16:47 ..
# httpd -v
Server version: Apache/2.0.36
Server built: Jun 26 2002 10:57:26
I would be most grateful for any help!
Thanks.
_david robertson
_______________________________
David S. Robertson
drobertson@covenant.com
Covenant Technology Services
http://www.covenant.com
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Can't Open Lock Database</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=2>I'm just starting to explore mod_dav, with Apache 2.0, and I've found \
a problem that I can't seem to get around: I can read files from my documents \
directory, but can't save files or create new files. I always get the same \
errors in error_log:</FONT></P>
<P><FONT SIZE=2>[16:37:51 2002] [error] File does not exist: \
/home/dav/data/t34.doc</FONT> <BR><FONT SIZE=2>[16:37:51 2002] [error] Could not LOCK \
/dsr-t1/t34.doc due to a failed precondition (e.g. other locks). [500, \
#0]</FONT> <BR><FONT SIZE=2>16:37:51 2002] [error] The locks could not be queried for \
verification against a possible "If:" header. [500, #0]</FONT> \
<BR><FONT SIZE=2>[16:37:51 2002] [error] Could not open the lock database. \
[500, #400]</FONT> <BR><FONT SIZE=2>[16:37:51 2002] [error] (9)Bad file descriptor: \
Could not open property database. [500, #1]</FONT> </P>
<P><FONT SIZE=2>I am using MS WordXP, on both Win2k and WinXP. </FONT>
</P>
<P><FONT SIZE=2>Here are the relevant entries from httpd.conf </FONT>
</P>
<P><FONT SIZE=2>User nobody</FONT>
<BR><FONT SIZE=2>Group nobody</FONT>
<BR><FONT SIZE=2>.....</FONT>
<BR><FONT SIZE=2>DAVDepthInfinity On</FONT>
<BR><FONT SIZE=2>DAVLockDB /var/www/locks/ \
(I've tried with and without trailing /)</FONT> <BR><FONT SIZE=2>DAVMinTimeout \
600</FONT> <BR><FONT SIZE=2>.......</FONT>
<BR><FONT SIZE=2><Directory "/home/dav/data"></FONT>
<BR><FONT SIZE=2> DAV On</FONT>
<BR><FONT SIZE=2> AllowOverride None</FONT>
<BR><FONT SIZE=2> Options Indexes FollowSymLinks</FONT>
<BR><FONT SIZE=2> Order allow,deny</FONT>
<BR><FONT SIZE=2> Allow from all</FONT>
<BR><FONT SIZE=2> AuthName "banana"</FONT>
<BR><FONT SIZE=2> AuthUserFile lock/passwd</FONT>
<BR><FONT SIZE=2> AuthType Basic</FONT>
<BR><FONT SIZE=2> <Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY \
MOVE LOCK UNLOCK></FONT> <BR><FONT SIZE=2> Require valid-user</FONT>
<BR><FONT SIZE=2> </Limit></FONT>
<BR><FONT SIZE=2></Directory></FONT>
</P>
<P><FONT SIZE=2># ls -ahl /home/dav/data</FONT>
<BR><FONT SIZE=2>total 16K</FONT>
<BR><FONT SIZE=2>drwxrwxrwx 2 nobody \
nobody 4.0K 07-24 15:49 .</FONT> <BR><FONT \
SIZE=2>drwxr-xr-x 3 root \
root 4.0K 07-24 15:47 ..</FONT> \
<BR><FONT SIZE=2>-rw-r--r-- 1 nobody \
nobody 193 07-24 15:48 index.html</FONT> \
<BR><FONT SIZE=2>-rw-r--r-- 1 nobody \
nobody 85 07-23 12:17 test.txt</FONT> \
</P>
<P><FONT SIZE=2># ls -ahl /var/www/locks</FONT>
<BR><FONT SIZE=2>total 8.0K</FONT>
<BR><FONT SIZE=2>drwxr-xr-x 2 nobody \
nobody 4.0K 07-24 16:47 .</FONT> <BR><FONT \
SIZE=2>drwxr-xr-x 8 root \
root 4.0K 07-24 16:47 ..</FONT> </P>
<BR>
<P><FONT SIZE=2># httpd -v</FONT>
<BR><FONT SIZE=2>Server version: Apache/2.0.36</FONT>
<BR><FONT SIZE=2>Server built: Jun 26 2002 10:57:26</FONT>
</P>
<BR>
<P><FONT SIZE=2>I would be most grateful for any help!</FONT>
</P>
<P><FONT SIZE=2>Thanks.</FONT>
<BR><FONT SIZE=2>_david robertson</FONT>
</P>
<P><FONT SIZE=2>_______________________________ </FONT>
<BR><FONT SIZE=2>David S. Robertson </FONT>
<BR><FONT SIZE=2>drobertson@covenant.com</FONT>
<BR><FONT SIZE=2>Covenant Technology Services </FONT>
<BR><FONT SIZE=2><A HREF="http://www.covenant.com" \
TARGET="_blank">http://www.covenant.com</A> </FONT> </P>
</BODY>
</HTML>
_______________________________________________
dav-dev maillist - dav-dev@lyra.org
http://dav.lyra.org/mailman/listinfo/dav-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic