使用walle检测报错:

查看日志
# tail -f /tmp/walle/walle-20161010.log
报错:
2016-10-10 14:20:30 -- ---------------------------------
2016-10-10 14:20:30 -- ---- Executing: $ mkdir -p /data/www/deploy/from/prod/chinsoft-h5  && cd /data/www/deploy/from/prod/chinsoft-h5  && /usr/bin/env LC_ALL=en_US.UTF-8 svn checkout -q 'https://192.168.3.11/svn/chinasoft-videobuy/h5/trunk/chinsoft-h5' . --username='admin'
--password='admin' --non-interactive --trust-server-cert
2016-10-10 14:20:30 -- svn: E175002: Unable to connect to a repository at URL 'https://192.168.1.18/svn/chinasoft-videobuy/h5/trunk/chinsoft-h5'
svn: E175002: OPTIONS of 'https://192.168.1.18/svn/chinasoft-videobuy/h5/trunk/chinsoft-h5': Server certificate verification failed: certificate has expired, certificate issued for a different hostname, issuer is not trusted (https://192.168.1.18)

原因分析:
传输协议加了ssl,svnsync第一次同步,带有--non-interactive选项,有可能会报标题所示错误。

原因是第一次认证时会弹出如下交互文字。
验证“https://192.168.1.18:443”的服务器证书时出错:

- 此证书并不是由信任的权威机权颁发。请使用此指纹手工验证其有效性!
 - 证书的主机名称不匹配。
证书信息:
 - 主机名称: SV0051
 - 有效时间: 自 Mon, 28 Feb 2011 00:55:03 GMT 至 Thu, 25 Feb 2021 00:55:03 GMT
 - 发行者: SV0051
 - 指纹: f4:b2:70:22:93:95:64:cb:38:a4:4c:d0:49:9c:20:87:64:35:75:85
(R)拒绝,(t)暂时接受,或(p)永远接受?p

解决方法是:
# su - www_php (一定要切换到walle运行php-fpm的用户下,因为是该用户和svn服务器进行交互)
第一次时不带--non-interactive,然后选择p,在以后的自动同步中带上此选项。
svn checkout -q 'https://192.168.1.18/svn/chinasoft-videobuy/h5/trunk/chinsoft-h5' . --username='admin' --password='admin'
Error validating server certificate for 'https://192.168.1.18:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
 - The certificate has expired.
Certificate information:
 - Hostname: JUYUN
 - Valid: from Mon, 12 Nov 2012 08:21:56 GMT until Wed, 12 Dec 2012 08:21:56 GMT
 - Issuer: JUYUN, JUYUN, SZ, GD, CN
 - Fingerprint: 54:31:82:d2:53:a3:3d:9f:a0:fe:74:9f:7f:58:75:d6:20:a3:21:5d
(R)eject, accept (t)emporarily or accept (p)ermanently? p

-----------------------------------------------------------------------
ATTENTION!  Your password for authentication realm:

<https://192.168.1.18:443> Subversion Repository

can only be stored to disk unencrypted!  You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible.  See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/root/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes

问题解决

解决walle报错:宿主机代码检出检测出错,请确认svn用户名密码无误的更多相关文章

  1. 不修改系统日期和时间格式,解决Delphi报错提示 '****-**-**'is not a valid date and time

    假如操作系统的日期格式不是yyyy-MM-dd格式,而是用strtodate('2014-10-01')) 来转换的话,程序会提示爆粗 '****-**-**'is not a valid date ...

  2. Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists).

    Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists). Git fet ...

  3. 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists).

    Git fetch和git pull的区别, 解决Git报错:error: You have not concluded your merge (MERGE_HEAD exists). 2017年02 ...

  4. 解决Python报错:local variable 'xxx' referenced before assignment(引)

    解决Python报错:local variable 'xxx' referenced before assignment(引) 解决Python报错:local variable 'xxx' refe ...

  5. 解决Mybatis 报错Invalid bound statement (not found)

    解决Mybatis 报错Invalid bound statement (not found) 出现此错误的原因 1.xml文件不存在 2.xml文件和mapper没有映射上 namespace指定映 ...

  6. Idea使用记录--添加Problems&&解决Autowired报错could not autowire

    今天在使用Idea的时候,发现Idea在整个每次找到错误代码非常不方便(Idea如果类中有错误,没有打开过类并不会提示,比如构建工程后缺少jar包问题).我想快速看到工程哪里出问题类似于eclipse ...

  7. [转]解决Maven报错"Plugin execution not covered by lifecycle configuration"

    [转]解决Maven报错"Plugin execution not covered by lifecycle configuration" 导入Myabtis源码后,POM文件会报 ...

  8. 解决MySQL报错ERROR 2002 (HY000)【转】

    今天在为新的业务线搭架数据库后,在启动的时候报错 root@qsbilldatahis-db01:/usr/local/mysql/bin# ./mysql ERROR 2002 (HY000): C ...

  9. vue解决启动报错cjs loader.js Error: Cannot find module '../config'问题

    vue解决启动报错cjs loader.js Error: Cannot find module '../config'问题 今天下载了一个开源项目一直运行不了,折腾了半天才找到问题所在,config ...

随机推荐

  1. Java NIO -- 通道 Channel

    通道(Channel):由 java.nio.channels 包定义的.Channel 表示 IO 源与目标打开的连接.Channel 类似于传统的“流”.只不过 Channel本身不能直接访问数据 ...

  2. JAVA8给我带了什么——Optional和CompletableFuture

    不管是JAVA,还是.NET.我们常常会看到空异常(NullPointerException).这种异常都是在运行的过程中出现.往往是变量是一个null值.但是你引用这个变量的后继字段或是方法.所以我 ...

  3. A1091. Acute Stroke

    One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the re ...

  4. 关于vue里页面的缓存

    keep-alive是vue内置的一个组件,可以使被它包含的组件处于保留状态,或避免被重新渲染. 用法: 运行结果描述: input输入框内,路由切换输入框内部的内容不会发生改变. 在keep-ali ...

  5. cdn模式下vue的基本用法

    我们知道jq是简化了dom操作,而react和vue则是通过使用虚拟dom的方式,不需要频繁的更改ui界面,而是通过更改数据的方式来更新界面. 我们知道些jq插件时会在IFFE中传入jQuery,jQ ...

  6. 洛谷P2148 [SDOI2009]E&D(博弈论)

    洛谷题目传送门 先安利蒟蒻仍在施工的博弈论总结 首先根据题目,石子被两两分组了,于是根据SG定理,我们只要求出每一组的SG值再全部异或起来就好啦. 把每一对数看成一个ICG,首先,我们尝试构造游戏的状 ...

  7. bin内置函数

    光棍们对1总是那么敏感,因此每年的11.11被戏称为光棍节.小Py光棍几十载,光棍自有光棍的快乐.让我们勇敢地面对光棍的身份吧,现在就证明自己:给你一个整数a,数出a在二进制表示下1的个数,并输出. ...

  8. 【Maven】安装配置、目录结构、配置文件、常见命令

    1.下载配置maven步骤 a.windows下配置jdk的系统环境变量:java_home b.windows下配置maven的系统环境变量:maven_home或者m2_home c.window ...

  9. python---定义一个session类(无错)

    import tornado.web #放在内存 redis 文件 数据库 container={} #定义一个session类 class Session: def __init__(self,ha ...

  10. golang 的时间格式化操作

    怎么做 简而言之 time.Now().Format("2006-01-02 15:04:05") 你将会获得如同 yyyy-MM-dd hh-mm-ss 这样的输出. 还可以 在 ...