All Apps and Add-ons

DB Connect - Cannot Communicate with Task Server

vpsmax
Path Finder

Hello.

Good afternoon.  Looking to troubleshoot a DB Connect error "cannot communicate with task server".  Below is the error messages received ...

2020-12-09 09:04:27.033 -0600 [Thread-15] INFO org.eclipse.jetty.server.AbstractConnector - Stopped application@b54cfd8{HTTP/1.1,[http/1.1]}{127.0.0.1:9998}
2020-12-09 09:04:27.035 -0600 [Thread-15] INFO com.splunk.dbx.server.task.DefaultTaskService - action=try_to_graceful_stop_task_service
2020-12-09 09:04:27.035 -0600 [Thread-15] INFO org.quartz.core.QuartzScheduler - Scheduler QuartzScheduler_$_NON_CLUSTERED shutting down.
2020-12-09 09:04:27.035 -0600 [Thread-15] INFO org.quartz.core.QuartzScheduler - Scheduler QuartzScheduler_$_NON_CLUSTERED paused.
2020-12-09 09:04:27.519 -0600 [Thread-15] INFO org.quartz.core.QuartzScheduler - Scheduler QuartzScheduler_$_NON_CLUSTERED shutdown complete.
2020-12-09 09:04:27.519 -0600 [Thread-15] INFO c.s.dbx.server.managedobject.CheckpointCleaner - action=stop_checkpoint_cleaner
2020-12-09 09:04:27.520 -0600 [Thread-15] INFO c.s.d.s.api.service.database.ConnectionCleaner - action=stop_datasource_clean_up_task
2020-12-09 09:04:27.540 -0600 [Thread-15] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped i.d.j.MutableServletContextHandler@809f75c{/,null,UNAVAILABLE}

Checked the DB Connect configuration include JRE Installation Path, JVM Options and Task Server Port (9998) and see no issues.  How can this issue be resolved?

Regards,
Max

 

Labels (1)
0 Karma
1 Solution

vpsmax
Path Finder

We were able to resolve the issue by ...

  • Reverting back to DB Connect 3.1.4
  • Changing the Task Server port from 9998 to 9995

  

View solution in original post

0 Karma

vpsmax
Path Finder

We were able to resolve the issue by ...

  • Reverting back to DB Connect 3.1.4
  • Changing the Task Server port from 9998 to 9995

  

0 Karma

vpsmax
Path Finder

Tried looking at $JAVA_HOME.

1 - Ran echo $JAVA_HOME and it is set to /usr/lib/jvm/java-se-8u40-ri

2 - Checked the JRE Installation Path (JAVA_HOME) within DB Connect and it is also set to /usr/lib/jvm/java-se-8u40-ri

 

0 Karma

vpsmax
Path Finder

Also, tried enabling Port 9998 within inputs.conf.  Added the following stanza to inputs.conf:

[splunktcp-ssl:9998]
compressed = true

But still having issues.

 

0 Karma

vpsmax
Path Finder

To troubleshoot, tried to change the Task Server Port from 9998 to 9995 but still having issues.

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...