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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...