SVN new repository unable to be accessed through httpd
2010-08-04 16:59
579 查看
A new Berkeley-db-based SVN repository was created by:
svnadmin create /var/svnroot/repo/common_lib
When trying to access it from http, a error was thrown complaining that the SVN file system can't be read.
Looking at the httpd log /var/log/httpd/error_log:
svn error: Internal error: Berkeley DB error for filesystem while opening environment
Actually this is caused by Linux FS privilidges. Run the following two commands:
find /var/lib/svn/repository -type f -exec chmod 660 {} \;
find /var/lib/svn/repository -type d -exec chmod 2770 {} \;
svnadmin create /var/svnroot/repo/common_lib
When trying to access it from http, a error was thrown complaining that the SVN file system can't be read.
Looking at the httpd log /var/log/httpd/error_log:
svn error: Internal error: Berkeley DB error for filesystem while opening environment
Actually this is caused by Linux FS privilidges. Run the following two commands:
find /var/lib/svn/repository -type f -exec chmod 660 {} \;
find /var/lib/svn/repository -type d -exec chmod 2770 {} \;
相关文章推荐
- 向svn提交项目报错Can't create session svn: Unable to connect to a repository at URL
- SVN Unable to connect to a repository at URL
- SVN检出checkout时报错errror: Unable to connect to a repository at URL'svn://localhost'
- 链接svn时候报错 Cannot negotiate authentication mechanism svn: Unable to connect to a repository at URL
- SVN Unable to connect to a repository at URL
- 【项目实战】---SVN遇到问题---Error:Unable to connect to a repository at URL'……'
- svn: Unable to connect to a repository at URL eclipse
- SVN Unable to connect to a repository at URL
- SVN: Unable to connect to a repository at URL
- SVN解决Unable to connect to a repository at URL 禁止访问 (forbidden)
- svn: E175002: Unable to connect to a repository at URL
- : Unable to connect to a repository at URL 'https://u-pc/svn/taotao/trunk/taotao/taotao-parent'
- SVN Unable to connect to a repositoryat URL Error running context 由于目标计算机积极拒绝,无法连接
- SVN Unable to connect to a repository at URL的解决方法
- SVN提交报错:Unable to connect to a repository at URL
- SVN Unable to connect to a repository at URL
- svn检出的时候报 Unable to connect to a repository at URL
- 连接SVN,出现如下错误:由于目标机器积极拒绝,无法连接Unable to connect to a repository at URL 禁止访问 (forbidden)
- svn:unable to connect to repository invalid authz configuration
- svn: E160043: Unable to connect to a repository at URL