All Apps and Add-ons

DB Connect 3.3.0 - Cannot communicate with task server, please check your settings

vschrodda
Explorer

I've combed through many similar questions, but no resolutions thus far have worked for me:

Issue:
- unable to get past http://servername:8000/en-US/app/splunk_app_db_connect/ftr#/welcome
- Upon first launch of the App, an error briefly pops up: "Cannot communicate with task server, please check your settings"
- In output of: "./splunk cmd splunkd print-modinput-config --debug server" I see:

===================================================
Found scheme="server".
Locating script for scheme="server"...
Found script "/opt/splunk/etc/apps/splunk_app_db_connect/linux_x86_64/bin/server.sh" to handle scheme "server".
Introspecting scheme=server: /usr/lib/jvm/java-11-openjdk-amd64/bin/java: symbol lookup error: /usr/lib/jvm/java-11-openjdk-amd64/bin/java: undefined symbol: JLI_InitArgProcessing
Introspecting scheme=server: script running failed (exited with code 127).

Unable to initialize modular input "server" defined in the app "splunk_app_db_connect": Introspecting scheme=server: script running failed (exited with code 127)..

What I've tried thus far:
- manually uninstalled and reinstalled the App, and restarting splunk
- added:
/etc/ld.so.conf.d/java.conf -- With the single-line contents (added to new Docker image):
/usr/lib/jvm/java-11-openjdk-amd64/lib/jli

System:
Splunk 8.0.3, dockerized on Debian 10
Open JDK 11
DB Connect 3.3.0
JAVA_HOME is set to: /usr/lib/jvm/java-11-openjdk-amd64/

0 Karma
1 Solution

vschrodda
Explorer

I'm able to get into the Splunk DB Connect page now.

In: /opt/splunk/etc/apps/splunk_app_db_connect/local
1. Added file: app.conf
2. Added stanza to file:
[install]
is_configured = 1
3. restarted splunk

I'm able to get in now

View solution in original post

0 Karma

vschrodda
Explorer

I'm able to get into the Splunk DB Connect page now.

In: /opt/splunk/etc/apps/splunk_app_db_connect/local
1. Added file: app.conf
2. Added stanza to file:
[install]
is_configured = 1
3. restarted splunk

I'm able to get in now

0 Karma

vschrodda
Explorer

Getting a little further... dbx_task_server is actually starting now, and have confirmed the tcp/9998 is listening now... but I am still getting the same error when trying to get into the DB Connect app (cannot communicate with task server)

2020-04-27 18:01:46.266 +0000 1758@ip-xx.xx.xx.xxx.eu-west-2.compute.internal [main] INFO io.dropwizard.server.ServerFactory - Starting dbx_task_server

In order to get this far, installed OpenJDK 8 from "adoptopenjdk"

0 Karma

jaime_ramirez
Communicator

Hi

Have you tried using JRE 8 or OpenJDK 8 instead of 11. Have you checked this answer https://answers.splunk.com/answers/507416/splunk-db-connect-how-to-resolve-can-not-communica.html?

Hope it helps.

0 Karma

vschrodda
Explorer

I'd have to go to an older version of Debian in order to natively get Open JDK (using apt) as only version 11 is available for Debian 10... I'm not too keen on having to do this for something I'm currently using in production (and would have to do a bunch of testing for). I considered it, but seems/feels counter-intuitive...

I believe I came across that article, but haven't attempted changing the port for DB Connect... I'll give that a try in the morning... thx!

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...