Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Ambari-Agent install (v 2.2.2.0), connection on port 8440 refused

avatar

I am really puzzled by the following problem:

INFO 2016-07-07 15:35:05,001 NetUtil.py:60 - Connecting to https://master2.localhost:8440/ca
WARNING 2016-07-07 15:35:05,839 NetUtil.py:89 - Failed to connect to https://master2.localhost:8440/ca due to [Errno 113] No route to host  
WARNING 2016-07-07 15:35:05,840 NetUtil.py:112 - Server at https://master2.localhost:8440 is not reachable, sleeping for 10 seconds...
', None)

Connection to master1.localhost closed.
SSH command execution finished
host=master1.localhost, exitcode=0

Command end time 2016-07-07 15:35:07

Registering with the server...
Registration with the server failed.

Does anybody know what is happening? I cannot see any issue with the Java version I am using...

1 ACCEPTED SOLUTION

avatar

Ok, I think I found the answer 🙂 I already installed the agents before I did the installation. This gave the error, as the agents where obviously using the ports that were required...

View solution in original post

2 REPLIES 2

avatar

Ok, I think I found the answer 🙂 I already installed the agents before I did the installation. This gave the error, as the agents where obviously using the ports that were required...

avatar
Not applicable

Log says : "https://master2.localhost:8440 is not reachable"

Is this host name "master2.localhost" resolvable from both the nodes ?

Is the entry "master2.localhost" available in the agent /etc/hosts file and also in the master2 has the "hostname -f" command out put as "master2.localhost" ?