无法在Windows7上打开请求的SVN文件系统 [英] Could not open the requested SVN filesystem on windows7

查看:293
本文介绍了无法在Windows7上打开请求的SVN文件系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 7上配置带子版本的apache httpd时,出现以下错误. 我已经安装了不同类型的SVN版本,并且apache也仍然面临这个问题..请有人帮助我解决这个问题.

while configuring apache httpd with subversion on windows 7, getting below error.. i had already installed with different types of versions of SVN and apache also still im facing this issue.. could please some one help me out of this issue..

svn, version 1.9.1 (r1698128)        `compiled Sep  1 2015, 19:50:43 on x86-microsoft-windows`
httpd-2.2.22-win32-x86-openssl-0.9.8t,
Server version: Apache/2.2.22 (Win32)
Server built:   Jan 28 2012 11:16:39

并且以前我已经为1.8.18和httpd-2.2.25-win32-x86-openssl-0.9.8y安装了svn

and previously i had installed svn for 1.8.18 and httpd-2.2.25-win32-x86-openssl-0.9.8y

我将以下文件复制到apache/conf/httpd

i copied these below files to apache/conf/httpd

LoadModule  dav_module             modules/mod_dav.so
LoadModule dav_fs_module        modules/mod_dav_fs.so 
LoadModule  dav_svn_module         modules/mod_dav_svn.so
LoadModule  authz_svn_module       modules/mod_authz_svn.so

得到以下错误:

    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
<C:error/>        <m:human-readable errcode="160043">Could not open the requested SVN filesystem</m:human-readable>
</D:error>

推荐答案

首先,显示完整的httpd.conf文件,并查看记录到Apache日志中的内容.我想您会通过查看日志来了解根本原因.

At first, show your full httpd.conf file and see what's logged to Apache log. I guess that you'll understand the root cause by looking through the log.

接下来,如果您自己在Windows上设置SVN + Apache服务器时遇到麻烦,请在网上搜索预打包的多合一解决方案.例如.谷歌"SVN服务器窗口".否则,请检查官方二进制软件包页面.

Next, if you have troubles setting up SVN+Apache server on Windows yourself, search the web for prepackaged all-in-one solutions. E.g. google "svn server windows". Otherwise, check the official binary packages page.

更新:

记录的错误中最有趣的部分是:

The most interesting part of the logged error is:

E160043: Expected FS format between '1' and '6'; found format '7'

该错误表示您已将Subversion 1.8安装为服务器.但是,该存储库是使用Subversion 1.9工具创建的,具有较新的格式.您应确保服务器的最新版本为1.9,或使用1.8工具创建存储库.还有另一个选项可以帮助您:使用svnadmin create REPOSITORY --compatible-version 1.8命令创建存储库.

The error means that you have Subversion 1.8 installed as your server. However, the repository was created using Subversion 1.9 tools and has newer format. You should make sure that your server is on the most current version 1.9 or create the repository using 1.8 tools. There is another option that may help you: create the repository using svnadmin create REPOSITORY --compatible-version 1.8 command.

当您运行svn --version时看到version 1.9.1 (r1698128)的事实仅表示您的命令行客户端的版本为1.9.1.这与服务器端无关.

The fact that when you run svn --version you see version 1.9.1 (r1698128) just means that your command-line client has version 1.9.1. This is irrelevant to the server side.

这篇关于无法在Windows7上打开请求的SVN文件系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