<?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: Ambari Registration  with the server failed. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269552#M206923</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69085"&gt;@CoPen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are getting exactly the same error then you might be doing the same mistake again. Can you please share the complete log again with the new error.&lt;/P&gt;&lt;P&gt;Please see this which we noticed earlier:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;OError: Request to &amp;lt;a href="&amp;lt;a href="https://192.168.56.101" target="_blank"&amp;gt;https://192.168.56.101&amp;lt;/a&amp;gt;" target="_blank"&amp;gt;&amp;lt;a href="https://192.168.56.101&amp;lt;/a" target="_blank"&amp;gt;https://192.168.56.101&amp;lt;/a&amp;lt;/a&amp;gt;&amp;gt; master master.hadoop.com:8441/agent/v1/register/master failed due to &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)&amp;gt;

ERROR 2019-09-02 17:01:47,471 Controller.py:213 - Error:Request to &amp;lt;a href="&amp;lt;a href="https://192.168.56.101" target="_blank"&amp;gt;https://192.168.56.101&amp;lt;/a&amp;gt;" target="_blank"&amp;gt;&amp;lt;a href="https://192.168.56.101&amp;lt;/a" target="_blank"&amp;gt;https://192.168.56.101&amp;lt;/a&amp;lt;/a&amp;gt;&amp;gt; master master.hadoop.com:8441/agent/v1/register/master failed due to &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Notice the URL: &lt;EM&gt;"&lt;STRONG&gt;https&lt;/STRONG&gt;://&lt;STRONG&gt;192.168.56.101&lt;/STRONG&gt; master &lt;STRONG&gt;master.hadoop.com&lt;/STRONG&gt;:8441"&lt;/EM&gt; it contains IP Address (192.168.56.101), ambari server hostname alias (master) and hostname (master.hadoop.com) all thgether.&lt;/P&gt;&lt;P&gt;So definitely the URL is incorrect thats why you see the mentioned error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also as we see &lt;STRONG&gt;"CERTIFICATE_VERIFY_FAILED] certificate verify failed"&lt;/STRONG&gt; error hence you must also see the Article&lt;BR /&gt;&lt;A href="https://community.cloudera.com/t5/Community-Articles/Java-Python-Updates-and-Ambari-Agent-TLS-Settings/ta-p/248328" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Community-Articles/Java-Python-Updates-and-Ambari-Agent-TLS-Settings/ta-p/248328&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, the more serious issue is that you are using 3 generation Old Ambari Server (2.4.2)&lt;BR /&gt;Is there any specific reason that you are using so OLD ambari server version (2.4.2) ? The latest version of ambari is 2.7.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2019 11:58:41 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2019-09-02T11:58:41Z</dc:date>
    <item>
      <title>Ambari Registration  with the server failed.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269526#M206901</link>
      <description>&lt;P&gt;This is my error logs ......&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;==========================Creating target directory...==========================
Command start time 2019-09-02 17:01:05
Connection to master closed.SSH command execution finishedhost=master, exitcode=0Command end time 2019-09-02 17:01:05
==========================Copying ambari sudo script...==========================
Command start time 2019-09-02 17:01:05
scp /var/lib/ambari-server/ambari-sudo.shhost=master, exitcode=0Command end time 2019-09-02 17:01:05
==========================Copying common functions script...==========================
Command start time 2019-09-02 17:01:05
scp /usr/lib/python2.6/site-packages/ambari_commonshost=master, exitcode=0Command end time 2019-09-02 17:01:06
==========================Copying OS type check script...==========================
Command start time 2019-09-02 17:01:06
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.pyhost=master, exitcode=0Command end time 2019-09-02 17:01:06
==========================Running OS type check...==========================
Command start time 2019-09-02 17:01:06Cluster primary/cluster OS family is ubuntu16 and local/current OS family is ubuntu16
Connection to master closed.SSH command execution finishedhost=master, exitcode=0Command end time 2019-09-02 17:01:06
==========================Checking 'sudo' package on remote host...==========================
Command start time 2019-09-02 17:01:06
Connection to master closed.SSH command execution finishedhost=master, exitcode=0Command end time 2019-09-02 17:01:06
==========================Copying repo file to 'tmp' folder...==========================
Command start time 2019-09-02 17:01:06
scp /etc/apt/sources.list.d/ambari.listhost=master, exitcode=0Command end time 2019-09-02 17:01:07
==========================Moving file to repo dir...==========================
Command start time 2019-09-02 17:01:07
Connection to master closed.SSH command execution finishedhost=master, exitcode=0Command end time 2019-09-02 17:01:07
==========================Changing permissions for ambari.repo...==========================
Command start time 2019-09-02 17:01:07
Connection to master closed.SSH command execution finishedhost=master, exitcode=0Command end time 2019-09-02 17:01:07
==========================Update apt cache of repository...==========================
Command start time 2019-09-02 17:01:07
0% [Working]0% [Connecting to public-repo-1.hortonworks.com] [Waiting for headers]Hit:1 &lt;A href="http://ppa.launchpad.net/webupd8team/java/ubuntu" target="_blank" rel="noopener"&gt;http://ppa.launchpad.net/webupd8team/java/ubuntu&lt;/A&gt; xenial InRelease
0% [Connecting to public-repo-1.hortonworks.com]0% [1 InRelease gpgv 17.6 kB] [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]0% [Connecting to public-repo-1.hortonworks.com]Hit:2 &lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.4.2.0" target="_blank" rel="noopener"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.4.2.0&lt;/A&gt; Ambari InRelease
0% [Working]0% [2 InRelease gpgv 3,190 B]20% [Working]
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 5%
Reading package lists... Done
W: &lt;A href="http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.4.2.0/dists/Ambari/InRelease" target="_blank" rel="noopener"&gt;http://public-repo-1.hortonworks.com/ambari/ubuntu14/2.x/updates/2.4.2.0/dists/Ambari/InRelease&lt;/A&gt;: Signature by key DF52ED4F7A3A5882C0994C66B9733A7A07513CAD uses weak digest algorithm (SHA1)
Connection to master closed.SSH command execution finishedhost=master, exitcode=0Command end time 2019-09-02 17:01:13
==========================Copying setup script file...==========================
Command start time 2019-09-02 17:01:13
scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.pyhost=master, exitcode=0Command end time 2019-09-02 17:01:13
==========================Running setup agent script...==========================
Command start time 2019-09-02 17:01:13('INFO 2019-09-02 17:01:47,369 logger.py:71 - call returned (0, \'\')INFO 2019-09-02 17:01:47,369 logger.py:71 - call[[\'test\', \'-w\', \'/run/user/0\']] {\'sudo\': True, \'timeout\': 5}INFO 2019-09-02 17:01:47,372 logger.py:71 - call returned (0, \'\')INFO 2019-09-02 17:01:47,378 Facter.py:194 - Directory: \'/etc/resource_overrides\' does not exist - it won\'t be used for gathering system resources.INFO 2019-09-02 17:01:47,449 Controller.py:160 - Registering with master (127.0.1.1) (agent=\'{"hardwareProfile": {"kernel": "Linux", "domain": "", "physicalprocessorcount": 4, "kernelrelease": "4.15.0-45-generic", "uptime_days": "3", "memorytotal": 16390376, "swapfree": "0.95 GB", "memorysize": 16390376, "osfamily": "ubuntu", "swapsize": "0.95 GB", "processorcount": 4, "netmask": null, "timezone": "KST", "hardwareisa": "x86_64", "memoryfree": 12196540, "operatingsystem": "ubuntu", "kernelmajversion": "4.15", "kernelversion": "4.15.0", "macaddress": "30:9C:23:43:F8:99", "operatingsystemrelease": "16.04", "ipaddress": "127.0.1.1", "hostname": "master", "uptime_hours": "73", "fqdn": "master", "id": "root", "architecture": "x86_64", "selinux": false, "mounts": [{"available": "8165416", "used": "0", "percent": "0%", "device": "udev", "mountpoint": "/dev", "type": "devtmpfs", "size": "8165416"}, {"available": "1627856", "used": "11184", "percent": "1%", "device": "tmpfs", "mountpoint": "/run", "type": "tmpfs", "size": "1639040"}, {"available": "903763276", "used": "7750156", "percent": "1%", "device": "/dev/sda1", "mountpoint": "/", "type": "ext4", "size": "960317832"}, {"available": "8195008", "used": "180", "percent": "1%", "device": "tmpfs", "mountpoint": "/dev/shm", "type": "tmpfs", "size": "8195188"}, {"available": "5116", "used": "4", "percent": "1%", "device": "tmpfs", "mountpoint": "/run/lock", "type": "tmpfs", "size": "5120"}, {"available": "1638984", "used": "56", "percent": "1%", "device": "tmpfs", "mountpoint": "/run/user/1000", "type": "tmpfs", "size": "1639040"}, {"available": "1639040", "used": "0", "percent": "0%", "device": "tmpfs", "mountpoint": "/run/user/0", "type": "tmpfs", "size": "1639040"}], "hardwaremodel": "x86_64", "uptime_seconds": "264311", "interfaces": "enp0s31f6,lo,wlx909f330d4aff"}, "currentPingPort": 8670, "prefix": "/var/lib/ambari-agent/data", "agentVersion": "2.4.2.0", "agentEnv": {"transparentHugePage": "madvise", "hostHealth": {"agentTimeStampAtReporting": 1567411307448, "activeJavaProcs": [], "liveServices": [{"status": "Healthy", "name": "ntp", "desc": ""}]}, "reverseLookup": true, "alternatives": [], "umask": "18", "firewallName": "ufw", "stackFoldersAndFiles": [], "existingUsers": [], "firewallRunning": false}, "timestamp": 1567411307380, "hostname": "master", "responseId": -1, "publicHostname": "master"}\')INFO 2019-09-02 17:01:47,449 NetUtil.py:62 - Connecting to &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8440/connection_infoWARNING 2019-09-02 17:01:47,460 NetUtil.py:85 - GET &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8440/connection_info -&amp;gt; 400, body:INFO 2019-09-02 17:01:47,461 security.py:100 - SSL Connect being called.. connecting to the serverINFO 2019-09-02 17:01:47,461 security.py:67 - Insecure connection to &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8441/ failed. Reconnecting using two-way SSL authentication..INFO 2019-09-02 17:01:47,461 security.py:186 - Server certicate not exists, downloadingINFO 2019-09-02 17:01:47,461 security.py:209 - Downloading server cert from &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8440/cert/ca/ERROR 2019-09-02 17:01:47,471 Controller.py:212 - Unable to connect to: &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8441/agent/v1/register/masterTraceback (most recent call last):File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 165, in registerWithServerret = self.sendRequest(self.registerUrl, data)File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 496, in sendRequestraise IOError(\'Request to {0} failed due to {1}\'.format(url, str(exception)))IOError: Request to &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8441/agent/v1/register/master failed due to &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)&amp;gt;ERROR 2019-09-02 17:01:47,471 Controller.py:213 - Error:Request to &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8441/agent/v1/register/master failed due to &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)&amp;gt;WARNING 2019-09-02 17:01:47,471 Controller.py:214 - Sleeping for 19 seconds and then trying again', None)('INFO 2019-09-02 17:01:47,369 logger.py:71 - call returned (0, \'\')INFO 2019-09-02 17:01:47,369 logger.py:71 - call[[\'test\', \'-w\', \'/run/user/0\']] {\'sudo\': True, \'timeout\': 5}INFO 2019-09-02 17:01:47,372 logger.py:71 - call returned (0, \'\')INFO 2019-09-02 17:01:47,378 Facter.py:194 - Directory: \'/etc/resource_overrides\' does not exist - it won\'t be used for gathering system resources.INFO 2019-09-02 17:01:47,449 Controller.py:160 - Registering with master (127.0.1.1) (agent=\'{"hardwareProfile": {"kernel": "Linux", "domain": "", "physicalprocessorcount": 4, "kernelrelease": "4.15.0-45-generic", "uptime_days": "3", "memorytotal": 16390376, "swapfree": "0.95 GB", "memorysize": 16390376, "osfamily": "ubuntu", "swapsize": "0.95 GB", "processorcount": 4, "netmask": null, "timezone": "KST", "hardwareisa": "x86_64", "memoryfree": 12196540, "operatingsystem": "ubuntu", "kernelmajversion": "4.15", "kernelversion": "4.15.0", "macaddress": "30:9C:23:43:F8:99", "operatingsystemrelease": "16.04", "ipaddress": "127.0.1.1", "hostname": "master", "uptime_hours": "73", "fqdn": "master", "id": "root", "architecture": "x86_64", "selinux": false, "mounts": [{"available": "8165416", "used": "0", "percent": "0%", "device": "udev", "mountpoint": "/dev", "type": "devtmpfs", "size": "8165416"}, {"available": "1627856", "used": "11184", "percent": "1%", "device": "tmpfs", "mountpoint": "/run", "type": "tmpfs", "size": "1639040"}, {"available": "903763276", "used": "7750156", "percent": "1%", "device": "/dev/sda1", "mountpoint": "/", "type": "ext4", "size": "960317832"}, {"available": "8195008", "used": "180", "percent": "1%", "device": "tmpfs", "mountpoint": "/dev/shm", "type": "tmpfs", "size": "8195188"}, {"available": "5116", "used": "4", "percent": "1%", "device": "tmpfs", "mountpoint": "/run/lock", "type": "tmpfs", "size": "5120"}, {"available": "1638984", "used": "56", "percent": "1%", "device": "tmpfs", "mountpoint": "/run/user/1000", "type": "tmpfs", "size": "1639040"}, {"available": "1639040", "used": "0", "percent": "0%", "device": "tmpfs", "mountpoint": "/run/user/0", "type": "tmpfs", "size": "1639040"}], "hardwaremodel": "x86_64", "uptime_seconds": "264311", "interfaces": "enp0s31f6,lo,wlx909f330d4aff"}, "currentPingPort": 8670, "prefix": "/var/lib/ambari-agent/data", "agentVersion": "2.4.2.0", "agentEnv": {"transparentHugePage": "madvise", "hostHealth": {"agentTimeStampAtReporting": 1567411307448, "activeJavaProcs": [], "liveServices": [{"status": "Healthy", "name": "ntp", "desc": ""}]}, "reverseLookup": true, "alternatives": [], "umask": "18", "firewallName": "ufw", "stackFoldersAndFiles": [], "existingUsers": [], "firewallRunning": false}, "timestamp": 1567411307380, "hostname": "master", "responseId": -1, "publicHostname": "master"}\')INFO 2019-09-02 17:01:47,449 NetUtil.py:62 - Connecting to &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8440/connection_infoWARNING 2019-09-02 17:01:47,460 NetUtil.py:85 - GET &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8440/connection_info -&amp;gt; 400, body:INFO 2019-09-02 17:01:47,461 security.py:100 - SSL Connect being called.. connecting to the serverINFO 2019-09-02 17:01:47,461 security.py:67 - Insecure connection to &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8441/ failed. Reconnecting using two-way SSL authentication..INFO 2019-09-02 17:01:47,461 security.py:186 - Server certicate not exists, downloadingINFO 2019-09-02 17:01:47,461 security.py:209 - Downloading server cert from &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8440/cert/ca/ERROR 2019-09-02 17:01:47,471 Controller.py:212 - Unable to connect to: &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8441/agent/v1/register/masterTraceback (most recent call last):File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 165, in registerWithServerret = self.sendRequest(self.registerUrl, data)File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 496, in sendRequestraise IOError(\'Request to {0} failed due to {1}\'.format(url, str(exception)))IOError: Request to &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8441/agent/v1/register/master failed due to &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)&amp;gt;ERROR 2019-09-02 17:01:47,471 Controller.py:213 - Error:Request to &lt;A href="https://192.168.56.101" target="_blank" rel="noopener"&gt;https://192.168.56.101&lt;/A&gt; master master.hadoop.com:8441/agent/v1/register/master failed due to &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)&amp;gt;WARNING 2019-09-02 17:01:47,471 Controller.py:214 - Sleeping for 19 seconds and then trying again', None)
Connection to master closed.SSH command execution finishedhost=master, exitcode=0Command end time 2019-09-02 17:01:48
Registering with the server...Registration with the server failed.


And this is my ambari-agent.ini
# Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this work for additional information regarding copyright ownership.# The ASF licenses this file to You under the Apache License, Version 2.0# (the "License"); you may not use this file except in compliance with# the License. You may obtain a copy of the License at## &lt;A href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank" rel="noopener"&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/A&gt;## Unless required by applicable law or agreed to in writing, software# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific
[server]hostname=192.168.56.101 master master.hadoop.comurl_port=8440secured_url_port=8441
[agent]logdir=/var/log/ambari-agentpiddir=/var/run/ambari-agentprefix=/var/lib/ambari-agent/data;loglevel=(DEBUG/INFO)loglevel=INFOdata_cleanup_interval=86400data_cleanup_max_age=2592000data_cleanup_max_size_MB = 100ping_port=8670cache_dir=/var/lib/ambari-agent/cachetolerate_download_failures=truerun_as_user=rootparallel_execution=0alert_grace_period=5alert_kinit_timeout=14400000system_resource_overrides=/etc/resource_overrides; memory_threshold_soft_mb=400; memory_threshold_hard_mb=1000
[security]keysdir=/var/lib/ambari-agent/keysserver_crt=ca.crtpassphrase_env_var_name=AMBARI_PASSPHRASEssl_verify_cert=0
[services]pidLookupPath=/var/run/
[heartbeat]state_interval_seconds=60dirs=/etc/hadoop,/etc/hadoop/conf,/etc/hbase,/etc/hcatalog,/etc/hive,/etc/oozie,/etc/sqoop,/etc/ganglia,/var/run/hadoop,/var/run/zookeeper,/var/run/hbase,/var/run/templeton,/var/run/oozie,/var/log/hadoop,/var/log/zookeeper,/var/log/hbase,/var/run/templeton,/var/log/hive; 0 - unlimitedlog_lines_count=300idle_interval_min=1idle_interval_max=10
[logging]syslog_enabled=0

and This is my /etc/hosts

127.0.0.1 localhost127.0.1.1 master
192.168.56.101 master master.hadoop.com192.168.56.102 slave1 slave1.hadoop.com192.168.56.103 slave2 slave2.hadoop.com192.168.56.104 slave3 slave3.hadoop.com192.168.56.105 slave4 slave4.hadoop.com192.168.56.106 slave5 slave5.hadoop.com

# The following lines are desirable for IPv6 capable hosts::1 ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allrouters

root@master:~# hostnamemasterroot@master:~# hostname -fmaster
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i fix it???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 09:48:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269526#M206901</guid>
      <dc:creator>CoPen</dc:creator>
      <dc:date>2019-09-02T09:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Registration  with the server failed.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269531#M206906</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69085"&gt;@CoPen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your ambari-agent.ini file is pointing to incorrect ambari server . (it should not have IP Address and hostname together)&lt;/P&gt;&lt;P&gt;You have the following entry&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[server]
hostname=192.168.56.101 master master.hadoop.com&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally it should be following:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;[server]
hostname=master.hadoop.com&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 08:45:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269531#M206906</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-09-02T08:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Registration  with the server failed.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269550#M206921</link>
      <description>&lt;P&gt;Thanks for advice,I changed my ambari-agent.ini file but received same error.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Registering with the server...
