[prev in list] [next in list] [prev in thread] [next in thread]
List: dav-dev
Subject: Re: [dav-dev] Please Help - mod_dav on OpenBSD : The locks couldnot
From: Martijn van Egdom <martijnvanegdom () wanadoo ! nl>
Date: 2005-07-05 8:44:33
Message-ID: 42CA4871.4030503 () wanadoo ! nl
[Download RAW message or body]
(I have send then before
-------- Original Message --------
Subject: [dav-dev] Please Help - mod_dav on OpenBSD : The locks could
not be queried for verification against a possible
Date: Fri, 01 Jul 2005 15:42:39 +0200
From: Martijn van Egdom <martijnvanegdom@wanadoo.nl>
To: dav-dev@lyra.org
Hello,
(I have send the question before but therefore I wasn't subscripe I couldn't possibly \
answers)
I am trying to us webdav on my OpenBDS 3.7 machine. I have troubled for
over 10 hours now, so I hope that one of you will have a solutuin for
my problem.
I'am using OpenBSD 3.7 and Apache 1.3.29. I haved used the mod_dav
package of OpenBSD mod_dav-1.0.3p0.tgz
<ftp://ftp.stacken.kth.se/pub/OpenBSD/3.7/packages/i386/mod_dav-1.0.3p0.tgz>
as can be found on for example
ftp://ftp.stacken.kth.se/pub/OpenBSD/3.7/packages/i386/
Apache is build with the instalation of OpenBSD and chrooted to /var/www/
If I am tying to use mod_dav with the litmus envoirment, the follow
error appears
/usr/local/bin/litmus http://iulius.mive.nl geert *******
-> running `basic':
0. init.................. pass
1. begin................. FAIL (Could not create new collection
`/litmus/' for tests: 404 Not Found
Server must allow `MKCOL /litmus/' for tests to proceed)
<- summary for `basic': of 2 tests run: 1 passed, 1 failed. 50.0%
See debug.log for network/debug traces.
I have search within the apachelogs to see what went wrong:
[Thu Jun 23 14:51:46 2005] [error] [client 192.168.0.3] The locks could
not be queried for verification against a possible "If:" header. [500, #0]
[Thu Jun 23 14:51:46 2005] [error] [client 192.168.0.3] Could not open
the lock database. [500, #400]
[Thu Jun 23 14:51:46 2005] [error] [client 192.168.0.3] (2)No such file
or directory: I/O error occurred. [500, #1]
The relevant part of httpd.conf
DAVLockDB /var/www/DAVLockDB
DAVMinTimeout 600
<Directory "/var/www/htdocs/test">
DAV On
AllowOverride None
Options Indexes FollowSymLinks
order allow,deny
allow from all
AuthName "Development server"
AuthType Basic
AuthUserFile /var/www/passwords/passwords
Require user geert
<limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require user geert
</Limit>
</Directory>
Apache has acces to the /var/www/ Apache is writing it's log file in the
directory /var/ww/log and has acces to the the specifate directory. But
the DAVLockDB isn't created. Even if I chmod the directory and it's
content to 777 apache wil give te error as described.
Although I know that basic authentication isn't a save way to acces the
webdav I will still have getting webdav working before I change the
security level of the authentication.
Could someone give some help to solve my problem?
greetings Martijn
_______________________________________________
dav-dev maillist - dav-dev@lyra.org
http://dav.lyra.org/mailman/listinfo/dav-dev
FABRE Nicolas wrote:
> Show us your httpd.conf dav-related section please ?
>
>
> -----Message d'origine-----
> De : dav-dev-bounces@lyra.org [mailto:dav-dev-bounces@lyra.org] De la part de \
> Martijn van Egdom Envoyé : mardi 5 juillet 2005 09:53
> À : Jeff Bachtel
> Cc : dav-dev@lyra.org
> Objet : Re: [dav-dev] Please Help - mod_dav on OpenBSD : The locks couldnot be \
> queried for verification against a possible
> I've disabled chroot but It doesn't work. The strange thinig is that the
> apache log gives different information then litums (a testing tool for
> webdav)
>
> apache log: (yes I have enabled chroot again)
>
> [Tue Jul 5 09:45:05 2005] [warn] module mod_dav.c is already added,
> skipping
> [Tue Jul 5 09:45:05 2005] [notice] Initializing etag from
> /var/www/logs/etag-state
> [Tue Jul 5 09:45:05 2005] [notice] chrooted in /var/www
> [Tue Jul 5 09:45:05 2005] [notice] changed to uid 67, gid 67
> [Tue Jul 5 09:45:05 2005] [notice] Apache/1.3.29 (Unix) DAV/1.0.3
> PHP/4.3.11 mod_ssl/2.8.16 OpenSSL/0.9.7d configured -- resuming normal
> operations
> [Tue Jul 5 09:45:05 2005] [info] Server built: unknown
> [Tue Jul 5 09:45:05 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
> [Tue Jul 5 09:45:11 2005] [error] [client 192.168.0.6] Could not DELETE
> /dav/litmus/ due to a failed precondition (e.g. locks). [500, #0]
> [Tue Jul 5 09:45:11 2005] [error] [client 192.168.0.6] The locks could
> not be queried for verification against a possible "If:" header. [500, #0]
> [Tue Jul 5 09:45:11 2005] [error] [client 192.168.0.6] Could not open
> the lock database. [500, #400]
> [Tue Jul 5 09:45:11 2005] [error] [client 192.168.0.6] (13)Permission
> denied: I/O error occurred. [500, #1]
>
> Litmus summary:
> -> running `basic':
> 0. init.................. pass
> 1. begin................. FAIL (Could not create new collection
> `/dav/litmus/' for tests: 405 Method Not Allowed
> Server must allow `MKCOL /dav/litmus/' for tests to proceed)
> <- summary for `basic': of 2 tests run: 1 passed, 1 failed. 50.0%
>
>
> I've changed the logLevel of Apache to info, so if 405 occurs it has to
> be in log, but it isn't. working,
>
> Do somebody have a solution. For information about configuration please
> see prevouis message
>
>
>
>
> Jeff Bachtel wrote:
>
>
>
> > Have you tried /DAVLockDB ? The reason I would try that is due to the
> > chroot, and the fact that mod_dav does not have any logic in it to
> > detect that condition... therefore it is possibly needed. You could
> > test by disabling chroot and seeing how that works, as well.
> >
> >
> >
> >
> >
> _______________________________________________
> dav-dev maillist - dav-dev@lyra.org
> http://dav.lyra.org/mailman/listinfo/dav-dev
>
>
>
_______________________________________________
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