Splunk Enterprise

Splunk dbconnect error

Strangertinz
Path Finder

dbconnect_error.PNG

How do I change the directory path for the error below. the problem is with the /bin/bin in the path. 

Any help is greatly appreciated!

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Change the Java home setting in DB Connect and/or correct the $JAVA_HOME environment variable.

---
If this reply helps you, Karma would be appreciated.
0 Karma

Strangertinz
Path Finder

hi @richgalloway 

I did change the java setting and corrected the the JAVA home env but no luck. Is there a file where Splunk is storing this info. 

Thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Did you restart Splunk after changing $JAVA_HOME?

The info is stored in $SPLUNK_HOME/etc/apps/splunk_app_db_connect/local/dbx_settings.conf,  See https://docs.splunk.com/Documentation/DBX/3.18.0/DeployDBX/settingsconfspec for a description of the contents.

---
If this reply helps you, Karma would be appreciated.
0 Karma

Strangertinz
Path Finder

@richgalloway 

I checked the dbx_settings.conf file and I see the right java path in the file but I am still seeing the same error. 

I have tried reinstalling the dbconnect app with no luck. 

also tried searching for the string "/bin/bin" in the splunk db_connect app path with no luck showing the string in any file. 

 

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you tried removing '/bin' from JAVA_HOME and the config file?

---
If this reply helps you, Karma would be appreciated.
0 Karma

Strangertinz
Path Finder

The /bin is not in the JAVA_HOME nor the config file which made the problem more perplexing. 

after uninstalling/reinstalling and trying everything I could I now have a new problem... The new error is now 


The Task Server is currently unavailable. Please ensure it is started and listening on port 9998. See the documentation for more details"

0 Karma

alohrer1
New Member

Any update on this topic? I am facing the same issue.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...