Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Apache 1.3] DAV Problem

5 views
Skip to first unread message

Steffen Sledz

unread,
Jun 2, 2004, 7:03:13 AM6/2/04
to
Wir betreiben hier einen Apacha 1.3 auf einem SuSE 7.3 und wollten
da jetzt mal das WebDAV zum Laufen bringen. Leider behauptet das
Logfile immer, dass die Locks nicht angelegt werden koennen.

[Wed Jun 2 12:49:02 2004] [error] [client 10.32.0.68] Could not MOVE/COPY /index.html due to a failed precondit
[Wed Jun 2 12:49:02 2004] [error] [client 10.32.0.68] The locks could not be queried for verification against a
[Wed Jun 2 12:49:02 2004] [error] [client 10.32.0.68] Could not open the lock database. [500, #400]
[Wed Jun 2 12:49:02 2004] [error] [client 10.32.0.68] (13)Permission denied: I/O error occurred. [500, #1]

Das im Config File angegebene Verzeichnis

DAVLockDB /var/lock/DAVLock

hat aber alle notwendigen Rechte (eher zuviel):

# ls -l /var/lock/DAVLock/
total 8
drwxrwxrwx 2 wwwrun root 4096 Jun 2 12:43 .
drwxrwxr-x 5 root uucp 4096 Jun 2 12:28 ..

Die Option scheint eigentlich auch erkannt zu werden. Das behauptet
zumindest die server-info:

Module Name: mod_dav.c
Content handlers: dav-handler
Configuration Phase Participation: Create Directory Config, Merge Directory Configs, Create Server Config, Merge Server Configs

Request Phase Participation: Check Type
Module Directives:
DAV - turn DAV on/off for a directory or location
DAVLockDB - specify a lock database
DAVMinTimeout - specify minimum allowed timeout
DAVDepthInfinity - allow Depth infinity PROPFIND requests
DAVParam - DAVParam
LimitXMLRequestBody - Limit (in bytes) on maximum size of an XML-based request body

Current Configuration:
/etc/httpd/httpd.conf
DAVLockDB /var/lock/DAVLock
<Directory "/usr/local/httpd/bla">
DAV Off
</Directory>
<Directory "/usr/local/httpd/bla/bla">
DAV On
</Directory>

Hat jemand eine Idee, was hier noch schief geht?

PS: Hier noch ein paar Daten zum System.

# uname -a
Linux darsek 2.4.18-4GB #1 Mon Mar 24 14:37:51 GMT 2003 i586 unknown
# rpm -q apache
apache-1.3.20-83
# rpm -q mod_dav
mod_dav-1.0.2-462

André Malo

unread,
Jun 2, 2004, 1:42:27 PM6/2/04
to
* "Steffen Sledz" <sl...@DResearch.DE> wrote:

> DAVLockDB /var/lock/DAVLock
>
> hat aber alle notwendigen Rechte (eher zuviel):
>
> # ls -l /var/lock/DAVLock/
> total 8
> drwxrwxrwx 2 wwwrun root 4096 Jun 2 12:43 .
> drwxrwxr-x 5 root uucp 4096 Jun 2 12:28 ..

DavLock ist der Basisname für zwei Dateien (SDBM halt). Lösch das Verzeichnis
einfach :-)

nd
--
Winnetous Erbe: <http://pub.perlig.de/books.html#apache2>

Max Dittrich

unread,
Jun 2, 2004, 4:31:11 PM6/2/04
to
André Malo wrote on Wed, 2 Jun 2004 19:42:27 +0200:
> * "Steffen Sledz" <sl...@DResearch.DE> wrote:
>
> > DAVLockDB /var/lock/DAVLock
> >
> > hat aber alle notwendigen Rechte (eher zuviel):
> >
> > # ls -l /var/lock/DAVLock/
> > total 8
> > drwxrwxrwx 2 wwwrun root 4096 Jun 2 12:43 .
> > drwxrwxr-x 5 root uucp 4096 Jun 2 12:28 ..
>
> DavLock ist der Basisname für zwei Dateien (SDBM halt). Lösch das Verzeichnis
> einfach :-)

Löschen sollte er das Verzeichnis - ein all-writable Verzeichnis auf
/var - auf alle Fälle. Doch dann schlägt

> > drwxrwxr-x 5 root uucp 4096 Jun 2 12:28 ..

zu.

gruss,
.max

André Malo

unread,
Jun 2, 2004, 6:03:07 PM6/2/04
to
* Max Dittrich <am...@cs.tu-berlin.de> wrote:

> Löschen sollte er das Verzeichnis - ein all-writable Verzeichnis auf
> /var - auf alle Fälle. Doch dann schlägt
>
> > > drwxrwxr-x 5 root uucp 4096 Jun 2 12:28 ..
>
> zu.

Das wäre dann als nächstes gekommen :)

Steffen Sledz

unread,
Jun 3, 2004, 2:02:36 AM6/3/04
to
: DavLock ist der Basisname f?r zwei Dateien (SDBM halt). L?sch das Verzeichnis
: einfach :-)

OK, das war's. Danke.

0 new messages