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.

Getting error while setting up Ambari for Confirm Hosts. The error is as below, please suggest....

Getting error while setting up Ambari for Confirm Hosts. The error is as below, please suggest....

New Contributor

Registration log for localhost

========================== Creating target directory... ==========================

Command start time 2018-05-10 08:26:34

Connection to localhost closed.

SSH command execution finished

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:34

========================== Copying ambari sudo script... ==========================

Command start time 2018-05-10 08:26:34

scp /var/lib/ambari-server/ambari-sudo.sh

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:35

========================== Copying common functions script... ==========================

Command start time 2018-05-10 08:26:35

scp /usr/lib/python2.6/site-packages/ambari_commons

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:35

========================== Copying create-python-wrap script... ==========================

Command start time 2018-05-10 08:26:35

scp /var/lib/ambari-server/create-python-wrap.sh

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:35

========================== Copying OS type check script... ==========================

Command start time 2018-05-10 08:26:35

scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:36

========================== Running create-python-wrap script... ==========================

Command start time 2018-05-10 08:26:36

Connection to localhost closed.

SSH command execution finished

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:36

========================== Running OS type check... ==========================

Command start time 2018-05-10 08:26:36

Cluster primary/cluster OS family is redhat7 and local/current OS family is redhat7

Connection to localhost closed.

SSH command execution finished

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:37

========================== Checking 'sudo' package on remote host... ==========================

Command start time 2018-05-10 08:26:37

Connection to localhost closed.

SSH command execution finished

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:37

========================== Copying repo file to 'tmp' folder... ==========================

Command start time 2018-05-10 08:26:37

scp /etc/yum.repos.d/ambari.repo

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:37

========================== Moving file to repo dir... ==========================

Command start time 2018-05-10 08:26:37

Connection to localhost closed.

SSH command execution finished

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:38

========================== Changing permissions for ambari.repo... ==========================

Command start time 2018-05-10 08:26:38

Connection to localhost closed.

SSH command execution finished

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:38

========================== Copying setup script file... ==========================

Command start time 2018-05-10 08:26:38

scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py

host=localhost, exitcode=0

Command end time 2018-05-10 08:26:39

========================== Running setup agent script... ==========================

Command start time 2018-05-10 08:26:39

Connection to localhost closed.

SSH command execution finished

host=localhost, exitcode=255

Command end time 2018-05-10 08:26:41

ERROR: Bootstrap of host localhost fails because previous action finished with non-zero exit code (255)

ERROR MESSAGE: Connection to localhost closed.

STDOUT: tput: No value for $TERM and no -T specified

Connection to localhost closed.

2 REPLIES 2
Highlighted

Re: Getting error while setting up Ambari for Confirm Hosts. The error is as below, please suggest....

Contributor
@Vivek Verma

please make sure there is no typo in /etc/hosts file ( hostname -f) . And also check the network connectivity between ambari-server and ambari-agent

Re: Getting error while setting up Ambari for Confirm Hosts. The error is as below, please suggest....

Rising Star