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
Get Updates on the Splunk Community!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...