Home Forums HDP Installation Centos 6.3 6 node physical install fail

This topic contains 19 replies, has 4 voices, and was last updated by  Robert 3 months ago.

  • Creator
    Topic
  • #17886

    Jason Morse
    Member

    Hi I am trying to install a 6 node physical cluster using Ambari. We are getting the below error message in the log. We have a working 10 node cluster on VM’s and followed the ambari install guide. The install fails right at the registering hosts phase. This is on centos6.3.

    STDOUT
    Error in PREIN scriptlet in rpm package ambari-agent-1.2.1.2-1.x86_64
    sed: can’t read /etc/ambari-agent/conf/ambari-agent.ini: No such file or directory
    /bin/sh: /usr/sbin/ambari-agent: No such file or directory
    python: can’t open file ‘/usr/lib/python2.6/site-packages/ambari_agent/machine.py’: [Errno 2] No such file or directory

Viewing 4 replies - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #17957

    tedr
    Member

    Hi Jason,

    Is passwordless ssh for root set up from the machine your running ambari on to all other nodes in the cluster?

    Thanks,
    Ted.

    Collapse
    #17898

    Jason Morse
    Member

    i removed the hostnames from the log.

    Collapse
    #17897

    Jason Morse
    Member

    Below is from the logs. It almost looks like a problem with the ambari-agent rpm. I have tried installing the ambari-agent manually as well and it fails. The hosts file for all hosts has the fqdn of all hosts. We have also disabled selinux & iptables. Thanks for your help!

    This is out of the yum.log

    Mar 18 13:52:42 ambari-agent-1.2.1.2-1.x86_64: 100

    This is out of the ambari-server.log

    INFO:root:Copying files finished
    INFO:root:Running setup agent…
    INFO:root:Running ssh command ssh -o ConnectTimeOut=60 -o StrictHostKeyChecking=no -o BatchMode=yes -tt -i /var/run/ambari-server/bootstrap/1/sshKey root@ python /tmp/setupAgent.py DEV
    INFO:root:Running ssh command ssh -o ConnectTimeOut=60 -o StrictHostKeyChecking=no -o BatchMode=yes -tt -i /var/run/ambari-server/bootstrap/1/sshKey root@ python /tmp/setupAgent.py DEV
    INFO:root:Running ssh command ssh -o ConnectTimeOut=60 -o StrictHostKeyChecking=no -o BatchMode=yes -tt -i /var/run/ambari-server/bootstrap/1/sshKey root@ python /tmp/setupAgent.py DEV
    INFO:root:Running ssh command ssh -o ConnectTimeOut=60 -o StrictHostKeyChecking=no -o BatchMode=yes -tt -i /var/run/ambari-server/bootstrap/1/sshKey root@ python /tmp/setupAgent.py DEV
    INFO:root:Running ssh command ssh -o ConnectTimeOut=60 -o StrictHostKeyChecking=no -o BatchMode=yes -tt -i /var/run/ambari-server/bootstrap/1/sshKey root@ python /tmp/setupAgent.py DEV
    INFO:root:Running ssh command ssh -o ConnectTimeOut=60 -o StrictHostKeyChecking=no -o BatchMode=yes -tt -i /var/run/ambari-server/bootstrap/1/sshKey root@ python /tmp/setupAgent.py DEV
    INFO:root:Setup agent done for host , exitcode=2
    INFO:root:Setup agent done for host , exitcode=2
    INFO:root:Setup agent done for host , exitcode=2
    INFO:root:Setup agent done for host , exitcode=2
    INFO:root:Setup agent done for host , exitcode=2
    INFO:root:Setup agent done for host , exitcode=2
    INFO:root:Parallel ssh returns for setup agent. All failed hosts are: ['', '', '', '', '', '']. Failed on last step: ['', '', '', '', '', '']
    INFO:root:Running ssh command finished

    Collapse
    #17890

    Sef
    Member

    Hi Jason,

    Looks like Ambari agent did not install properly. Can you please check yum log and server log to see if you can get more information on what went wrong?

    Thanks,
    Seth

    Collapse
Viewing 4 replies - 16 through 19 (of 19 total)