I am trying to setup Splunk on a Linux machine, along the Splunk DB Connect add-on. However, when I open the add-on, I receive the following error:
"Can not communicate with task server, please check your settings."
Checking my log files, it seems that the port 9998 (the one set by default) is already in use. I tried changing the port to something else, as suggested by some answers to similar problems but then I receive an additional error:
"Unable to establish a secure connection to DBX Server, please make sure it is started and listening on 9998 port or consult documentation for details"
How can I resolve this?
So I've managed to resolve it! Turns out all I needed to do was to navigate to Configuration > Settings > General and ALSO change the task server port to the new one in the "JVM Options" and "Task Server Port" boxes.
So I've managed to resolve it! Turns out all I needed to do was to navigate to Configuration > Settings > General and ALSO change the task server port to the new one in the "JVM Options" and "Task Server Port" boxes.
Possible solution would be a missing JRE installation.
Validate JRE is installed:
java --version
If nothing is returned, then on Ubuntu:
sudo apt install default-jre
Restart Splunk.
changed to a different port other than port 9998, e.g. 9995 and works fine.
hi sakeebhossain,
please check this answer:
https://answers.splunk.com/answers/507416/splunk-db-connect-how-to-resolve-can-not-communica.html
hope it helps
Hi adonio, I already tried this solution, (changing port to 1025 in dbx_task_server.yml) but I still get the second error I mentioned: "Unable to establish a secure connection to DBX Server, please make sure it is started and listening on 9998 port or consult documentation for details"