SVN查询log出现"offline for now, Permanently offline",怎么解决?我用的是SVN+Apache
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SVN查询log出现"offline for now, Permanently offline",怎么解决?我用的是SVN+Apache相关的知识,希望对你有一定的参考价值。
参考技术A 通过tortoiseSVN无法查询log,也无法update to version,点击后出现"offline for now, Permanently offline".Google后得到如下信息:
The authz file looks like this[groups][/]autobuild = rwserge = rw* = rRead access to anyone
Allthough in the svnserve.conf file we added the line “anon-access = read”, in the authz file you still have to add the line “* = r” (see last line of the file). In the file created by svnadmin when creating the repository this line siimply says “* =” which translates to everybody having no access to the root.We will eventualy setup CI in this series and will use Cruisecontrol.NET. Cruisecontrol.NET uses the log command of subversion to decide if something changed in the repository, and thus if an integration must be build. Unfortunatly, this subversion command fails with a message “Item is not readable” if you didn’t provide read access to the root for anyone in the authz file. It even fails if you logged on to subversion with an account having read/write access rights.It took me a wilhile to find this because one would think that providing read access to anonymous users and read/write access to others would be enough. However, it apparently is not sufficient. It somehow looks like logging the repsoitory history uses an anonymous account. I do not know if this is me or if it is a bug in subversion.The passwd file looks like this[users]autobuild = autobuildpwdserge = sergepwd
关键在这里“如果不在authz文件中提供任何人可读权限,subversion 命令将会失败” 于是在authz文件中添加一行 *=r,至此问题解决。
在windows上启动nginx 出现了错误
这是错误的提示:nginx: [alert] could not open error log file: CreateFile() "logs/error.log" fail
ed (3: The system cannot find the path specified)
2011/11/01 19:35:31 [emerg] 1424#2576: CreateFile() "C:\Documents and Settings\A
dministrator/conf/nginx.conf" failed (3: The system cannot find the path specifi
ed)这是什么原因?
可能是端口占用问题,win10系统默认占用了80端口。
经过网络查询,发现网上的提供的多种方式,单纯使用,并不能解决问题,经实践后,解决方式为3步:
使用如下命令关闭iis相关服务(管理员身份进入cmd),输入net stop http。
这时会有提示确认信息,提示要关闭http服务,需要停止其依赖的其他服务,输入Y
此时依赖的相关服务都会提示停止成功,到http服务时,最后会发现:http server 无法停止。
命令行输入如下命令:sc config http start= disabled(注意start和=之间没有空格)
没有任何提示,重新出现输入提示,说明已经成功,如果有提示,请按提示进行修改。
然后重启电脑,输入netstat -ano | find "0.0.0.0:80"命令进行验证。如果没有任务输出,说明成功,如果还是有80端口相关信息输出,说明失败。可以再尝试其他方式。
C:\Documents and Settings\Administrator/conf/nginx.conf
里面的log目录改为:C:\logs\。 参考技术B 好像是缺失文件然后导致的错误 你试试360修补软件试试
以上是关于SVN查询log出现"offline for now, Permanently offline",怎么解决?我用的是SVN+Apache的主要内容,如果未能解决你的问题,请参考以下文章