linux中svn配置出错解决方法
svnserve.conf:12: Option expected
为什么会出现这个错误呢,就是因为subversion读取配置文件svnserve.conf时,无法识别有前置空格的配置文件,如
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository. (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)
### Visit http://subversion.tigris.org/ for more information.
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = read
auth-access = write
像上面的配置文件中,anon-access是顶行的,没问题,而auth-access就存在前置空格,会导致这个错误。
要避免出现这个错误,应该在去掉这些行前的#时,也要顺手去掉前面的空格
下一篇: Redis消息通知系统的实现
推荐阅读
-
Linux中Samba服务器的编译安装以及配置的宏的写法
-
Linux中编译安装Subversion(SVN)客户端的教程
-
Sql Server安装出错,安装程序配置服务器失败的解决方法小结
-
无法在com+ 目录中安装和配置程序集 错误:-2146233087的解决方法[已测]
-
centos6.5中rpm包安装mysql5.7初始化出错的解决方法
-
详解Linux系统中安装配置Samba服务器的步骤
-
Linux中的Configure选项配置参数详解
-
在Linux中安装配置和加载Florence屏幕键盘
-
Linux SVN客户端使用以及服务器配置教程
-
Linux下源码编译安装配置SVN服务器的步骤分享