2014-10-27 46 views
0

您好所有,並在此先感謝,我不能將文件添加到我的倉庫顛覆,它拋出一個內部錯誤(代碼500)

我希望有人能幫助我,因爲我有顛覆,當一個問題,我嘗試將文件添加到我的存儲庫,它會引發內部錯誤(代碼500)。

我的機器運行Windows服務器2012,我已經安裝了XAMPP 1.8.3,SVN 1.8.10,dir「D:/ server/svn /」擁有所有用戶所需的所有權限,我擁有防火牆禁用 這裏是我的設置:

的httpd.conf

Addons config 
Include conf/addons/*.conf 

的conf /插件/ svn.conf

LoadModule dav_fs_module modules/mod_dav_fs.so 
LoadModule dav_module modules/mod_dav.so 

LoadModule dav_svn_module modules/mod_dav_svn.so 
LoadModule authz_svn_module modules/mod_authz_svn.so 
LoadModule dontdothat_module modules/mod_dontdothat.so 

#<location "/svn"> 
# DAV svn 
# SVNParentPath D:/server/svn 
# SVNListParentPath On 
#</location> 
<VirtualHost *:80> 
    ServerAlias svn.yeisoft.tk 
    ServerName svn.yeisoft.tk 
    <Location "/"> 
     DAV svn 
     #SVNPath D:/server/svn/ 
    SVNParentPath D:/server/svn/ 
     SVNListParentPath On 
    AuthType Basic 
    AuthName "Subversion repository" 
    AuthUserFile D:/server/a.htpasswd 
    #Order deny,allow 
Satisfy Any 
    Require valid-user 
    AuthzSVNAccessFile D:/server/svn-authz.conf 
    </Location> 

</VirtualHost> 

a.htpasswd

user:pass 

SVN-auth.conf

[groups] 
administrator = Enrique 

[/] 
@administrator = rw 

這裏我做了什麼讓這個錯誤的列表: - 創建與svnadmin的(成功) 新倉庫 - 增加文件到新的存儲庫(成功) - 更新現有文件(成功) - 添加了一些新的文件(錯誤500)

下面你可以看到從該文件的access.log和error.log日誌:

的access.log

85.214.204.52 - - [27/Oct/2014:21:13:08 +0100] "OPTIONS /pruebasanaarte/application/controllers HTTP/1.1" 401 - "-" "SVN/1.8.10 (x64-microsoft-windows) serf/1.3.7 TortoiseSVN-1.8.8.25755" 
85.214.204.52 - Enrique [27/Oct/2014:21:13:08 +0100] "OPTIONS /pruebasanaarte/application/controllers HTTP/1.1" 200 194 "-" "SVN/1.8.10 (x64-microsoft-windows) serf/1.3.7 TortoiseSVN-1.8.8.25755" 
85.214.204.52 - Enrique [27/Oct/2014:21:13:08 +0100] "OPTIONS /pruebasanaarte/application/controllers HTTP/1.1" 200 97 "-" "SVN/1.8.10 (x64-microsoft-windows) serf/1.3.7 TortoiseSVN-1.8.8.25755" 
85.214.204.52 - Enrique [27/Oct/2014:21:13:08 +0100] "POST /pruebasanaarte/!svn/me HTTP/1.1" 201 - "-" "SVN/1.8.10 (x64-microsoft-windows) serf/1.3.7 TortoiseSVN-1.8.8.25755" 
85.214.204.52 - Enrique [27/Oct/2014:21:13:08 +0100] "HEAD /pruebasanaarte/application/controllers/a.txt HTTP/1.1" 500 - "-" "SVN/1.8.10 (x64-microsoft-windows) serf/1.3.7 TortoiseSVN-1.8.8.25755" 
85.214.204.52 - Enrique [27/Oct/2014:21:13:08 +0100] "DELETE /pruebasanaarte/!svn/txn/1-6 HTTP/1.1" 204 - "-" "SVN/1.8.10 (x64-microsoft-windows) serf/1.3.7 TortoiseSVN-1.8.8.25755" 

error.log中

[Mon Oct 27 21:20:16.586206 2014] [:error] [pid 1152:tid 1792] (20014)Internal error: [client 85.214.204.52:53703] Can't open file 'D:\\server\\svn\\error\\format': El sistema no puede encontrar la ruta especificada. 
[Mon Oct 27 21:20:16.586206 2014] [dav:error] [pid 1152:tid 1792] [client 85.214.204.52:53703] Could not fetch resource information. [500, #0] 
[Mon Oct 27 21:20:16.586206 2014] [dav:error] [pid 1152:tid 1792] [client 85.214.204.52:53703] Could not open the requested SVN filesystem [500, #720003] 
[Mon Oct 27 21:20:16.586206 2014] [dav:error] [pid 1152:tid 1792] [client 85.214.204.52:53703] Could not open the requested SVN filesystem [500, #720003] 

我不知道這裏發生了什麼,但如果有人把我一些有關此光我將不勝感激。

感謝您的幫助;)

+0

這個問題是StackOverflow,BTW offtopic。下次在ServerFault上提出這樣的問題。 – bahrep 2014-10-28 14:50:02

+0

好的,不知道。抱歉 – ekirne 2014-10-29 12:22:59

回答

0

我已經找到了解決辦法,以避免錯誤500這不是一個真正的解決方案,我想,但它讓我沒有任何問題很好地工作。

我給了svn它想要的東西,一個名爲「error」的存儲庫,現在我可以和其他人一起工作。

我會將此標記爲答案,但感謝所有幫助過我的人。

0

你的Apache HTTP服務器is configured with SVNParentPath D:/server/svn/ directive。這意味着D:\server\svn\是多個存儲庫的父目錄。根據你的httpd.conf文件,URL http://svn.yeisoft.tk/導致你的存儲庫的收集,但我猜根本沒有D:\server\svn\的存儲庫。

,你得到的錯誤是:

[Mon Oct 27 21:20:16.586206 2014] [:error] [pid 1152:tid 1792] (20014)Internal error: [client 85.214.204.52:53703] Can't open file 'D:\server\svn\error\format': El sistema no puede encontrar la ruta especificada.

所以,你試圖訪問一個存儲庫「d:\服務器\ SVN \錯誤」,這最有可能是不存在的。 format缺少的文件必須存在於文件系統的存儲庫中。

  • 請確保您的Location和svn相關指令配置正確。

  • 否則,請在Windows Server 2012計算機上安裝VisualSVN Server。使用VisualSVN Server而不是自建的Subversion + Apache服務器將使您擺脫服務器配置和管理難題。

相關問題