Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Confirm Hosts Failed for a local Linux PC

New Contributor


I would like to make a very simple installation on a local Linux PC.

So at the Install Options Target Hosts I choosed : localhost.local

I read that it should be a Fully Qualified Domain Name (FQDN) and that it should be localhost.local and not simply localhost

And then I choosed :

Perform manual registration on hosts and do not use SSH

I did perform the manual registration according to

where I put int the ambari-agent.ini file :


then at the next install step the Confirming Hosts step is failing.

I had a look at the /var/log/ambari-agent.log file which says :

INFO 2018-07-02 14:54:15,196 - Ping port listener started on port: 8670
WARNING 2018-07-02 14:54:20,199 - Unable to determine the IP address of the Ambari server 'localhost.local'
INFO 2018-07-02 14:54:20,200 - Connecting to https://localhost.local:8440/ca
WARNING 2018-07-02 14:54:25,205 - Failed to connect to https://localhost.local:8440/ca due to [Errno -2] Nom ou service inconnu  
WARNING 2018-07-02 14:54:25,205 - Server at https://localhost.local:8440 is not reachable, sleeping for 10 seconds...

Please what do you suggest to make it work ??? I only need a very simple installation (no need for ssh and other servers for the moment)

Thanks in advance !




@Philippe Kevorkian

Can you share your hosts file?

New Contributor

Sure here it is :    localhost    philippe-All-Series-Invalid-entry-length-16-Fixed-up-to-11

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

@Philippe Kevorkian

You can simply use "localhost" in config files.

However, Do update the first line with below to resolve "localhost.local"    localhost localhost.local


@Philippe Kevorkian

Please leave all the line linked ti IPv6 and update the line as stated by Sandeep, but I am wondering what is the output of the below commands

$ hostname 


vi /etc/hostname

Run the below command to get your ip, please append sudo where needed

$ ifconfig

The above steops should give you the output to add in your /etc/hosts the format is IP/hostname/Alias eg    myhdp

With the above entry you can the Alias during the registration of the hosts in Ambari


Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.