The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

Ambari installation failed at the ssh setting.

  • #53639
    Guhnguk Ahn
    Participant

    Hello There.

    Today, I am installing for hdp 2.1 using ambari-server and then I got the error message as following. I dont’t know exactly this problem. I have tried to install that. :< Please help me!!

    INFO:root:BootStrapping hosts [‘yarn1.vm.centos’] using /usr/lib/python2.6/site-packages/ambari_server cluster primary OS: redhat6 with user ‘root’ sshKey File /var/run/ambari-server/bootstrap/5/sshKey password File null using tmp dir /var/run/ambari-server/bootstrap/5 ambari: yarn1.vm.centos; server_port: 8080; ambari version: 1.5.1.110
    INFO:root:Executing parallel bootstrap
    ERROR:root:ERROR: Bootstrap of host yarn1.vm.centos fails because previous action finished with non-zero exit code (1)
    ERROR MESSAGE: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
    lost connection

    STDOUT:
    Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
    lost connection

    INFO:root:Finished parallel bootstrap

  • Author
    Replies
  • #53644
    Jeff Sposetti
    Moderator

    Can you confirm you can SSH from the ambari server machine to the target host?

    http://docs.hortonworks.com/HDPDocuments/Ambari-1.5.1.0/bk_using_Ambari_book/content/ambari-chap1-5-2.html

    #53668
    Guhnguk Ahn
    Participant

    yes

    #53738
    Dave
    Moderator

    Hi,

    The permissions of your keys look incorrect.
    Can you provide the ls -al output of them, or ensure they are 700 for the folder (root) ~/.ssh and 600 ~/.ssh/authorized_keys

    Regards

    Dave

The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.