2011-10-01 105 views
1

我使用的是Windows XP,我想有一個倉庫,所以我使用的是Apache服務器無法打開屬性數據庫

在我的Apache服務器,爲什麼我收到此錯誤創造了它?

我已經使用這個下的httpd-dav.conf創建我的倉庫

別名/點 「C:/ Program Files文件/阿帕奇軟件基金會/ APACHE2.2 /網站」

<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/sites"> 
    Dav On 

    Order Allow,Deny 
    Allow from all 

    AuthType Digest 
    AuthName DAV-upload 

    Options Indexes 

    AuthUserFile "C:/Program Files/Apache Software Foundation/Apache2.2/user.passwd" 
    AuthDigestProvider file 

    # Allow universal read-access, but writes are restricted 
    # to the admin user. 
    <LimitExcept GET OPTIONS> 
     require user admin 
    </LimitExcept> 
</Directory> 

[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header. [500, #0] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open the lock database. [500, #400] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header. [500, #0] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open the lock database. [500, #400] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header. [500, #0] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open the lock database. [500, #400] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header. [500, #0] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open the lock database. [500, #400] 
[Sat Oct 01 15:44:07 2011] [error] [client 127.0.0.1] Could not open property database. [500, #1] 

請告訴我如何解決這個問題?

回答

2

我使用的是Window 2008 我發現的是,在\的conf \文件夾外的DavLockDB的默認項是:

/Apache軟件基金會/ APACHE2.2在/ var/DavLock

但是,在Windows安裝下沒有創建var目錄。

創建var目錄似乎解決了這個問題。