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.

Ambari install failed

Solved Go to solution
Highlighted

Ambari install failed

Explorer

Hi ALL,

I installed Ambari on Amazon EC2 with three virtual machines.

ubuntu16.4

I followed the guide from:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-installation/content/download_the...

But, I got the following error:

16691-169232020.jpg

16692-1356421982.jpg

I cam confirm that:

Ambari-agents are running on all hosts.

/etc/ambari-agent/conf/ambari-agent.ini are correct.

ssh working fine.

I don't know I missed?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Ambari install failed

Contributor

1. make sure your ntpd, it need runing on all hosts. ntpd status and ntpd start

2. check your selinux file if SELINUX=disabled

3. your /etc/hosts file include all host privte ip and public ip. i.e. ip-..... ec2... 10.23.24.234

4. disable the iptables, service iptables stop. or systemctl stop firewall

5. reboot machine and make sure ntpd status is active.

this worked for me all the time. you need to clikc on the 'check here for warnings' to see exact info.

View solution in original post

8 REPLIES 8
Highlighted

Re: Ambari install failed

Is the one that succeeded, running on the same host as the ambari-server? Perhaps there is no route to the server from the agents.

Highlighted

Re: Ambari install failed

Explorer

Yes, the succeeded one is the one run as the server. Could you tell me how to route to the server?

Many thanks,

Highlighted

Re: Ambari install failed

Super Guru
@Bin Ye

Can you please check if there is any firewall which is blocking connections on port 22? You can also try to register agents manually by installing ambari-agent on each machine --> editing /etc/ambari-agent/conf/agent.ini --> point it to correct ambari-server hostname --> select manual registration at the time of agent registration in Ambari.

Hope this helps.

Highlighted

Re: Ambari install failed

Explorer

Hi,

i can ssh to all hosts passwordless.

i checked all hosts, ambari-agents are runing fine.

/etc/ambari-agent/conf/agent.ini are pointting to the correct server.

but still not working

Re: Ambari install failed

Contributor

1. make sure your ntpd, it need runing on all hosts. ntpd status and ntpd start

2. check your selinux file if SELINUX=disabled

3. your /etc/hosts file include all host privte ip and public ip. i.e. ip-..... ec2... 10.23.24.234

4. disable the iptables, service iptables stop. or systemctl stop firewall

5. reboot machine and make sure ntpd status is active.

this worked for me all the time. you need to clikc on the 'check here for warnings' to see exact info.

View solution in original post

Highlighted

Re: Ambari install failed

Explorer

Hi Robin Dong,

Many thanks for this,

I missed the hosts file

Highlighted

Re: Ambari install failed

Contributor

1. make sure your ntpd, it need runing on all hosts. ntpd status and ntpd start

2. check your selinux file if SELINUX=disabled

3. your /etc/hosts file include all host privte ip and public ip. i.e. ip-..... ec2... 10.23.24.234

4. disable the iptables, service iptables stop. or systemctl stop firewall

5. reboot machine and make sure ntpd status is active.

this worked for me all the time. you need to clikc on the 'check here for warnings' to see exact info.

Highlighted

Re: Ambari install failed

Hi,

Can u reset the ambari-agent in all servers and try to register.

amabri-agent reset <Ambari_host_name>

Don't have an account?
Coming from Hortonworks? Activate your account here