<?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 Error:Unable to initialize modular input &amp;quot;server&amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-Unable-to-initialize-modular-input-quot/m-p/574076#M101506</link>
    <description>&lt;P&gt;Just figured out the issue, Posting it here where it may help anyone with same situation.&lt;/P&gt;&lt;P&gt;Whenever linux patching is getting done, it is also updating our Java version,&lt;/P&gt;&lt;P&gt;So I went ahead and set the JAVA_HOME path again.&lt;/P&gt;&lt;P&gt;Steps followed:&lt;/P&gt;&lt;P&gt;1.found the java installation path on our linux box using the below command.&lt;/P&gt;&lt;P&gt;$(dirname $(dirname $(readlink -f $(which javac))))&lt;/P&gt;&lt;P&gt;2.Executed the below command after getting the path.&lt;/P&gt;&lt;P&gt;JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64&lt;/P&gt;&lt;P&gt;3. Updated the JAVA_HOME path in splunk-launch.conf file&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/etc/splunk-launch.conf

 Modify the following line to suit the location of your Splunk install.
# If unset, Splunk will use the parent of the directory containing the splunk
# CLI executable.
#
# SPLUNK_HOME=/opt/splunk-home
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64&lt;/LI-CODE&gt;&lt;P&gt;4. Updated the same JAVA_HOME path in the UI of Splunk DB connect-Configuration-Settings-JRE Installation path&lt;/P&gt;&lt;P&gt;5. Did a Splunk restart and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy Splunking&lt;/P&gt;</description>
    <pubDate>Mon, 08 Nov 2021 20:38:14 GMT</pubDate>
    <dc:creator>Roy_9</dc:creator>
    <dc:date>2021-11-08T20:38:14Z</dc:date>
    <item>
      <title>Splunk DB Connect Error:Unable to initialize modular input "server"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-Unable-to-initialize-modular-input-quot/m-p/574069#M101505</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are seeing the below error after our linux upgrade, Could someone please help us fix this issue?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unable to initialize modular input "server" defined in the app "splunk_app_db_connect": Introspecting scheme=server: script running failed (exited with code 127).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When i saw this issue last time, i have set the JAVA_HOME path in&amp;nbsp;splunk-launch.conf file, it worked then but we are seeing this error again&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 19:56:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-Unable-to-initialize-modular-input-quot/m-p/574069#M101505</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-11-08T19:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect Error:Unable to initialize modular input "server"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-Unable-to-initialize-modular-input-quot/m-p/574076#M101506</link>
      <description>&lt;P&gt;Just figured out the issue, Posting it here where it may help anyone with same situation.&lt;/P&gt;&lt;P&gt;Whenever linux patching is getting done, it is also updating our Java version,&lt;/P&gt;&lt;P&gt;So I went ahead and set the JAVA_HOME path again.&lt;/P&gt;&lt;P&gt;Steps followed:&lt;/P&gt;&lt;P&gt;1.found the java installation path on our linux box using the below command.&lt;/P&gt;&lt;P&gt;$(dirname $(dirname $(readlink -f $(which javac))))&lt;/P&gt;&lt;P&gt;2.Executed the below command after getting the path.&lt;/P&gt;&lt;P&gt;JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64&lt;/P&gt;&lt;P&gt;3. Updated the JAVA_HOME path in splunk-launch.conf file&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/opt/splunk/etc/splunk-launch.conf

 Modify the following line to suit the location of your Splunk install.
# If unset, Splunk will use the parent of the directory containing the splunk
# CLI executable.
#
# SPLUNK_HOME=/opt/splunk-home
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.el7_9.x86_64&lt;/LI-CODE&gt;&lt;P&gt;4. Updated the same JAVA_HOME path in the UI of Splunk DB connect-Configuration-Settings-JRE Installation path&lt;/P&gt;&lt;P&gt;5. Did a Splunk restart and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy Splunking&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 20:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-DB-Connect-Error-Unable-to-initialize-modular-input-quot/m-p/574076#M101506</guid>
      <dc:creator>Roy_9</dc:creator>
      <dc:date>2021-11-08T20:38:14Z</dc:date>
    </item>
  </channel>
</rss>

