Hi,
I've been googling around and find that people are having the same
problem but I did not find the solution.
I'm not able to use mod_dav (mod_dav-1.0.3p0) on openbsd 3.7-stable.

I tried to create a folder and copy a .pdf file, without success...

Here are my related entries in httpd.conf:
LoadModule dav_module         /usr/lib/apache/modules/libdav.so
DAVLockDB /var/www/var/DAVLock

<Directory "/var/www/htdocs/test">
        DAV On
        Options Indexes
</Directory>

Here is the error_log:
[Wed Sep 21 14:39:48 2005] [notice] Initializing etag from
/var/www/logs/etag-state
[Wed Sep 21 14:39:48 2005] [notice] chrooted in /var/www
[Wed Sep 21 14:39:48 2005] [notice] changed to uid 67, gid 67
[Wed Sep 21 14:39:48 2005] [notice] Apache configured -- resuming normal
operations
[Wed Sep 21 14:39:48 2005] [notice] Accept mutex: sysvsem (Default:
sysvsem)
[Wed Sep 21 14:39:55 2005] [error] [client 194.120.20.14] File does not
exist: /htdocs/test/New Folder
[Wed Sep 21 14:39:55 2005] [error] [client 194.120.20.14] The locks
could not be queried for verification against a possible "If:" header.
[500, #0]
[Wed Sep 21 14:39:55 2005] [error] [client 194.120.20.14] Could not open
the lock database.  [500, #400]
[Wed Sep 21 14:39:55 2005] [error] [client 194.120.20.14] (2)No such
file or directory: I/O error occurred.  [500, #1]

Here are some related entries from access_log:
194.120.20.14 - - [21/Sep/2005:14:36:28 +0200] "OPTIONS /test HTTP/1.0"
200 0
194.120.20.14 - - [21/Sep/2005:14:36:28 +0200] "PROPFIND /test HTTP/1.0"
207 970
194.120.20.14 - - [21/Sep/2005:14:36:29 +0200] "PROPFIND /test HTTP/1.0"
207 970
194.120.20.14 - - [21/Sep/2005:14:36:31 +0200] "PROPFIND /test HTTP/1.0"
207 970
194.120.20.14 - - [21/Sep/2005:14:36:32 +0200] "PROPFIND /test HTTP/1.0"
207 970
194.120.20.14 - - [21/Sep/2005:14:36:33 +0200] "PROPFIND /test HTTP/1.0"
207 1036
194.120.20.14 - - [21/Sep/2005:14:36:36 +0200] "HEAD /test/New%20Folder
HTTP/1.0" 404 0
194.120.20.14 - - [21/Sep/2005:14:36:36 +0200] "MKCOL /test/New%20Folder
HTTP/1.0" 500 260
194.120.20.14 - - [21/Sep/2005:14:37:10 +0200] "HEAD /test/fc_inap.pdf
HTTP/1.0" 404 0
194.120.20.14 - - [21/Sep/2005:14:37:10 +0200] "PUT /test/fc_inap.pdf
HTTP/1.0" 500 260
194.120.20.14 - - [21/Sep/2005:14:39:51 +0200] "PROPFIND /test HTTP/1.0"
207 970
194.120.20.14 - - [21/Sep/2005:14:39:51 +0200] "PROPFIND /test HTTP/1.0"
207 1036
194.120.20.14 - - [21/Sep/2005:14:39:55 +0200] "HEAD /test/New%20Folder
HTTP/1.0" 404 0
194.120.20.14 - - [21/Sep/2005:14:39:55 +0200] "MKCOL /test/New%20Folder
HTTP/1.0" 500 260
194.120.20.14 - - [21/Sep/2005:14:41:09 +0200] "HEAD /test/fc_inap.pdf
HTTP/1.0" 404 0
194.120.20.14 - - [21/Sep/2005:14:41:09 +0200] "PUT /test/fc_inap.pdf
HTTP/1.0" 500 260

It looks like it can't create the DAVLockDB and indeed the file is not
present in /var/www/var/
I changed the /var/www/var to permission 777 but this didn't work
either.

What's wrong?
thank you

Reply via email to