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

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...