<?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>topic Re: Splunk DB Connect: How to resolve error &amp;quot;JRE Status: OSError: [Errno 2] No such file or directory&amp;quot;? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229914#M25617</link>
    <description>&lt;P&gt;I did not. Ive been operating under the assumption that since splunk was installed as root, I wouldn't need to modify the rights. Like I said, I'm fairly new to Linux. Mind walking me through?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2016 06:03:43 GMT</pubDate>
    <dc:creator>svercelli</dc:creator>
    <dc:date>2016-08-16T06:03:43Z</dc:date>
    <item>
      <title>Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229908#M25611</link>
      <description>&lt;P&gt;I've just installed Splunk on a new Linux Redhat instance, I'm not particularly familiar with Linux, but I believe everything to be working fine. The one thing that has become problematic is with Splunk DB Connect.&lt;/P&gt;

&lt;P&gt;While setting it up, I've put in the path for Java I got with pwd just to make sure /usr/java/jdk1.8.0_102/&lt;/P&gt;

&lt;P&gt;I've tried putting this as /usr/java/jdk1.8.0_102/jre as well, but I keep getting an error saying &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;JRE Status: OSError: [Errno 2] No such file or directory
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone know where I should start looking for the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 04:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229908#M25611</guid>
      <dc:creator>svercelli</dc:creator>
      <dc:date>2016-08-16T04:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229909#M25612</link>
      <description>&lt;P&gt;Did you set up environment variable named  JAVA_HOME ? If not try setting it to /usr/java/jdk1.8.0_102/&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:38:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229909#M25612</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2020-09-29T10:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229910#M25613</link>
      <description>&lt;P&gt;It is, &lt;CODE&gt;echo $JAVA_HOME&lt;/CODE&gt; reads &lt;CODE&gt;/usr/java/jdk1.8.0_102&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 05:13:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229910#M25613</guid>
      <dc:creator>svercelli</dc:creator>
      <dc:date>2016-08-16T05:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229911#M25614</link>
      <description>&lt;P&gt;Did you complete the setup of the DB Connect app?  There also we need to define JAVA_HOME as shown in the docs&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/DBX/2.3.0/DeployDBX/Singleserverdeployment#Set_up_Splunk_DB_Connect" target="_blank"&gt;http://docs.splunk.com/Documentation/DBX/2.3.0/DeployDBX/Singleserverdeployment#Set_up_Splunk_DB_Connect&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:38:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229911#M25614</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2020-09-29T10:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229912#M25615</link>
      <description>&lt;P&gt;This is what I'm doing. This error I'm getting is when i'm trying to input the JRE Installation path in the setup.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 05:33:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229912#M25615</guid>
      <dc:creator>svercelli</dc:creator>
      <dc:date>2016-08-16T05:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229913#M25616</link>
      <description>&lt;P&gt;In that case did you verify access rights for the JDK folder?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 05:36:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229913#M25616</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2016-08-16T05:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229914#M25617</link>
      <description>&lt;P&gt;I did not. Ive been operating under the assumption that since splunk was installed as root, I wouldn't need to modify the rights. Like I said, I'm fairly new to Linux. Mind walking me through?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 06:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229914#M25617</guid>
      <dc:creator>svercelli</dc:creator>
      <dc:date>2016-08-16T06:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229915#M25618</link>
      <description>&lt;P&gt;Assuming Splunk would have the same privileges as root in this case then yes all permissions are there.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 06:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229915#M25618</guid>
      <dc:creator>svercelli</dc:creator>
      <dc:date>2016-08-16T06:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229916#M25619</link>
      <description>&lt;P&gt;I will try.&lt;/P&gt;

&lt;P&gt;First check the owner of your splunk folder using following command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ls -lh
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Use same command to verify the ownership for JDK folder, if both are same then you don't have a problem else either update the ownership of JDK folder or grant 777 access to the JDK home using following command, if this machine is just for testing purpose.&lt;/P&gt;

&lt;P&gt;chmod +R  777 /usr/java/jdk1.8.0_102&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 07:10:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229916#M25619</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2016-08-16T07:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229917#M25620</link>
      <description>&lt;P&gt;The users were different, so i used chown to change the java ownership to the splunk user. checked and it shows that the ownership is now with splunk. It hasn't fixed the issue though, still getting the same error.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 08:58:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229917#M25620</guid>
      <dc:creator>svercelli</dc:creator>
      <dc:date>2016-08-16T08:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229918#M25621</link>
      <description>&lt;P&gt;Hope we are referring to correct jdk ..&lt;/P&gt;

&lt;P&gt;Can you run following command and see if it points to same value as the value  JAVA_HOME  in DB connect app&lt;/P&gt;

&lt;P&gt;which java&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 09:14:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229918#M25621</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2016-08-16T09:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229919#M25622</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;which java

/usr/bin/java

whereis java

java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /usr/share/man/man1/java.1

[root@DC2VTS01 java]# alternatives --config java

There are 2 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
   1           /usr/java/jre1.8.0_101/bin/java
*+ 2           /usr/java/jdk1.8.0_102/jre/bin/java
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Aug 2016 09:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229919#M25622</guid>
      <dc:creator>svercelli</dc:creator>
      <dc:date>2016-08-16T09:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect: How to resolve error "JRE Status: OSError: [Errno 2] No such file or directory"?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229920#M25623</link>
      <description>&lt;P&gt;Hi svercelli - Did you ever figure this out? I am having a similar issue.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 16:31:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-How-to-resolve-error-quot-JRE-Status-OSError/m-p/229920#M25623</guid>
      <dc:creator>jonesnadiam</dc:creator>
      <dc:date>2017-04-26T16:31:11Z</dc:date>
    </item>
  </channel>
</rss>

