All Apps and Add-ons

DBConnect "cannot communicate with task server"

nick405060
Motivator

Splunk 7.2 running on Ubuntu. I specified /usr/lib/jre1.8.0_191.... tried ports 9998 and 1025.

Cannot communicate with task server, please check your settings
Tags (1)
0 Karma
1 Solution

nick405060
Motivator

Lmfao, here's the answer.

So in the newer 3+ versions of DBConnect (by new, I mean multiple years old and somehow someone thought it was unacceptable NOT to do anything about it), you need to specify the JDK path, not JRE. Forget the fact that every version of DBconnect ever has pointed to the JRE, and forget the fact that it literally says to enter the "JRE Installation Path." Here's a suggestion: maybe the configuration shouldn't ASK for the JRE path?? It literally says JRE Installation Path. Just edit one line of your code guys.

Second, that still didn't fix the problem. It gave me the same error message after trying it with the JDK. You need to magically know that, despite getting an error message, despite it telling you it was unable to save your settings or start the task server, everything is actually okay. If you reboot Splunk DBconnect will now be configured.

#logic

View solution in original post

ManchitMalik
Explorer

There might be the issue with httpinput app. check the folder- $SPLUNK_HOME/etc/apps/htttp_input. Make sure this directory is available.

0 Karma

nick405060
Motivator

Lmfao, here's the answer.

So in the newer 3+ versions of DBConnect (by new, I mean multiple years old and somehow someone thought it was unacceptable NOT to do anything about it), you need to specify the JDK path, not JRE. Forget the fact that every version of DBconnect ever has pointed to the JRE, and forget the fact that it literally says to enter the "JRE Installation Path." Here's a suggestion: maybe the configuration shouldn't ASK for the JRE path?? It literally says JRE Installation Path. Just edit one line of your code guys.

Second, that still didn't fix the problem. It gave me the same error message after trying it with the JDK. You need to magically know that, despite getting an error message, despite it telling you it was unable to save your settings or start the task server, everything is actually okay. If you reboot Splunk DBconnect will now be configured.

#logic
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...