[svn] Could not open the requested SVN filesystem

[摘要] SVN搭建过程非常简单,不过在SVN迁移之后,浏览器中访问一直提示Could not open the requested SVN filesystem

具体错误如下:

<D:error>
  <C:error/>
  <m:human-readable errcode="2">
    Could not open the requested SVN filesystem
  </m:human-readable>
</D:error>

搜索了半天发现是apache配置上的问题,svn目录指错了,应该将SVNParentPath改成SVNPath,如下是解决办法:

<Location />
      DAV svn
      # SVNParentPath /srv/svn/repositories 
      SVNPath /srv/svn/repositories
</Location>

svn备份和导入:
假设原repo目录为:svn_repo_old
#dump出来
svnadmin dump svn_repo_old/ > svnrepo_bak

#创建新的空repo
svnadmin create svn_repo_new

#允许apache用户可读写
chown -R apache:apache svn_repo_new

#load到新的svn上
svnadmin load svn_repo_new/ < svnrepo_bak

u2

Related Posts

python cx-Oracle 驱动安装

安装oracle驱动 cx-Oracle驱动二进制版本下载地…

Nginx 在if语句中限制IP访问

一些web服务,出于安全考虑是不想让其他人访问到,除了添加登录用户认证外,还可以使用Nginx限制IP访问,只允许指定IP的用户访问站点或者接口。

One thought on “[svn] Could not open the requested SVN filesystem

评论已关闭。

You Missed

雇佣AI员工,花钱上班:开发者的新”职场”荒诞剧

  • u2
  • 3月 1, 2026
  • 29 views
雇佣AI员工,花钱上班:开发者的新”职场”荒诞剧

OpenClaw 完整使用指南:自托管 AI Agent 的架构与实战

  • u2
  • 2月 25, 2026
  • 123 views
OpenClaw 完整使用指南:自托管 AI Agent 的架构与实战

Anthropic 推出 Claude Code Security:AI 驱动的代码安全神器

  • u2
  • 2月 24, 2026
  • 71 views

来自 OWASP 的代码安全检查工具:Dependency-Check,为你消除安全隐患

  • u2
  • 10月 16, 2025
  • 46 views
来自 OWASP 的代码安全检查工具:Dependency-Check,为你消除安全隐患

技术宅如何躲开越来越垃圾的CSDN?

  • u2
  • 4月 11, 2024
  • 33 views
技术宅如何躲开越来越垃圾的CSDN?

mysql连接失败:The driver has not received any packets from the server

  • u2
  • 3月 26, 2024
  • 35 views
mysql连接失败:The driver has not received any packets from the server