All Apps and Add-ons

Unable to initialize modular input "server" defined inside the app "splunk_app_db_connect": Introspecting scheme=server: script running failed (exited with code 1).

sivaksk147
Explorer

Hi Team

i am getting following error after installing DB connect app in my splunk enterprise server

Unable to initialize modular input "server" defined inside the app "splunk_app_db_connect": Introspecting scheme=server: script running failed (exited with code 1).

omera
Explorer

Hi I am getting the same error @sivaksk147 gets (Unable to initialize modular input "server" defined in the app "splunk_app_db_connect": Introspecting scheme=server: script running failed (exited with code 1)).

After the db connect app installation if I try to start the app splunk crashes and I need to start it again. I'm a mac user. Is there any solution. Thanks

0 Karma

dhirendra761
Contributor
It is due to JAVA_HOME env variable. Set the correct value by mapping with JRE location in C drive. and just restart the splunkd.
0 Karma

ckp123
Path Finder
0 Karma

mkocak
Explorer

Hi

This is for Windows Hosts:

You need to specify the JDK Install path rather than keeping the default string value that points to JRE Path

Configuration / Settings / General under JRE Installation path remove what's there and add the path for JDK instead, then restart the SPLUNKD service

michaelgbean
New Member

I am also experiencing this problem

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...