All Apps and Add-ons

Cannot create new DB Connection in Splunk DB Connect

rayleigh29
Explorer

Hi all,
I’m trying to add a new connection in Splunk DB Connect but I always get this error popup:

<?xml version="1.0" encoding="UTF-8"?>
<response>
<messages>
<msg type="ERROR">Not Found</msg>
</messages>
</response>

rayleigh29_2-1764955014068.png

Symptoms:

  • Can open the DBX UI normally
  • When clicking "New Connection" — page attempts to load, then shows error above

Troubleshooting done so far:

  • Confirmed Java installed and JAVA_HOME set
  • Confirmed Task Server is running port 9998 is listening
  • Reinstalled DB Connect and Java

rayleigh29_5-1764955127344.png

OS : Ubuntu 22.04

Splunk Enterprise : 10.0.2

DB Connect : tried 3.18.6 and upgraded to 4.1.2 — same issue

Java Version : OpenJDK-17 (tried upgrading to OpenJDK-21 - same issue)

 

Thankyou for all the help!

 

 

 

Labels (2)

Kabombo
New Member

I am also facing the same issue,any solution for this?

0 Karma

PrewinThomas
Motivator

@rayleigh29 

Did DB Connect function previously? Please verify file permissions for the DB Connect app and ensure the user has adequate read/execute access.

splunk stop
chown -R splunk:splunk $SPLUNK_HOME/etc/apps/Splunk_DB_Connect
chmod -R 755 $SPLUNK_HOME/etc/apps/Splunk_DB_Connect


If your kvstore is corrupted, clean the kvstore

$SPLUNK_HOME/bin/splunk clean kvstore --app Splunk_DB_Connect

Then start splunk and test again.


Regards,
Prewin
🌟If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...