Created on
02-27-2019
05:50 PM
- last edited on
03-18-2020
06:11 PM
by
ask_bill_brooks
Dear Team,
When we are trying to launching the instance in ambai 2.6.2 then getting error. Please find the below steps and error.
steps :-
========
Get Started > Select Version > install options > Confirm Hosts
error:-
======
Registering with the server...
Registration with the server failed.
Ambari-server log file :-
27 Feb 2019 14:40:42,613 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured. 27 Feb 2019 14:45:42,613 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink 27 Feb 2019 14:45:42,613 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink ********** 27 Feb 2019 14:45:42,613 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured. 27 Feb 2019 14:50:42,614 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink 27 Feb 2019 14:50:42,614 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink ********** 27 Feb 2019 14:50:42,614 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured. 27 Feb 2019 14:55:42,614 INFO [pool-18-thread-1] MetricsServiceImpl:65 - Attempting to initialize metrics sink 27 Feb 2019 14:55:42,615 INFO [pool-18-thread-1] MetricsServiceImpl:81 - ********* Configuring Metric Sink ********** 27 Feb 2019 14:55:42,615 INFO [pool-18-thread-1] AmbariMetricSinkImpl:95 - No clusters configured.
Ambari-agent log file :-
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2019-02-27 15:00:31,741 NetUtil.py:124 - Server at
https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2019-02-27 15:00:41,741 NetUtil.py:70 - Connecting to https://xxx.yyyy.example.com:8440/ca ERROR 2019-02-27 15:00:41,744 NetUtil.py:96 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol ERROR 2019-02-27 15:00:41,744 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2019-02-27 15:00:41,744 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2019-02-27 15:00:51,745 NetUtil.py:70 - Connecting to https://xxx.yyyy.example.com:8440/ca ERROR 2019-02-27 15:00:51,747 NetUtil.py:96 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol
ERROR 2019-02-27 15:00:51,747 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2019-02-27 15:00:51,748 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2019-02-27 15:01:01,748 NetUtil.py:70 - Connecting to https://xxx.yyyy.example.com:8440/ca
ERROR 2019-02-27 15:01:01,751 NetUtil.py:96 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol ERROR 2019-02-27 15:01:01,751 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2019-02-27 15:01:01,751 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds...
INFO 2019-02-27 15:01:11,752 main.py:439 - Connecting to Ambari server at https://xxx.yyyy.example.com:8440 (10.66.52.93) INFO 2019-02-27 15:01:11,752 NetUtil.py:70 - Connecting to https://xxx.yyyy.example.com:8440/ca
ERROR 2019-02-27 15:01:11,755 NetUtil.py:96 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol ERROR 2019-02-27 15:01:11,755 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details. WARNING 2019-02-27 15:01:11,755 NetUtil.py:124 - Server at https://xxx.yyyy.example.com:8440 is not reachable, sleeping for 10 seconds...
Thanks & Regards,
Prashant Gupta
Created 03-18-2020 01:26 PM
easy step
1- vi /etc/sysconfig/network ==> NETWORKING=yes ; HOSTNAME=<your -hostname>
2 -vi /etc/hosts ==> ip <your-hostname> name
3-vi /etc/ambari-agent/conf/ambari-agent.ini ==> hostname=<your hostname>
and in the field security ==> force_https_protocol=PROTOCOL_TLSv1_2
the most reason of step 3 stuck is the first step of it refers to your hostname