У меня есть внутренние ошибки сервера с моей установкой owncloud для каждого запроса PUT или DELETE WebDAV (saber / dav). Смотрите мой отрывок access.log:
192.168.2.11 - - [14/Mar/2015:08:39:44 +0100] "PROPFIND /remote.php/webdav HTTP/1.1" 207 5272
192.168.2.11 - - [14/Mar/2015:08:39:44 +0100] "DELETE /remote.php/webdav/Documents/MyDocument.rtf HTTP/1.1" 500 529
192.168.2.11 - - [14/Mar/2015:08:39:45 +0100] "DELETE /remote.php/webdav/Documents/AnotherDoc.doc HTTP/1.1" 500 529
192.168.2.11 - - [14/Mar/2015:08:39:45 +0100] "PUT /remote.php/webdav/Documents/TEST1.TXT HTTP/1.1" 500 529
192.168.2.11 - - [14/Mar/2015:08:39:45 +0100] "PUT /remote.php/webdav/Documents/TEST2.TXT HTTP/1.1" 500 529
192.168.2.11 - - [14/Mar/2015:08:40:12 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 502
192.168.2.11 - - [14/Mar/2015:08:40:23 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 1270
В то же время я могу найти это в Apache error.log:
[Sat Mar 14 08:39:45.350992 2015] [fcgid:warn] [pid 16840:tid 880] (OS 109)Die Pipe wurde beendet. : [client 192.168.2.11:53446] mod_fcgid: get overlap result error
[Sat Mar 14 08:39:45.350992 2015] [core:error] [pid 16840:tid 880] [client 192.168.2.11:53446] End of script output before headers: remote.php
[Sat Mar 14 08:39:45.803398 2015] [fcgid:warn] [pid 16840:tid 880] (OS 109)Die Pipe wurde beendet. : [client 192.168.2.11:53447] mod_fcgid: get overlap result error
[Sat Mar 14 08:39:45.803398 2015] [core:error] [pid 16840:tid 880] [client 192.168.2.11:53447] End of script output before headers: remote.php
Также в owncloud.log есть еще несколько деталей:
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"user_ldap","message":"No group filter is specified, LDAP group feature will not be used.","level":1,"time":"2015-03-14T07:39:46+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"INFO: Write lock requested for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt.octransferid18718.part","level":0,"time":"2015-03-14T07:39:46+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"PASS: Write lock succeeded on F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt.octransferid18718.part","level":0,"time":"2015-03-14T07:39:46+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"INFO: Incrementing lock type 2 count for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt.octransferid18718.part","level":0,"time":"2015-03-14T07:39:46+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"INFO: Read lock requested for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt.octransferid18718.part","level":0,"time":"2015-03-14T07:39:47+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"PASS: Acquired read lock for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt.octransferid18718.part","level":0,"time":"2015-03-14T07:39:47+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"INFO: Incrementing lock type 1 count for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt.octransferid18718.part","level":0,"time":"2015-03-14T07:39:47+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"INFO: Write lock requested for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt","level":0,"time":"2015-03-14T07:39:47+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"PASS: Write lock succeeded on F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt","level":0,"time":"2015-03-14T07:39:47+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"lock","message":"INFO: Incrementing lock type 2 count for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt","level":0,"time":"2015-03-14T07:39:47+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"45d62f7c8057519037a1480b67a1c2de","remoteAddr":"192.168.2.11","app":"PHP","message":"unlink(F:\\Apache\\owncloud\\Apache24\\htdocs\\data\/testuser\/files\/documents\/test2.txt): Permission denied at F:\\Apache\\owncloud\\Apache24\\htdocs\\lib\\private\\files\\storage\\mappedlocal.php#270","level":3,"time":"2015-03-14T07:39:47+00:00","method":"PUT","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"d8898b5d419ba2468cf5021413104369","remoteAddr":"192.168.2.11","app":"lock","message":"INFO: Read lock requested for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt","level":0,"time":"2015-03-14T07:40:28+00:00","method":"GET","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"d8898b5d419ba2468cf5021413104369","remoteAddr":"192.168.2.11","app":"lock","message":"PASS: Acquired read lock for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt","level":0,"time":"2015-03-14T07:40:28+00:00","method":"GET","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
{"reqId":"d8898b5d419ba2468cf5021413104369","remoteAddr":"192.168.2.11","app":"lock","message":"INFO: Incrementing lock type 1 count for F:\/Apache\/owncloud\/Apache24\/htdocs\/data\/testuser\/files\/documents\/test2.txt","level":0,"time":"2015-03-14T07:40:28+00:00","method":"GET","url":"\/remote.php\/webdav\/Documents\/TEST2.TXT"}
Основываясь на owncloud.log, похоже, что это проблема «отказ в доступе» (по крайней мере, для сообщения unlink), однако связанный пользователь Apache имеет полные разрешения, и я наблюдал за ходом процесса с помощью Sysinternals Process-Monitor, у него нет ни одного Ошибка доступа запрещена, просто успешно, и не найден. Смотрите скриншот:
http://bilder.ath.cx/temp/Proccess-Monitor.png
Чтобы убедиться в отсутствии проблем с разрешениями, я также попытался запустить Apache в качестве локального администратора, что имеет тот же эффект.
Моя установка: Windows 2k8 R2 с Owncloud 8.0.0.7, Apache 2.4.12 и PHP 5.6.5
Я действительно потерял, как я мог решить эту проблему, есть кто-нибудь совет, что я мог бы попробовать дальше?
Помощь очень ценится.
LC
Задача ещё не решена.
Других решений пока нет …