<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Error to setup ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231353#M70000</link>
    <description>&lt;P&gt;  &lt;A rel="user" href="https://community.cloudera.com/users/26219/florinmironmd.html" nodeid="26219"&gt;@Florin Miron&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Run the below command on all the ambari agent nodes. Quick and easy&lt;/P&gt;&lt;PRE&gt;sed -i 's/verify=platform_default/verify=disable/'/etc/python/cert-verification.cfg&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2017 19:13:55 GMT</pubDate>
    <dc:creator>asirna</dc:creator>
    <dc:date>2017-10-20T19:13:55Z</dc:date>
    <item>
      <title>Error to setup ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231351#M69998</link>
      <description>&lt;P&gt;I'm trying to register hostnames in Ambari but getting the error below. Any ideas?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florin&lt;/P&gt;&lt;P&gt;==========================&lt;BR /&gt;Creating target directory...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:48&lt;BR /&gt;&lt;BR /&gt;Connection to node.bigdata.com closed.&lt;BR /&gt;SSH command execution finished&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:48&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Copying common functions script...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:48&lt;BR /&gt;&lt;BR /&gt;scp /usr/lib/python2.6/site-packages/ambari_commons&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:49&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Copying OS type check script...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:49&lt;BR /&gt;&lt;BR /&gt;scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:49&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Running OS type check...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:49&lt;BR /&gt;Cluster primary/cluster OS family is redhat7 and local/current OS family is redhat7&lt;BR /&gt;&lt;BR /&gt;Connection to node.bigdata.com closed.&lt;BR /&gt;SSH command execution finished&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:49&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Checking 'sudo' package on remote host...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:49&lt;BR /&gt;sudo-1.8.19p2-10.el7.x86_64&lt;BR /&gt;&lt;BR /&gt;Connection to node.bigdata.com closed.&lt;BR /&gt;SSH command execution finished&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:50&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Copying repo file to 'tmp' folder...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:50&lt;BR /&gt;&lt;BR /&gt;scp /etc/yum.repos.d/ambari.repo&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:51&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Moving file to repo dir...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:51&lt;BR /&gt;&lt;BR /&gt;Connection to node.bigdata.com closed.&lt;BR /&gt;SSH command execution finished&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:51&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Changing permissions for ambari.repo...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:51&lt;BR /&gt;&lt;BR /&gt;Connection to node.bigdata.com closed.&lt;BR /&gt;SSH command execution finished&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:51&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Copying setup script file...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:51&lt;BR /&gt;&lt;BR /&gt;scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:14:52&lt;BR /&gt;&lt;BR /&gt;==========================&lt;BR /&gt;Running setup agent script...&lt;BR /&gt;==========================&lt;BR /&gt;&lt;BR /&gt;Command start time 2017-10-20 11:14:52&lt;BR /&gt;('Traceback (most recent call last):&lt;BR /&gt;  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 312, in &amp;lt;module&amp;gt;&lt;BR /&gt;    main(heartbeat_stop_callback)&lt;BR /&gt;  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 248, in main&lt;BR /&gt;    stop_agent()&lt;BR /&gt;  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 198, in stop_agent&lt;BR /&gt;    sys.exit(1)&lt;BR /&gt;SystemExit: 1&lt;BR /&gt;INFO 2017-10-20 11:14:59,442 ExitHelper.py:53 - Performing cleanup before exiting...&lt;BR /&gt;INFO 2017-10-20 11:14:59,832 main.py:74 - loglevel=logging.INFO&lt;BR /&gt;INFO 2017-10-20 11:14:59,833 DataCleaner.py:39 - Data cleanup thread started&lt;BR /&gt;INFO 2017-10-20 11:14:59,835 DataCleaner.py:120 - Data cleanup started&lt;BR /&gt;INFO 2017-10-20 11:14:59,836 DataCleaner.py:122 - Data cleanup finished&lt;BR /&gt;INFO 2017-10-20 11:15:00,015 PingPortListener.py:50 - Ping port listener started on port: 8670&lt;BR /&gt;INFO 2017-10-20 11:15:00,017 main.py:289 - Connecting to Ambari server at &lt;A href="https://node.bigdata.com:8440" target="_blank"&gt;https://node.bigdata.com:8440&lt;/A&gt; (192.168.0.101)&lt;BR /&gt;INFO 2017-10-20 11:15:00,017 NetUtil.py:59 - Connecting to &lt;A href="https://node.bigdata.com:8440/ca" target="_blank"&gt;https://node.bigdata.com:8440/ca&lt;/A&gt;&lt;BR /&gt;ERROR 2017-10-20 11:15:00,094 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)&lt;BR /&gt;ERROR 2017-10-20 11:15:00,094 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions. &lt;BR /&gt;Refer to: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1022468" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1022468&lt;/A&gt; for more details.&lt;BR /&gt;WARNING 2017-10-20 11:15:00,095 NetUtil.py:105 - Server at &lt;A href="https://node.bigdata.com:8440" target="_blank"&gt;https://node.bigdata.com:8440&lt;/A&gt; is not reachable, sleeping for 10 seconds...&lt;BR /&gt;', None)&lt;BR /&gt;('Traceback (most recent call last):&lt;BR /&gt;  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 312, in &amp;lt;module&amp;gt;&lt;BR /&gt;    main(heartbeat_stop_callback)&lt;BR /&gt;  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 248, in main&lt;BR /&gt;    stop_agent()&lt;BR /&gt;  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 198, in stop_agent&lt;BR /&gt;    sys.exit(1)&lt;BR /&gt;SystemExit: 1&lt;BR /&gt;INFO 2017-10-20 11:14:59,442 ExitHelper.py:53 - Performing cleanup before exiting...&lt;BR /&gt;INFO 2017-10-20 11:14:59,832 main.py:74 - loglevel=logging.INFO&lt;BR /&gt;INFO 2017-10-20 11:14:59,833 DataCleaner.py:39 - Data cleanup thread started&lt;BR /&gt;INFO 2017-10-20 11:14:59,835 DataCleaner.py:120 - Data cleanup started&lt;BR /&gt;INFO 2017-10-20 11:14:59,836 DataCleaner.py:122 - Data cleanup finished&lt;BR /&gt;INFO 2017-10-20 11:15:00,015 PingPortListener.py:50 - Ping port listener started on port: 8670&lt;BR /&gt;INFO 2017-10-20 11:15:00,017 main.py:289 - Connecting to Ambari server at &lt;A href="https://node.bigdata.com:8440" target="_blank"&gt;https://node.bigdata.com:8440&lt;/A&gt; (192.168.0.101)&lt;BR /&gt;INFO 2017-10-20 11:15:00,017 NetUtil.py:59 - Connecting to &lt;A href="https://node.bigdata.com:8440/ca" target="_blank"&gt;https://node.bigdata.com:8440/ca&lt;/A&gt;&lt;BR /&gt;ERROR 2017-10-20 11:15:00,094 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)&lt;BR /&gt;ERROR 2017-10-20 11:15:00,094 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions. &lt;BR /&gt;Refer to: &lt;A href="https://bugzilla.redhat.com/show_bug.cgi?id=1022468" target="_blank"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=1022468&lt;/A&gt; for more details.&lt;BR /&gt;WARNING 2017-10-20 11:15:00,095 NetUtil.py:105 - Server at &lt;A href="https://node.bigdata.com:8440" target="_blank"&gt;https://node.bigdata.com:8440&lt;/A&gt; is not reachable, sleeping for 10 seconds...&lt;BR /&gt;', None)&lt;BR /&gt;&lt;BR /&gt;Connection to node.bigdata.com closed.&lt;BR /&gt;SSH command execution finished&lt;BR /&gt;host=node.bigdata.com, exitcode=0&lt;BR /&gt;Command end time 2017-10-20 11:15:02&lt;BR /&gt;&lt;BR /&gt;Registering with the server...&lt;BR /&gt;Registration with the server failed.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 15:37:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231351#M69998</guid>
      <dc:creator>florinmironmd</dc:creator>
      <dc:date>2017-10-20T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error to setup ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231352#M69999</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/26219/florinmironmd.html"&gt;@Florin Miron&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I think your problem is exactly what Jay SenSharma  addressed&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;As you using Python version&lt;STRONG&gt; "python-2.7.5"&lt;/STRONG&gt; or higher, hence you should try to either downgrade the python version to lower than python-2.7.5 as it causes this issue.&lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;(OR)&lt;/STRONG&gt;&lt;BR /&gt;Else you will need to following the steps mentioned in the following doc to fix the "certificate verify failed (_ssl.c" issue while using RHEL7: Controlling and troubleshooting certificate verification&lt;BR /&gt;&lt;A href="https://access.redhat.com/articles/2039753#controlling-certificate-verification-7"&gt;https://access.redhat.com/articles/2039753#controlling-certificate-verification-7&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Also we will suggest you to remove the Ambari Server certificates as mentioned in the following doc so that new certificates can be generated by ambari.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Handling+Expired+HTTPS+Certificates"&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/A&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Handling+Expired+HTTPS+Certificates" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Handling+Expired+HTTPS+Certificates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/68799/steps-to-fix-ambari-server-agent-expired-certs.html"&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/A&gt;&lt;A href="https://community.hortonworks.com/articles/68799/steps-to-fix-ambari-server-agent-expired-certs.html" target="_blank"&gt;https://community.hortonworks.com/articles/68799/steps-to-fix-ambari-server-agent-expired-certs.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 16:01:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231352#M69999</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-20T16:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error to setup ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231353#M70000</link>
      <description>&lt;P&gt;  &lt;A rel="user" href="https://community.cloudera.com/users/26219/florinmironmd.html" nodeid="26219"&gt;@Florin Miron&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Run the below command on all the ambari agent nodes. Quick and easy&lt;/P&gt;&lt;PRE&gt;sed -i 's/verify=platform_default/verify=disable/'/etc/python/cert-verification.cfg&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 19:13:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231353#M70000</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-10-20T19:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error to setup ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231354#M70001</link>
      <description>&lt;P&gt;It works.Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 00:20:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231354#M70001</guid>
      <dc:creator>florinmironmd</dc:creator>
      <dc:date>2017-10-25T00:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error to setup ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231355#M70002</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26219/florinmironmd.html" nodeid="26219"&gt;@Florin Miron&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you kindly accept the answer. This will be very useful for the community users.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 00:23:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-to-setup-ambari/m-p/231355#M70002</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-10-25T00:23:22Z</dc:date>
    </item>
  </channel>
</rss>

