Sponsored Content
Operating Systems Linux Could not open the lock database - Apache WebDAV setup Post 302563482 by majid.merkava on Tuesday 11th of October 2011 12:04:06 PM
Old 10-11-2011
Could not open the lock database - Apache WebDAV setup

I configured a WebDAV server using Apache. Here is my configuration:
Code:
DAVLockDB /var/www/DAVLock.db
<Location /majid>
    AllowOverride None
    Options +Indexes
    DAV On     
    AuthUserFile 
    /var/www/users.db     
    AuthName Authentication     
    AuthType Basic     
    <Limit GET PUT DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
        Require user majid
    </Limit> 
</Location>
 
Alias /majid /var/www/dav/majid

`/var/www/DAVLock.db` is owned by apache user and group. I can access WebDAV share via browser.
I have configured a WebFolder in Windows XP SP3. But I can't create file and folders. `error_log` file says:
Code:
[Tue Oct 11 17:05:12 2011] [error] [client 192.168.1.2] File does not exist: /var/www/dav/majid/New Folder 
[Tue Oct 11 17:05:12 2011] [error] [client 192.168.1.2] The locks could not be queried for verification against a possible "If:" header.  [500, #0] 
[Tue Oct 11 17:05:12 2011] [error] [client 192.168.1.2] Could not open the lock database.  [500, #400] [Tue Oct 11 17:05:12 2011] [error] [client 192.168.1.2] (13)Permission denied: Could not open property database.  [500, #1]

Can anyone help? Another question is: Do we need `Options +Indexes` for WebDAV clients to list files and folders or it is only for web access using browser?

---------- Post updated at 07:34 PM ---------- Previous update was at 06:14 PM ----------

I removed this line:
Code:
DAVLockDB /var/www/DAVLock.db

and use the default configuration of Apache:
Code:
<IfModule mod_dav_fs.c>     # Location of the WebDAV lock database.     DAVLockDB /var/lib/dav/lockdb </IfModule>

It is now working perfectly. But I don't know the reason yet.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problems with Apache setup

I downloaded Apache 1.3.27.tar.gz into my SCO u/install directory. However, to begin with, I couldn't untar the file using the " tar xvf apache-1.3.27.tar.gz" command, so I used winzip from a windows computer on our network. Winzip untarred the file and I transferred the files to the SCO... (2 Replies)
Discussion started by: cstovall
2 Replies

2. UNIX for Dummies Questions & Answers

Problems with Apache setup

I posted a problem with the forum on 11/18/02. Unfortunately, I have been out of town. Today is the first chance I've had to try the suggestions that were made. Here is the output from the ls -l configure* command: -rw-r--r-- 1root sys 58230 May 21 2002 configure When I type " sh... (2 Replies)
Discussion started by: cstovall
2 Replies

3. UNIX for Dummies Questions & Answers

Create Folder and setup Apache

Hi, I'm a new person in here and also newbie. When I create a home folder for User and let them install any things they want in their own folder but there is one problem and i don't know how to resolved it. I post with a captured picture about this problem ... (1 Reply)
Discussion started by: cthinh
1 Replies

4. UNIX for Dummies Questions & Answers

How to setup Apache + mod_fcgi + suphp?

Hello. Could you please post an example of configuration of Apache + mod_fcgi + suphp? Till now I can get to work only either mod_fcgi or suphp, but not together. As I understand, suphp binary should be called from FCGIWrapper directive, but it always says, that SCRIPT_NAME variable is not... (0 Replies)
Discussion started by: FractalizeR
0 Replies

5. UNIX for Advanced & Expert Users

Testing privileges -lock lockfile /var/lock/subsys/..- Permission denied

Hi all, I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...). I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message. Is there any way to simply get a return code... (3 Replies)
Discussion started by: Dedalus
3 Replies

6. Red Hat

apache httpd virtual hosts setup keep hitting the same VirtualHost

I'm trying to set up two virtual hosts. Here's my httpd config: <Directory /Users/userX/dev/sandbox-2> Order deny,allow deny from All Allow from localhost </Directory> NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> DocumentRoot "/Users/userX/dev/sandbox-2" ... (0 Replies)
Discussion started by: GlideK
0 Replies

7. AIX

Cannot get shared lock on database for rpm on AIX 6.1

Hello, I was trying to install python on aix and it was taking too long and I closed the terminal. Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error. root:stud -> $ rpm -qa cannot get shared lock on database rpmQuery: rpmdbOpen()... (2 Replies)
Discussion started by: gaugeta
2 Replies

8. Web Development

Apache users from MySQL database

Hi team, How can I implement a users in MySQL database for Apache users, assuming that I'm using RHEL6. That is to say, how can I design this database and how let's Apache server know those user in this database. Thanks in advance.. (3 Replies)
Discussion started by: leo_ultra_leo
3 Replies

9. AIX

0514-516 Device Configuration Database Lock Service

Hello guys, on one of our AIX VIO LPARs I can not remove hdiskpower devices, which seemed to presented to the VIO in an incorrect way and behaviour (not all paths can be seen, pseudo device name is unknown etc.) Therefor I decided to deattach the hdiskpower device from PowerPath controll by: ... (5 Replies)
Discussion started by: tomek79
5 Replies

10. UNIX for Advanced & Expert Users

Can't open nodes-6379.conf in order to acquire a lock: Permission denied

I am getting error on redis server on linux 7.5 after change the default path /var/lib/redis to /redisdata, and enable cluster-enabled yes. It would be really appreciate if some one can check and suggest on this issue. error code: 1240:C 09 Sep 2018 13:53:51.058 # oO0OoO0OoO0Oo Redis is... (3 Replies)
Discussion started by: nadeemrafikhan
3 Replies
CARDDAVD(8)						    BSD System Manager's Manual 					       CARDDAVD(8)

NAME
carddavd -- Darwin Address Book Server Control Interface SYNOPSIS
carddavd [-hX] [-u username] [-g groupname] [-T twistd] [-f carddavd.plist] DESCRIPTION
carddavd is a front end to the Darwin Address Book Server. The Darwin Address Book Server is a web server which implements the HTTP, WebDAV, WebDAV ACL, and CardDAV protocols. carddavd is a simple tool for starting the server. OPTIONS
-h Displays usage information -X Starts the server but does not daemonize it. -u username Drops privileges to the given username. -g groupname Drops privileges to the given groupname. -f carddavd.plist Specifies the path of the configuration file to read. -T twistd Specifies the path to the twistd binary. FILES
/etc/carddavd/carddavd.plist The Address Book Server configuration file. It is an XML property list specifying server options such as the port to bind to, whether to use SSL, and the names of other configuration files. /etc/carddavd/server.pem PEM-format server keys for use with SSL. /Library/AddressBookServer/Documents The server's document root, which is used as the backing store for the HTTP resources on the server. /var/log/carddavd/access.log The server's access log file, in a format similar to Apache HTTPd's access log. /var/log/carddavd/error.log The server's main log file. /var/run/carddavd.pid The server's process ID file. /usr/share/carddavd Server implementation and support files. SEE ALSO
caldavd(8), httpd(8), serveradmin(8) STANDARDS
carddavd complies with draft-ietf-vcarddav-carddav (CardDAV), RFC 2518 (WebDAV) and RFC 3744 (WebDAV ACL). HISTORY
carddavd was first introduced as part of Darwin 10 and Mac OS 10.6. BUGS
This version of carddavd is still in development and testing. BSD
April 20, 2009 BSD
All times are GMT -4. The time now is 02:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy