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
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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...