<?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 Ranger Admin install with access denied error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156379#M118796</link>
    <description>&lt;P&gt;&lt;STRONG&gt;I am getting following error while installing ranger-admin from ambari &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;
2016-09-16 14:15:24,498  [JISQL] /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64/bin/java -cp /usr/share/java/mysql-connector-java.jar
:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj 
-cstring jdbc:mysql://&amp;lt;host&amp;gt;/ranger -u 'rangeradmin' -p '********' -noheader -trim -c \; -query "SELECT version();"&lt;STRONG&gt;
SQLException : SQL state: 28000 java.sql.SQLException: Access denied for user 'rangeradmin'@'host' (using password: YES) ErrorCode: 1045
2016-09-16 14:15:24,811  [E] Can't establish connection!! Exiting.. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have already given all required permission to rangeradmin , root , mapped them with host % , localhost
what is that i am missing ? Pls help&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2016 21:29:13 GMT</pubDate>
    <dc:creator>rajkumarraibis</dc:creator>
    <dc:date>2016-09-16T21:29:13Z</dc:date>
    <item>
      <title>Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156379#M118796</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I am getting following error while installing ranger-admin from ambari &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;
2016-09-16 14:15:24,498  [JISQL] /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-2.b15.el7_2.x86_64/bin/java -cp /usr/share/java/mysql-connector-java.jar
:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj 
-cstring jdbc:mysql://&amp;lt;host&amp;gt;/ranger -u 'rangeradmin' -p '********' -noheader -trim -c \; -query "SELECT version();"&lt;STRONG&gt;
SQLException : SQL state: 28000 java.sql.SQLException: Access denied for user 'rangeradmin'@'host' (using password: YES) ErrorCode: 1045
2016-09-16 14:15:24,811  [E] Can't establish connection!! Exiting.. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have already given all required permission to rangeradmin , root , mapped them with host % , localhost
what is that i am missing ? Pls help&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 21:29:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156379#M118796</guid>
      <dc:creator>rajkumarraibis</dc:creator>
      <dc:date>2016-09-16T21:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156380#M118797</link>
      <description>&lt;P&gt;Can you follow this document &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_Ranger_Install_Guide/content/configuring_mysql_for_ranger.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_Ranger_Install_Guide/content/configuring_mysql_for_ranger.html&lt;/A&gt; 

Also if you can provide a screenshot or log file, it will be helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 21:34:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156380#M118797</guid>
      <dc:creator>WhiteHa</dc:creator>
      <dc:date>2016-09-16T21:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156381#M118798</link>
      <description>&lt;P&gt;pfa logs &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/7725-rangeradmin-install-logs.txt"&gt;rangeradmin-install-logs.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am following below link as per my HDP version
&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Ranger_Install_Guide/content/ch_overview_ranger_ambari_install.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Ranger_Install_Guide/content/ch_overview_ranger_ambari_install.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My ambari server and Rangeradmin are on different nodes&lt;/P&gt;&lt;P&gt;Rangeradmin and its mysql metastore are on same node&lt;/P&gt;&lt;P&gt;I am able to run python dba_script successfully on rangeradmin nodes specifying host as localhost&lt;/P&gt;&lt;P&gt;i am also able to run following command  successfully  from ambari server node , suggesting there is no firewall issue&lt;/P&gt;&lt;P&gt;nc ambaridbhostname 3306&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 21:53:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156381#M118798</guid>
      <dc:creator>rajkumarraibis</dc:creator>
      <dc:date>2016-09-16T21:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156382#M118799</link>
      <description>&lt;P&gt;Did you followed this &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Ranger_Install_Guide/content/configuring_mysql_for_ranger.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_Ranger_Install_Guide/content/configuring_mysql_for_ranger.html&lt;/A&gt; and run those MySQL queries?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2016 23:57:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156382#M118799</guid>
      <dc:creator>WhiteHa</dc:creator>
      <dc:date>2016-09-16T23:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156383#M118800</link>
      <description>&lt;P&gt;Yes that is correct&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 00:00:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156383#M118800</guid>
      <dc:creator>rajkumarraibis</dc:creator>
      <dc:date>2016-09-17T00:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156384#M118801</link>
      <description>&lt;P&gt;as logs says permission denied so you need yo go to the db that you configured in ranger and grant the provilleges to root user for ranger admin host with grant options and then try again it will work something like:&lt;/P&gt;&lt;P&gt;grant all on Databases to 'root'@'hostname' identified by 'password' with grant option;&lt;/P&gt;&lt;P&gt;Flush privileges;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 05:42:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156384#M118801</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2016-09-17T05:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156385#M118802</link>
      <description>&lt;P&gt;no this is not working&lt;/P&gt;&lt;P&gt;problem is that i am not able to remote connect my mysql instance&lt;/P&gt;&lt;P&gt;these are azure VMs&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 20:38:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156385#M118802</guid>
      <dc:creator>rajkumarraibis</dc:creator>
      <dc:date>2016-09-19T20:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156386#M118803</link>
      <description>&lt;P&gt;any update please&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 20:07:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156386#M118803</guid>
      <dc:creator>rajkumarraibis</dc:creator>
      <dc:date>2016-09-26T20:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156387#M118804</link>
      <description>&lt;P&gt;I have resolved the issue , &lt;/P&gt;&lt;P&gt;In MySQL metastore 'rangeruser'@'ambariservernode' needs grant permission rights for installation to be successfull
this is not documented in hortonworks installation doc &lt;/P&gt;&lt;P&gt;GRANT ALL PRIVILEGES ON *.* TO 'rangeruser'@'ambariservernode' WITH GRANT OPTION;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 20:12:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/156387#M118804</guid>
      <dc:creator>rajkumarraibis</dc:creator>
      <dc:date>2016-09-30T20:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install with access denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/351811#M236377</link>
      <description>&lt;P&gt;Think u ,it works!&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 02:16:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-with-access-denied-error/m-p/351811#M236377</guid>
      <dc:creator>Love_Cat</dc:creator>
      <dc:date>2022-09-09T02:16:00Z</dc:date>
    </item>
  </channel>
</rss>

