register wrong

to create new topics or reply. | New User Registration

This topic contains 3 replies, has 2 voices, and was last updated by  Sasha J 1 year, 12 months ago.

  • Creator
  • #30979

    zhiqi zhang

    I set up ambari server successfully. (ambari-server
    then I open the to create a cluster
    but there is wrong when i register the hosts.

    the content in ambari-agent.log:
    INFO 2013-08-07 15:09:26,142 – Unable to connect to:
    Traceback (most recent call last):
    File “/usr/lib/python2.6/site-packages/ambari_agent/”, line 77, in registerWithServer
    response = self.sendRequest(self.registerUrl, data)
    File “/usr/lib/python2.6/site-packages/ambari_agent/”, line 231, in sendRequest
    self.cachedconnect = security.CachedHTTPSConnection(self.config)
    File “/usr/lib/python2.6/site-packages/ambari_agent/”, line 74, in __init__
    File “/usr/lib/python2.6/site-packages/ambari_agent/”, line 79, in connect
    File “/usr/lib/python2.6/site-packages/ambari_agent/”, line 63, in connect
    File “/usr/lib64/python2.6/”, line 350, in wrap_socket
    File “/usr/lib64/python2.6/”, line 118, in __init__
    File “/usr/lib64/python2.6/”, line 293, in do_handshake
    SSLError: [Errno 1] _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

    i noticed that there are several guys have the same problem, but the solution were almost reinstall the ambari server. who knows how many time i have reinstall my ambari server, it does not work….
    futhermore, I synchrnised the time with ntpdate in every hosts.

    looking forward to a answer, thanks a lot.

Viewing 3 replies - 1 through 3 (of 3 total)

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

  • Author
  • #31258

    Sasha J

    Good to know.
    6.4 should also work.

    Thank you!


    zhiqi zhang

    i have solve my problem.

    i reinstall the operating system. the previous one is centos6.4. then i install a contos6.2. it work…..


    Sasha J

    There is something wrong with agent’s certificate…
    Steps to fix:

    1. “ambari-agent stop” on ALL nodes
    2. “ambari-server” stop
    3. “yum erase ambari*” on all nodes
    4. “yum erase postgres*” on ambari node
    5. “rm -rf /var/lib/pgsql” on ambari node
    6. “yum install ambari-server”
    7. “ambari-server setup”
    8. ambari-server start
    9. http://:8080

    AT this point all nodes should be clear from the all incorrect certificates.

    Hope this help

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
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.