Registration with the server failed.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to change&amp;nbsp;&lt;/P&gt;&lt;P&gt;First.&lt;/P&gt;&lt;P&gt;Hostname = master&lt;/P&gt;&lt;P&gt;Second.&lt;/P&gt;&lt;P&gt;Hostnme = master.hadoop.com&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and ambari-agent restart&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i receive same error&lt;/P&gt;&lt;P&gt;# Licensed to the Apache Software Foundation (ASF) under one or more&lt;BR /&gt;# contributor license agreements. See the NOTICE file distributed with&lt;BR /&gt;# this work for additional information regarding copyright ownership.&lt;BR /&gt;# The ASF licenses this file to You under the Apache License, Version 2.0&lt;BR /&gt;# (the "License"); you may not use this file except in compliance with&lt;BR /&gt;# the License. You may obtain a copy of the License at&lt;BR /&gt;#&lt;BR /&gt;# &lt;A href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank" rel="noopener"&gt;http://www.apache.org/licenses/LICENSE-2.0&lt;/A&gt;&lt;BR /&gt;#&lt;BR /&gt;# Unless required by applicable law or agreed to in writing, software&lt;BR /&gt;# distributed under the License is distributed on an "AS IS" BASIS,&lt;BR /&gt;# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&lt;BR /&gt;# See the License for the specific&lt;/P&gt;&lt;P&gt;[server]&lt;BR /&gt;hostname=master.hadoop.com&lt;BR /&gt;url_port=8440&lt;BR /&gt;secured_url_port=8441&lt;/P&gt;&lt;P&gt;[agent]&lt;BR /&gt;logdir=/var/log/ambari-agent&lt;BR /&gt;piddir=/var/run/ambari-agent&lt;BR /&gt;prefix=/var/lib/ambari-agent/data&lt;BR /&gt;;loglevel=(DEBUG/INFO)&lt;BR /&gt;loglevel=INFO&lt;BR /&gt;data_cleanup_interval=86400&lt;BR /&gt;data_cleanup_max_age=2592000&lt;BR /&gt;data_cleanup_max_size_MB = 100&lt;BR /&gt;ping_port=8670&lt;BR /&gt;cache_dir=/var/lib/ambari-agent/cache&lt;BR /&gt;tolerate_download_failures=true&lt;BR /&gt;run_as_user=root&lt;BR /&gt;parallel_execution=0&lt;BR /&gt;alert_grace_period=5&lt;BR /&gt;alert_kinit_timeout=14400000&lt;BR /&gt;system_resource_overrides=/etc/resource_overrides&lt;BR /&gt;; memory_threshold_soft_mb=400&lt;BR /&gt;; memory_threshold_hard_mb=1000&lt;/P&gt;&lt;P&gt;[security]&lt;BR /&gt;keysdir=/var/lib/ambari-agent/keys&lt;BR /&gt;server_crt=ca.crt&lt;BR /&gt;passphrase_env_var_name=AMBARI_PASSPHRASE&lt;BR /&gt;ssl_verify_cert=0&lt;/P&gt;&lt;P&gt;[services]&lt;BR /&gt;pidLookupPath=/var/run/&lt;/P&gt;&lt;P&gt;[heartbeat]&lt;BR /&gt;state_interval_seconds=60&lt;BR /&gt;dirs=/etc/hadoop,/etc/hadoop/conf,/etc/hbase,/etc/hcatalog,/etc/hive,/etc/oozie,&lt;BR /&gt;/etc/sqoop,/etc/ganglia,&lt;BR /&gt;/var/run/hadoop,/var/run/zookeeper,/var/run/hbase,/var/run/templeton,/var/run/oozie,&lt;BR /&gt;/var/log/hadoop,/var/log/zookeeper,/var/log/hbase,/var/run/templeton,/var/log/hive&lt;BR /&gt;; 0 - unlimited&lt;BR /&gt;log_lines_count=300&lt;BR /&gt;idle_interval_min=1&lt;BR /&gt;idle_interval_max=10&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[logging]&lt;BR /&gt;syslog_enabled=0&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 11:27:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269550#M206921</guid>
      <dc:creator>CoPen</dc:creator>
      <dc:date>2019-09-02T11:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Registration  with the server failed.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269552#M206923</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69085"&gt;@CoPen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are getting exactly the same error then you might be doing the same mistake again. Can you please share the complete log again with the new error.&lt;/P&gt;&lt;P&gt;Please see this which we noticed earlier:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;OError: Request to &amp;lt;a href="&amp;lt;a href="https://192.168.56.101" target="_blank"&amp;gt;https://192.168.56.101&amp;lt;/a&amp;gt;" target="_blank"&amp;gt;&amp;lt;a href="https://192.168.56.101&amp;lt;/a" target="_blank"&amp;gt;https://192.168.56.101&amp;lt;/a&amp;lt;/a&amp;gt;&amp;gt; master master.hadoop.com:8441/agent/v1/register/master failed due to &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)&amp;gt;

