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
Observer

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
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!

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...

Federated Search for Dynamic Data Self Storage Is Now Generally Available on Splunk ...

 Splunk is excited to announce the General Availability of Federated Search for Dynamic Data Self Storage ...