<?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: Ranger Admin install fails with Access Denied error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113888#M76686</link>
    <description>&lt;P&gt;What privileges did you grant? I think there is something missing in your post&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2016 17:50:08 GMT</pubDate>
    <dc:creator>jstraub</dc:creator>
    <dc:date>2016-01-27T17:50:08Z</dc:date>
    <item>
      <title>Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113887#M76685</link>
      <description>&lt;P&gt;I am seeing the following when it is trying to install Ranger Admin on the Ranger host server:&lt;/P&gt;&lt;PRE&gt;2016-01-27 08:48:59,962  [I] Database ranger already exists.
2016-01-27 08:48:59,962  [I] ---------- Granting permission to Ranger Admin db user ----------
2016-01-27 08:48:59,962  [I] ---------- Granting privileges TO user 'rangeradmin'@'%' on db 'ranger'----------
SQLException : SQL state: 42000 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'root'@'hostname' to database 'ranger' ErrorCode: 1044
SQLException : SQL state: 42000 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'root'@'hostname' to database 'ranger' ErrorCode: 1044
2016-01-27 08:49:00,520  [E] Granting privileges to 'rangeradmin' failed on 'ranger'&lt;/PRE&gt;&lt;P&gt;I have logged onto MySQL on the host machine and granted the following privileges and still the installation throws Access Denied error.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 16:57:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113887#M76685</guid>
      <dc:creator>ariesk1980</dc:creator>
      <dc:date>2016-01-27T16:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113888#M76686</link>
      <description>&lt;P&gt;What privileges did you grant? I think there is something missing in your post&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:50:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113888#M76686</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-01-27T17:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113889#M76687</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;GRANT
ALL PRIVILEGES ON *.* TO 'root'@'hostname' WITH GRANT OPTION;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 18:15:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113889#M76687</guid>
      <dc:creator>rahulpathak109</dc:creator>
      <dc:date>2016-01-27T18:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113890#M76688</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2395/ariesk1980.html" nodeid="2395"&gt;@Kay Aries&lt;/A&gt; you have MySQL issue not a ranger issue. Please see this &lt;A href="http://stackoverflow.com/questions/21714869/error-1044-42000-access-denied-for-root-with-all-privileges"&gt;Thread&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 19:01:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113890#M76688</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-27T19:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113891#M76689</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2395/ariesk1980.html" nodeid="2395"&gt;@Kay Aries&lt;/A&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;grant all privileges on *.* to  'root'@'host' identified  by 'password' with grant option;&lt;/P&gt;&lt;P&gt;then restart/reinstall  rangeradmin process &lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 19:21:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113891#M76689</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-27T19:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113892#M76690</link>
      <description>&lt;P&gt;Ranger is in this state now:&lt;/P&gt;&lt;PRE&gt;Invalid event: HOST_SVCCOMP_OP_IN_PROGRESS at INSTALL_FAILED&lt;/PRE&gt;&lt;P&gt;I will delete the service through Rest API and will try it again.&lt;/P&gt;&lt;P&gt;Thanks for all the help.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 23:08:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113892#M76690</guid>
      <dc:creator>ariesk1980</dc:creator>
      <dc:date>2016-01-27T23:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113893#M76691</link>
      <description>&lt;P&gt;I did a re-install and Neeraj's solution worked for me. Thank you all, guys.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 00:53:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113893#M76691</guid>
      <dc:creator>ariesk1980</dc:creator>
      <dc:date>2016-01-28T00:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113894#M76692</link>
      <description>&lt;P&gt;Something like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;GRANT ALL ON mydb.*TO'myuser'@'%';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jan 2016 09:51:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113894#M76692</guid>
      <dc:creator>ariesk1980</dc:creator>
      <dc:date>2016-01-28T09:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113895#M76693</link>
      <description>&lt;P&gt;Thanks Neeraj...your solution worked&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 22:10:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113895#M76693</guid>
      <dc:creator>faizanm</dc:creator>
      <dc:date>2016-02-19T22:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113896#M76694</link>
      <description>&lt;P&gt;It worked for me when used with "identified by 'password' " string in grant all privileges on *.* to 'root'@'oozie-test2' identified by 'password' with grant option;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jul 2017 06:46:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113896#M76694</guid>
      <dc:creator>rchaman</dc:creator>
      <dc:date>2017-07-08T06:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113897#M76695</link>
      <description>&lt;P&gt;I am having this error as well,&lt;/P&gt;&lt;P&gt;where should I gran this permissions on the local terminal or inside the hdp?&lt;/P&gt;&lt;P&gt;and what is the command?&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:28:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113897#M76695</guid>
      <dc:creator>xavier1</dc:creator>
      <dc:date>2018-03-20T16:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113898#M76696</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;grant all privileges on *.* to 'root'@'host' identified by 'password' with grant option;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 18:54:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113898#M76696</guid>
      <dc:creator>srinucse9</dc:creator>
      <dc:date>2018-03-29T18:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Admin install fails with Access Denied error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113899#M76697</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We was facing same issue.We tried some resolution&lt;/P&gt;&lt;P&gt;First we tried:&lt;/P&gt;&lt;P&gt;grant all privileges on *.* to 'root'@'hadoop04' identified by 'password';&lt;/P&gt;&lt;P&gt;again we was facing same issue&lt;/P&gt;&lt;PRE&gt;SQLException : SQL state: 42000 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'root'@'hadoop04' to database 'ranger' ErrorCode: 1044
2018-07-03 15:13:50,524  [E] Granting privileges to 'rangeradmin' failed on 'ranger'&lt;/PRE&gt;&lt;P&gt;we had tried with IP address&lt;/P&gt;&lt;P&gt;grant all privileges on *.* to 'root'@'ip_address_of_rangerhost' identified by 'password';&lt;/P&gt;&lt;P&gt;Which works for me.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinay K&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 17:01:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ranger-Admin-install-fails-with-Access-Denied-error/m-p/113899#M76697</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-07-03T17:01:06Z</dc:date>
    </item>
  </channel>
</rss>

