All Apps and Add-ons

Splunk DB Connect Cannot communicate with Task Error

camper1
Loves-to-Learn Lots

I'm currently running Splunk 9.1.3 enterprise and Splunk DB Connect 3.16. When logging into Splunk I receive this error message in DB Connect that states, "Can not communicate with task server, check your settings."

I made sure it was in the correct path in dbx_settings.conf and customized.java.path as well.

Any suggestions would help.







DBerror_1.pngimage (1).pngMicrosoftTeams-image.png

Labels (2)
0 Karma

camper1
Loves-to-Learn Lots

I believe it was "https://jdk.java.net" 

Is there a certain package of OpenJDK or OracleJDK I should be using.

0 Karma

marnall
Motivator

I tried that one. I have a debian test system, and downloaded the x64 Debian package from https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.deb . Used dpkg to install, and it made a dir at /usr/lib/jvm/jdk-17-oracle-x64/ . However, providing this path to the DB-connect app still failed to reset the task server.

Then I tried using "apt install default-jre". It created the folder "/usr/lib/jvm/java-17-openjdk-amd64" along with links in the "/usr/lib/jvm/" directory. For some reason the splunk DB connect app would not accept "/usr/lib/jvm/java-17-openjdk-amd64" (failed to reset task server), but it did accept "/usr/lib/jvm/java-1.17.0-openjdk-amd64/" and successfully restarted the task server.

Unless you have a strong reason to use a specific JDK, I recommend trying different ones until you get one which works.

0 Karma

marnall
Motivator

There is likely still something wrong with the Java installation. I remember installing JDK-17 myself and then it did not work but then I tried another package and it worked. Where are you getting your JDK from?

0 Karma
Get Updates on the Splunk Community!

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...