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.

Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...