歡迎您光臨本站 註冊首頁

puppetd --test 出錯

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

在客戶端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


在客戶端B上運行」puppetd --server desktop.abc.com --test「的時候,報錯:
err: Could not retrieve ca ...

puppet連接對時間要求是非常嚴格的,它要求時間是精準的,不然證書申請就是失敗的,建議二台機器都採用ntpdate先自動對時,這樣就不會報這種錯誤 了。

我改用RPM包安裝,那個問題沒有出現。yuhongchun 發表於 2013-11-05 17:27 static/image/common/back.gif
puppet連接對時間要求是非常嚴格的,它要求時間是精準的,不然證書申請就是失敗的,建議二台機器都採用 ...

[火星人 ] puppetd --test 出錯已經有523次圍觀

http://coctec.com/docs/service/show-post-126.html