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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...