[svn] Could not open the requested SVN filesystem

  • linux
  • 6月 20, 2014
  • 1 评论

[摘要] 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驱动二进制版本下载地…

Read more

Nginx 在if语句中限制IP访问

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

Read more

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

评论已关闭。

You Missed

AI安全护栏:保护还是束缚?一场不对称的战争

  • u2
  • 3月 11, 2026
  • 15 views

从”养虾”到AI Agent爆发:2026年技术圈的新范式转移

  • u2
  • 3月 9, 2026
  • 32 views

提示词注入:AI时代最危险的漏洞,正在吞噬你的数据

  • u2
  • 3月 7, 2026
  • 77 views
提示词注入:AI时代最危险的漏洞,正在吞噬你的数据

潘多拉魔盒已打开:开源AI攻击平台正在血洗全球防火墙

  • u2
  • 3月 4, 2026
  • 85 views
潘多拉魔盒已打开:开源AI攻击平台正在血洗全球防火墙

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

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

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

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