您当前的位置:首页 > SVN&Git 网站首页SVN&Git
svn Could not create SASL context: generic failure
转载请注明出处:黄桂林的博客 huangguilin.com
错误:svn Could not create SASL context: generic failure
在Ubuntu上svn安装配置完成之后,使用svn co出现了如下错误
root@MyServer:/tmp# svn co svn://localhost/xxxxx
svn: E170001: Unable to connect to a repository at URL 'svn://localhost/xxxxx'
svn: E170001: Could not create SASL context: generic failure
root@MyServer:/tmp# svn co svn://127.0.0.1/xxxxx
svn: E170001: Unable to connect to a repository at URL 'svn://127.0.0.1/xxxxx'
svn: E170001: Could not create SASL context: generic failure
可千万不要再想着是svn配置错误,端口未监听,SASL库错误?
no.这些都不是,闪瞎你双眼的竟然是下面的原因。
Subversion从1.5版本后引入了SASL库,而SASL库和本机的hostname相关,当改了本机的hostname就会使用SASA库验证不通过。
那么如何验证通过呢,我的主机名是修改过的改成了MyServer
附 stackoverflow的解决方法
svn: generic failure
https://stackoverflow.com/questions/8634466/svn-generic-failure
转载请注明出处:黄桂林的博客
转载请注明出处:黄桂林的博客
关键字: svn / SASL / generic failure / stackoverflow /