Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Problem in Ambari Installation - Red hat 7

Highlighted

Problem in Ambari Installation - Red hat 7

New Contributor

Hi,


We have a 3 number of server with RHEL 7 and we are trying to install Ambari on this.


We are getting the error on "confirm host" section.


Please find below the log.

++++++++++++++++++++++++++ this log is for server 1 where we have install ambari package +++++++++++++++++++

========================== Creating target directory... ========================== 
Command start time 2019-07-08 13:08:16 
Connection to hadoop_test1 closed. SSH command execution finished host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:16 
========================== Copying ambari sudo script... ========================== 
Command start time 2019-07-08 13:08:16 
scp /var/lib/ambari-server/ambari-sudo.sh host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:16 
========================== Copying common functions script... ========================== 
Command start time 2019-07-08 13:08:16 
scp /usr/lib/ambari-server/lib/ambari_commons host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:16 
========================== Copying create-python-wrap script... ========================== 
Command start time 2019-07-08 13:08:16 
scp /var/lib/ambari-server/create-python-wrap.sh host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:16 
========================== Copying OS type check script... ========================== 
Command start time 2019-07-08 13:08:16 
scp /usr/lib/ambari-server/lib/ambari_server/os_check_type.py host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:16 
========================== Running create-python-wrap script... ========================== 
Command start time 2019-07-08 13:08:16 
Connection to hadoop_test1 closed. SSH command execution finished host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:16 
========================== Running OS type check... ========================== 
Command start time 2019-07-08 13:08:16 Cluster primary/cluster OS family is redhat7 and local/current OS family is redhat7 
Connection to hadoop_test1 closed. SSH command execution finished host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:17 
========================== Checking 'sudo' package on remote host... ========================== 
Command start time 2019-07-08 13:08:17 
Connection to hadoop_test1 closed. SSH command execution finished host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:17 
========================== Copying repo file to 'tmp' folder... ========================== 
Command start time 2019-07-08 13:08:17 
scp /etc/yum.repos.d/ambari.repo host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:17 
========================== Moving file to repo dir... ========================== 
Command start time 2019-07-08 13:08:17 
Connection to hadoop_test1 closed. SSH command execution finished host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:17 
========================== Changing permissions for ambari.repo... ========================== 
Command start time 2019-07-08 13:08:17 
Connection to hadoop_test1 closed. SSH command execution finished host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:17 
========================== Copying setup script file... ========================== 
Command start time 2019-07-08 13:08:17 
scp /usr/lib/ambari-server/lib/ambari_server/setupAgent.py host=hadoop_test1, exitcode=0 Command end time 2019-07-08 13:08:17 
========================== Running setup agent script... ========================== 
Command start time 2019-07-08 13:08:17


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++ log for other two server +++++++++++++++++++++++++++

========================== Creating target directory... ========================== 
Command start time 2019-07-08 13:08:16 
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). SSH command execution finished host=hadoop_test2, exitcode=255 Command end time 2019-07-08 13:08:16 
ERROR: Bootstrap of host hadoop_test2 fails because previous action finished with non-zero exit code (255) ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). 
STDOUT: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

OK