Splunk Enterprise

Why is it failing to restart Task server in Splunk DB Connect App?

Ashwini008
Builder

Hi,

I have installed Splunk DB Connect App 3.6.0 version on Splunk 8.0.5 Platform.

I keep getting this error 'Cannot communicate with task server, please check your settings.'

When I started to restart task server i get 'Failed to restart'.

So far I have checked the following.

  1. Confirmed the java path file has correct info(/opt/app/jdk1.8.0_51)
  2. Confirmed that port 9998 and 9999 are not currently used
  3. Confirmed ports are no blocked by any firewall
  4. I have tried using other ports instead of 9998 like 1025 but still the error exists
  5. Restarted Splunk Server couple of time

Also,I see the following error when I run 'index=_internal sourcetype="dbx*" *ERROR*'

[ERROR] [settings.py], line 133: unable to update java path file [/opt/app/splunk/splunk/etc/apps/splunk_app_db_connect/linux_x86/bin/customized.java.path]

[ERROR] [settings.py], line 89 : Throwing an exception Traceback (most recent call last): File "/opt/app/splunk/splunk/etc/apps/splunk_app_db_connect/bin/dbx2/rest/settings.py", line 76, in handle_POST self.validate_java_home(payload["javaHome"]) File "/opt/app/splunk/splunk/etc/apps/splunk_app_db_connect/bin/dbx2/rest/settings.py", line 215, in validate_java_home is_valid, reason = validateJRE(java_cmd) File "/opt/app/splunk/splunk/etc/apps/splunk_app_db_connect/bin/dbx2/jre_validator.py", line 73, in validateJRE output = output.decode('utf-8') AttributeError: 'str' object has no attribute 'decode'

Any solution to resolve this would be of great help. Thanks!

0 Karma

Ashwini008
Builder

@ITWhisperer @jcoates_splunk +++ 

Any suggestions please

Tags (1)
0 Karma

sandeepreddy947
Path Finder

Did you get it resolved ?

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...