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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...