我已经在Ubuntu服务器上使用apache2进行了subversion并运行了大约一年了。我几乎每天都使用它,直到4天前没有任何问题。我可以通过Web浏览器浏览我的存储库,我也可以使用
列出我的存储库 svn list http://xx.xxx.xxx.xxx/svn/repository
但是当我尝试更新或提交服务器挂起的东西时,我必须等待大约一分钟,直到我再次达到它。我到处搜索但似乎找不到任何解决方案。 apache error.log说
[Sun Mar 17 16:36:36 2013] [notice] caught SIGTERM, shutting down
PHP Warning: Module 'ssh2' already loaded in Unknown on line 0
[Sun Mar 17 16:36:37 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 SVN/1.6.17 PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch configured -- resuming normal operations
和other_vhosts_access.log说
- [17/Mar/2013:16:37:44 +0100] "OPTIONS /svn/repository HTTP/1.1" 401 677 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
- [17/Mar/2013:16:37:44 +0100] "OPTIONS /svn/repository HTTP/1.1" 401 677 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "OPTIONS /svn/repository HTTP/1.1" 200 876 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "OPTIONS /svn/repository HTTP/1.1" 200 876 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository HTTP/1.1" 207 554 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository HTTP/1.1" 207 554 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository HTTP/1.1" 207 554 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository HTTP/1.1" 207 554 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository/!svn/vcc/default HTTP/1.1" 207 453 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository/!svn/vcc/default HTTP/1.1" 207 453 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository/!svn/bln/20 HTTP/1.1" 207 468 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository/!svn/bln/20 HTTP/1.1" 207 468 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository HTTP/1.1" 207 554 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:44 +0100] "PROPFIND /svn/repository HTTP/1.1" 207 554 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:45 +0100] "PROPFIND /svn/repository/!svn/vcc/default HTTP/1.1" 207 453 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:45 +0100] "PROPFIND /svn/repository/!svn/vcc/default HTTP/1.1" 207 453 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:45 +0100] "PROPFIND /svn/repository/!svn/bln/20 HTTP/1.1" 207 468 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
user [17/Mar/2013:16:37:45 +0100] "PROPFIND /svn/repository/!svn/bln/20 HTTP/1.1" 207 468 "-" "SVN/1.6.18 (r1303927) neon/0.29.0"
我尝试重新安装subversion,重新启动计算机,验证并恢复我的存储库,但没有任何帮助。有谁知道问题是什么?
更新:查看Module 'ssh2' already loaded in Unknown on line 0后,错误日志显示如下:
[Wed Mar 20 22:27:45 2013] [notice] caught SIGTERM, shutting down [Wed Mar 20 22:27:46 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 SVN/1.7.8 PHP/5.3.10-1ubuntu3.6 with Suhosin-Patch configured -- resuming normal operations
答案 0 :(得分:1)
答案 1 :(得分:0)
我有一个类似的问题,一旦由预先提交钩子中的错误引起。
创建一个新的测试存储库(没有任何钩子),看看你是否可以在那里提交。
您还应该检查存储库的完整性。 svnadmin verify
无法捕获所有错误 - 请尝试svnadmin dump REPOS > /dev/nul
。