ERROR 2019-09-02 17:01:47,471 Controller.py:213 - Error:Request to &amp;lt;a href="&amp;lt;a href="https://192.168.56.101" target="_blank"&amp;gt;https://192.168.56.101&amp;lt;/a&amp;gt;" target="_blank"&amp;gt;&amp;lt;a href="https://192.168.56.101&amp;lt;/a" target="_blank"&amp;gt;https://192.168.56.101&amp;lt;/a&amp;lt;/a&amp;gt;&amp;gt; master master.hadoop.com:8441/agent/v1/register/master failed due to &amp;lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Notice the URL: &lt;EM&gt;"&lt;STRONG&gt;https&lt;/STRONG&gt;://&lt;STRONG&gt;192.168.56.101&lt;/STRONG&gt; master &lt;STRONG&gt;master.hadoop.com&lt;/STRONG&gt;:8441"&lt;/EM&gt; it contains IP Address (192.168.56.101), ambari server hostname alias (master) and hostname (master.hadoop.com) all thgether.&lt;/P&gt;&lt;P&gt;So definitely the URL is incorrect thats why you see the mentioned error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also as we see &lt;STRONG&gt;"CERTIFICATE_VERIFY_FAILED] certificate verify failed"&lt;/STRONG&gt; error hence you must also see the Article&lt;BR /&gt;&lt;A href="https://community.cloudera.com/t5/Community-Articles/Java-Python-Updates-and-Ambari-Agent-TLS-Settings/ta-p/248328" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Community-Articles/Java-Python-Updates-and-Ambari-Agent-TLS-Settings/ta-p/248328&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, the more serious issue is that you are using 3 generation Old Ambari Server (2.4.2)&lt;BR /&gt;Is there any specific reason that you are using so OLD ambari server version (2.4.2) ? The latest version of ambari is 2.7.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 11:58:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269552#M206923</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-09-02T11:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Registration  with the server failed.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269796#M207092</link>
      <description>&lt;P&gt;Oh.. Thanks,&amp;nbsp; I upgrade my ambari version and my hostname master with master.hadoop.com togerther!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 07:28:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Registration-with-the-server-failed/m-p/269796#M207092</guid>
      <dc:creator>CoPen</dc:creator>
      <dc:date>2019-09-05T07:28:55Z</dc:date>
    </item>
  </channel>
</rss>

