Splunk Search

DBConnect - SQLconnection

gudavasr
Path Finder

Hi,
when I try to connect to sql server with dbconnect, i get this exception:
In handler 'dbx-databases': Unknown error while validating database connection

Can someone help how to fix this?

Tags (1)
0 Karma

gudavasr
Path Finder

The issue is:
in dbx/local/java.conf

i gave /usr/bin/ as java path.

Somewhere the process is adding bin i.e. the commandline is /usr/bin/bin/java instead of /usr/bin/java.

i changed java.conf to /usr/ and it started working.

the issue is found in jbridge.log

Thank You

ziegfried
Influencer

Without the java bridge running it won't work. Go to settings -> Configure DB Connect and make sure the java installation path is correct. If that doesn't help take a look into jbridge.log to find out why it's not starting.

0 Karma

gudavasr
Path Finder

no, java bridge is not running. I don't see dbx.log in my deployment.
I am looking at this doc: http://docs.splunk.com/Documentation/DBX/latest/

is there any other doc that I can follow?

0 Karma

ziegfried
Influencer

is the java bridge running? Are there any error messages in dbx.log? You can look for errors using the built-in saved search "Recent DB Connect errors" in the Searches dropdown in the app.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...