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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...