a6447 发表于 2013-11-05 12:27

puppetd --test 出错(已解决)

本帖最后由 a6447 于 2013-11-05 17:41 编辑

在客户端B上运行”puppetd --server desktop.abc.com --test“的时候,报错:
err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.This is often because the time is out of sync on the server or client
warning: Not using cache on failed catalog
#
err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed.This is often because the time is out of sync on the server or client

以为是时间不同步问题,由于A和B都没有连外网能力,通过rdate命令把B的时间和puppetmaster的时间同步,结果还是一样。

This is often because the time is out of sync on the server or client这句话,是指A和B之间的时间不同步,还是什么别的意思?


部分软件版本:
puppet-2.7.13.tar
facter-1.7.3.tar
ruby-1.8.7.352-3.el6.x86_64.rpm

wenhq 发表于 2013-11-05 14:13

时间不同步

a6447 发表于 2013-11-05 16:23

我用rdate命令,让2台枫叶时间同步了。回复 2# wenhq


   

wenhq 发表于 2013-11-05 16:47

ntpupdate
或者启动ntp service

yuhongchun 发表于 2013-11-05 17:27

a6447 发表于 2013-11-05 17:40

我改用RPM包安装,那个问题没有出现。yuhongchun 发表于 2013-11-05 17:27 static/image/common/back.gif
puppet连接对时间要求是非常严格的,它要求时间是精准的,不然证书申请就是失败的,建议二台机器都采用 ...
页: [1]
查看完整版本: puppetd --test 出错(已解决)