All Apps and Add-ons

Splunk DB connect App - Java bridge server not running

manupkd
New Member

Hi,

We have a Splunk(5.0.1-64bit) setup in Windows 2008R2(64 bit). We had installed DBconnect-1.0.8 app in splunk server with Java 7 64bit. But after configuring the JAVA_HOME in DBconnect, it is not able to start the Java Bridge server. It is showing "Java bridge server is not running".

We tried to replicate the issue in 32 bit OS setup with same versions of Splunk, Java & DBconnect app and it is working fine.

Please find the jbridge error log.
http://pastebin.com/55A8bcHB

Appreciate your help on same.

Thanks,
Manu

0 Karma

srisahitya_v
Communicator

hi,

follow the command line setup in below link
http://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Installtheconnector

instead of your splunk\etc\apps\dbx\local\inputs.conf

paste below code. here below code in script ( . ) represents the automatic path so may it will work for you.

[script://.\bin\jbridge_server.py]
disabled = 0

[batch://$SPLUNK_HOME\var\spool\dbmon*.dbmonevt]
crcSalt =
disabled = 0
move_policy = sinkhole
sourcetype = dbmon:spool

ziegfried
Influencer

The error is very well hidden in the log file: java.io.FileNotFoundException: C:\Program Files\Splunk\var\lib\splunk\persistentstorage\dbx\global\state.xml (Access is denied). It Seems like the DB Connect process is not able to access file it needs to write to. Please check the permissions of your Splunk installation directory.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...

Build and Launch AI Agents from Your Splunk Workflows

  Register We’ve all been there: juggling alerts, runbooks, and endless manual searches. What if you could ...

Splunk Cloud Application Management in Terraform

Register   On Tuesday, August 4 at 11AM PDT / 2PM EDT, we’re diving into how you can bring Infrastructure as ...