Home Forums HDP on Linux – Installation Ambari agent host cannot reach Ambari Server

This topic contains 1 reply, has 2 voices, and was last updated by  Sanjeev 4 months ago.

  • Creator
    Topic
  • #58289

    saraha
    Participant

    I am having issues with the connection between ambari Server and host. I am completely new to Linux and any help would be greatly appreciated. I’m using CentOS and a 2 node cluster. Please let me know if I need to provide anymore information.
    Thanks!

    ==Copying common functions script…
    scp /usr/lib/python2.6/site-packages/ambari_commons
    host=donkeykong.xxxx.com, exitcode=0
    Command end time ##
    ==Copying OS type check script…
    Command start time 2014-08-04 14:48:37

    scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
    host=donkeykong.xxx.com, exitcode=0
    Command end time 2014-08-04 14:48:37

    ==========================
    Running OS type check…
    ==========================

    Command start time 2014-08-04 14:48:37
    Cluster primary/cluster OS type is redhat6 and local/current OS type is redhat6

    Connection to donkeykong.xxx.com closed.
    SSH command execution finished
    host=donkeykong.xxx.com, exitcode=0
    Command end time 2014-08-04 14:48:38

    ==========================
    Checking ‘sudo’ package on remote host…
    ==========================

    Command start time 2014-08-04 14:48:38
    sudo-1.8.6p3-12.el6.x86_64

    Connection to donkeykong.xxx.com closed.
    SSH command execution finished
    host=donkeykong.xxx.com, exitcode=0
    Command end time 2014-08-04 14:48:39

    ==========================
    Copying repo file to ‘tmp’ folder…
    ==========================

    Command start time 2014-08-04 14:48:39

    scp /etc/yum.repos.d/ambari.repo
    host=donkeykong.xxx.com, exitcode=0
    Command end time 2014-08-04 14:48:39

    ========Moving file to repo dir…
    Command start time 2014-08-04 14:48:39

    Connection to donkeykong.xxx.com closed.
    SSH command execution finished
    host=donkeykong.xxx.com, exitcode=0
    Command end time 2014-08-04 14:48:39

    ==Copying setup script file…

    Command start time 2014-08-04 14:48:39

    scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
    host=donkeykong.xxx.com, exitcode=0
    Command end time 2014-08-04 14:48:40

    ========Running setup agent script…

    Command start time 2014-08-04 14:48:40
    {‘exitstatus': 1, ‘log': “Host registration aborted. Ambari Agent host cannot reach Ambari Server ‘kingjoffrey.xxx.com:8080′. Please check the network connectivity between the Ambari Agent host and the Ambari Server”}

    Connection to donkeykong.xxx.com closed.
    SSH command execution finished
    host=donkeykong.xxx.com, exitcode=1
    Command end time 2014-08-04 14:48:40

    ERROR: Bootstrap of host donkeykong.xxx.com fails because previous action finished with non-zero exit code (1)
    ERROR MESSAGE: tcgetattr: Invalid argument
    Connection to donkeykong.xxxx.com closed.

    STDOUT: {‘exitstatus': 1, ‘log': “Host registration aborted. Ambari Agent host cannot reach Ambari Server ‘kingjoffrey.xxx.com:8080′. Please check the network connectivity between the Ambari Agent host and the Ambari Server”}

    Connection to donkeykong.xxx.com closed

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #58814

    Sanjeev
    Participant

    Hi Saraha,

    Are you able to resolve both the hosts using the hostnames?

    Thanks
    Sanjeev

    Collapse
Viewing 1 replies (of 1 total)