Martijn van Egdom | 1 Jul 2005 15:42
Picon
Favicon

Please Help - mod_dav on OpenBSD : The locks could not be queried for verification against a possible

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:

(Continue reading)

Martijn van Egdom | 5 Jul 2005 09:52
Picon
Favicon

Re: Please Help - mod_dav on OpenBSD : The locks could not 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 
(Continue reading)

FABRE Nicolas | 5 Jul 2005 10:06
Favicon

RE: Please Help - mod_dav on OpenBSD : The locks couldnot be queried for verification against a possible

Show us your httpd.conf dav-related section please ?

-----Message d'origine-----
De : dav-dev-bounces <at> lyra.org [mailto:dav-dev-bounces <at> lyra.org] De la part de Martijn van Egdom
Envoyé : mardi 5 juillet 2005 09:53
À : Jeff Bachtel
Cc : dav-dev <at> 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 
(Continue reading)

Martijn van Egdom | 5 Jul 2005 10:44
Picon
Favicon

Re: Please Help - mod_dav on OpenBSD : The locks couldnot be queried for verification against a possible

(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 <at> wanadoo.nl>
To: 	dav-dev <at> 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':
(Continue reading)

Alain Martini | 14 Jul 2005 15:10

Force Type problem

Hello,

I have problem configuring webdav an php (scripting) I have readed all the docs but for some reason the php
scripts are
parsed even if i set the ForceType text/plain

It seems that ForceType is ignored.

Maybe I have an incorrect httpd.conf somewere...

All i want is to access the source of php when i request http://192.168.1.22/source 

here is the virtual host i configured reading the documentation of webdav:

<VirtualHost 192.168.1.22>
DocumentRoot "/home/test/public_html"
ServerName 192.168.1.22
ErrorLog /home/test/error.log
TransferLog /home/test/transfer.log

ScriptAlias /cgi-bin /home/test/public_html/cgi-bin

Alias /source /home/test/public_html
<Location /source>
DAV On
ForceType text/plain
AuthType Basic
AuthName "testing server di inalto"
AuthUserFile /home/test/webdav.passwd
Require valid-user
(Continue reading)

Dave Viner | 14 Jul 2005 18:08
Picon
Favicon

mod_dav versus jakarta slide

Is there any comparison of features/functions between mod_dav/mod_dav_fs 
and jakarta slide?  (beyond "one is c/apache and one is java/tomcat")

thanks
dave
Dave Viner | 14 Jul 2005 18:13
Picon
Favicon

Re: Force Type problem

Hi,

If "the webdav is working" and you "can access the generated versions of 
all the php of the site", I'm not sure what the problem is. 

When you request http://192.168.1.22/source, do you see the filesystem 
layout? or do you see the parsed output of index.php (or similar)?  What 
is the returned content-type?

dave

Alain Martini wrote:

>Hello,
>
>I have problem configuring webdav an php (scripting) I have readed all the docs but for some reason the php
scripts are
>parsed even if i set the ForceType text/plain
>
>It seems that ForceType is ignored.
>
>Maybe I have an incorrect httpd.conf somewere...
>
>All i want is to access the source of php when i request http://192.168.1.22/source 
>
>here is the virtual host i configured reading the documentation of webdav:
>
><VirtualHost 192.168.1.22>
>DocumentRoot "/home/test/public_html"
>ServerName 192.168.1.22
(Continue reading)

Dave Viner | 15 Jul 2005 21:42
Picon
Favicon

Re: other providers

Hi

thanks for this suggestion.  I've been tracing through the dav_provider 
structure and all the callbacks registered therein... is there a 
document somewhere which shows what callbacks are used for each DAV 
request?  I know it's inside mod_dav.c, but I'm hoping for some docs 
instead of code-diving for it.

thanks
dave

Bennett, Tony - CNF wrote:

>Dave
>
>RE: Apache 2.X & a mod_dav provider
>
>The best suggestion I can give you is to 
>look at mod_dav.h.  Specifically, review
>mod_dav.h's section on dav_provider.
>It will show you what facilities your new
>backend CAN provide and what it MUST
>provide (repository & propdb).  Look at the
>dav_provider structure which contains the
>hook structure for each facility.  Each of 
>these "hook" structures (eg. dav_hooks_repository et. al.)
>contain the interfaces the backend must 
>provide.  Then you can use mod_dav_fs as a 
>model of what the backend must do.
>
(Continue reading)

Bennett, Tony - CNF | 15 Jul 2005 22:02

RE: other providers

...I think you'll need a mask an snorkle... 

-----Original Message-----
From: Dave Viner [mailto:dviner <at> apache.org] 
Sent: Friday, July 15, 2005 12:42 PM
To: Bennett, Tony - CNF
Cc: dav-dev <at> lyra.org
Subject: Re: [dav-dev] other providers

Hi

thanks for this suggestion.  I've been tracing through the dav_provider
structure and all the callbacks registered therein... is there a
document somewhere which shows what callbacks are used for each DAV
request?  I know it's inside mod_dav.c, but I'm hoping for some docs
instead of code-diving for it.

thanks
dave

Bennett, Tony - CNF wrote:

>Dave
>
>RE: Apache 2.X & a mod_dav provider
>
>The best suggestion I can give you is to look at mod_dav.h.  
>Specifically, review mod_dav.h's section on dav_provider.
>It will show you what facilities your new backend CAN provide and what 
>it MUST provide (repository & propdb).  Look at the dav_provider 
(Continue reading)

scott.leonard | 15 Jul 2005 21:33

dav lockdb issues on Fedora Core 3 install

i've never been able to write via webdav on my fedora core 3 install.  
posted this issue a while ago with no response.  periodically search the 
web with zero results.  does this error look familiar to anyone?  it 
occurs when i try to write via webdav.  (httpd is running as "apache")

.scott

error_log:

[Fri Jul 15 12:24:50 2005] [error] [client 216.239.124.38] The locks 
could not be queried for verification against a possible "If:" header.  
[500, #0]
[Fri Jul 15 12:24:50 2005] [error] [client 216.239.124.38] Could not 
open the lock database.  [500, #400]
[Fri Jul 15 12:24:50 2005] [error] [client 216.239.124.38] (2)No such 
file or directory: Could not open property database.  [500, #1]

httpd.conf:

<IfModule mod_dav_fs.c>
    # Location of the WebDAV lock database.
   DAVLockDB /var/www/dav/lockdb
</IfModule>

[root <at> barn www]# ls -la dav/
total 16
drwxr-xr-x   2 apache apache 4096 Jul 15 12:52 .
drwxr-xr-x  11 apache apache 4096 Apr  1 11:57 ..

(Continue reading)


Gmane