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!

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...