我在 Debian Wheezy 构建服务器上创建了一个 SVN 存储库,如下所示本教程 http://www.networkworld.com/article/2224093/opensource-subnet/use-subversion--apache--and-websvn-to-view-your-repositories.html.
svn --version
gives 1.6.17
.
遗憾的是,我无法再从我的 Windows 7 机器上提交该存储库;它失败并显示以下错误消息:
Transmitting file data .svn: E730054: Commit failed (details follow):
svn: E730054: Error running context: An existing connection was forcibly closed
by the remote host.
我在使用 TortoiseSVN 和命令行客户端 http://sourceforge.net/projects/win32svn/.
这些是内容/var/log/apache2/access.log
在服务器上提交失败的时间:访问日志 http://pastebin.com/dB8RufZM。
错误日志中没有同时的条目。
我仍然可以查看存储库的内容并且svn info http://myurl/svn/myrepo
效果也很好。
带有存储库的 Debian 服务器在 Windows Server 2008 R2 (Hyper-V-Manager 6.1) 上的虚拟机内运行。从我的 Windows 计算机到 Windows Server 的连接是使用 FortiClient 4.2.8.0307 建立的。
昨天遇到这个错误后,我从服务器中清除了 svn 并再次设置了存储库。这使得存储库接受提交几个小时,直到再次失败并出现相同的错误。
目前再次使用 TortoiseSVN 进行工作,但失败了命令行客户端 http://sourceforge.net/projects/win32svn/.
什么是E730054
意思是我怎样才能永久修复它?
在此期间我已升级为Jessie,但情况并没有改善。使用 Tortoise 提交再次停止工作,这意味着它在“发送内容”操作处挂起大约五分钟,然后打印标题中的错误。
不过,结帐仍然可以顺利进行。
apache2 -v
:
服务器版本:Apache/2.4.9(Debian)
服务器构建:2014年3月29日21:52:01
svn --version
:
svn,版本 1.8.8 (r1568071)
2014 年 4 月 1 日,03:41:42 在 i486-pc-Linux-GNU 上编译
这是一个thread http://subversion.1072662.n5.nabble.com/Error-running-context-td176404.html讨论了该错误,但我无法从中得出问题的解决方案。
我注意到当我想提交时会出现问题second修改文件。
My fix
使用后问题永久消失svnserve https://linux.die.net/man/8/svnserve代替apache2
. 本教程 http://www.tonyspencer.com/2007/03/02/setup-a-subversion-server-in-4-minutes/帮我设置了。