1. 程式人生 > >centos7.3/4安裝ambari2.6以上版本報EOF occurred in violation of protocol (_ssl.c:579)

centos7.3/4安裝ambari2.6以上版本報EOF occurred in violation of protocol (_ssl.c:579)

錯誤:

ERROR 2018-05-30 00:12:25,280 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:579)

ERROR 2018-05-30 00:12:25,280 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. 

解決方式:

1.

修改/etc/python/cert-verification.cfg配置檔案: 

# vim /etc/python/cert-verification.cfg

[https]

verify=disable

若還是不能註冊ambari-agent,使用下面介紹的方式。

2.如果上面方式還不能註冊,說明jdk版本不通過,使用預設oracle啊jdk,博主是(centos7.3,所以選擇jdk1.8)

(1)先停掉:ambari-server stop;

(2)解除安裝掉所有節點agent:rpm -qa | grep ambari-agent 得到對應版本,使用rpm -e ambari-agent-XXX解除安裝;

(3)啟動setup:ambari-server setup,配置你的東西,直到選擇jdk如下圖:


選擇1,等下載安裝完成,繼續後續步驟。直到結束

(4)啟動ambari:ambari-server start

(5)配置ambari即可正常註冊ambari-agent