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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...