我的最新版本是 svn 提交后的 703。但是当我从客户端计算机执行 svn update 或 svn checkout 命令时,它会抛出异常。
svn: REPORT of '/home/username/svn_repository/!svn/vcc/default': Could not read chunk size: connection was closed by server (http://10.192.1.5)
我检查了 svn 服务器端的日志消息。表明
[Wed Sep 17 09:48:17 2014] [error] [client 10.192.1.175] Provider encountered an error while streaming a REPORT response. [500, #0]
[Wed Sep 17 09:48:17 2014] [error] [client 10.192.1.175] A failure occurred while driving the update report editor [500, #200002]
[Wed Sep 17 09:48:17 2014] [error] [client 10.192.1.175] Can't read length line in file '/home/username/svn_repository/db/revs/0/697' [500, #200002].
我搜索了一些链接,他们告诉我们执行 svnadmin 恢复和验证命令。我尝试了 svnadmin recovery svn_repository ,输出将是这样的
Repository lock acquired.
Please wait; recovering the repository may take some time...
Recovery completed.
The latest repos revision is 703.
在我尝试 svnadmin verify 命令之后
* Verified revision 693.
* Verified revision 694.
* Verified revision 695.
* Verified revision 696.
* Verified revision 697.
* Verified revision 698.
svnadmin: Can't read length line in file 'svn_repository/db/revs/0/697'
svnserver 和 svn client 均仅使用 ubuntu 12.04。
如何解决这个问题?