HDP on Linux – Installation Forum

Registration with the Ambari server failed.

  • #26419

    hey i am having some problems with the Ambari server, it fails at the registering phase…
    I didn’t find any similar log results

    STDOUT

    STDERR
    STDOUT
    Cluster primary OS type is centos6 and local OS type is centos6

    STDERR
    Connection to bigdata1 closed.
    STDOUT
    sudo-1.8.6p3-7.el6.x86_64

    STDERR
    Connection to bigdata1 closed.
    STDOUT

    STDERR
    STDOUT

    STDERR
    Registering with the server…

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #26421
    tedr
    Member

    Hi Parfeni,

    Do you have passwordless ssh set up on the cluster you are installing on?

    Thanks,
    Ted.

    #26426

    Yes I do …the id_rsa

    #26427

    Should I generate another one ?

    #26428
    tedr
    Member

    Hi Parfeni,

    What is the output when you ssh from the master node (the computer on which you are running Ambari) to any of the nodes in the cluster?

    Thanks,
    Ted.

    #26591

    Hello,
    when I ssh root@my_node_name i get the last login date

    #26592

    When the registration fails i get this :
    STDOUT

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

    #26607
    tedr
    Member

    Hi Parfeni,

    Try the following steps:
    On the master node
      ambari-server stop
      ambari-agent stop
      yum erase ambari-server
      rm -rf /var/lib/ambari-server
      yum install ambari-server
      yum erase ambari-agent
      rm -rf /var/lib/ambari-agent
    yum install ambari-agent
      ambari-server start
      ambari-agent start
    On each slave node
      ambari-agent stop
      yum erase ambari-agent
      rm -rf /var/lib/ambari-agent
      yum install ambari-agent
      ambari-agent start

    Then try re-running the instal.

    Thanks,
    Ted.

    #26699

    Hi Ted,
    I tried that, and the bigdata2,3,4 nodes are successful but the main host which is bigdata1 is having some problems with the SSL (probably it’s connecting with itself)
    In the /var/log/ambari-agent/ambari-agent.log I have this error at the end of the file :
    SSLError: [Errno 336445442] _ssl.c:353: error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib

    Do you know what it means?
    Thanks

    #26704
    tedr
    Moderator

    Hi Parfeni,

    Are you able to ssh from bigdata1 to itself without a password? This, as strange as it may seem, is a requirement.

    Thanks,
    Ted.

    #26715

    I’ve done a ssh to itself, it requested a confirmation and now I can ssh without any problems to bigdata1.
    It still fails while the other 3 are sucessful.
    Does that mean that I have to re-generate the id_rsa file?

    #26774

    Hi HDP team,

    I am also getting the same error. I am trying to install HDP on a single node using ambari.

    Please let me know how can I resolve this issue.

    Thanks,
    Shyamala

    STDOUT

    STDERR
    STDOUT
    Cluster primary OS type is redhat6 and local OS type is centos6

    STDERR
    Connection to hdp1.3-9364.phx-os1.stratus.dev.ebay.com closed.
    STDOUT
    sudo-1.7.4p5-13.el6_3.x86_64

    STDERR
    Connection to hdp1.3-9364.phx-os1.stratus.dev.ebay.com closed.
    STDOUT

    STDERR
    STDOUT

    STDERR
    Connection to hdp1.3-9364.phx-os1.stratus.dev.ebay.com closed.
    STDOUT

    STDERR
    Registering with the server…
    Registration with the server failed.

    #26793
    tedr
    Moderator

    Hi Parfeni,

    I’m sorry I didn’t catch this earlier, but it looks like your problem may be that you are using the short hostname for the hosts in your cluster, is ‘bigdata1′ what you get when you run the ‘hostname -f’ command on that host? If not then what you need to do is change to using the fully qualified name in the list of hosts while installing.

    Hi Shyamala,

    Have you made sure that iptables is turned off on all hosts in your cluster?

    Thanks,
    Ted.

    #26794

    Hi Ted,
    No the FQDN isnot the problen , i just didn’t want to make it public

    #26796
    tedr
    Moderator

    Hi Parfeni,

    Then, to answer your question about id_rsa, no you should not need to regenerate it. To help us track down what is possibly going on could you send the complete Ambari-server and Ambari-agent logs to the site in the following post:

    http://hortonworks.com/community/forums/topic/hmc-installation-support-help-us-help-you/

    Thanks,
    Ted.

    #29564
    NotAgain
    Member

    @Parfeni
    This is late but
    chmod 644 .ssh/authorized_keys
    chmod 755 .ssh

    will solve your error:
    STDERR
    Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
    lost connection

    #29607
    tedr
    Moderator

    Hi Parfeni,

    Let us know if NotAgain’s suggestions helps.

    Thanks,
    Ted.

    #76633
    Dedipya Bolisetty
    Participant

    Hi,

    I am getting the same issue when registering

    STDOUT error.

    Can someone please help soon?

    Thanks
    Dedipya

You must be to reply to this topic. | Create Account

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.