Deployment Architecture

DB connect – JAVA_HOME path not exist error

kcooper
Communicator

i have installed db connect on a SHC via the deployer.
The jdk1.1.8.0_131 is installed on the deployer in the /opt/splunk/etc/shcluster/apps/splunk_app_db_connect/drivers/jdk1.8.0_131
It was pushed to the SHC captain - location of jdk1... /opt/splunk/etc/apps/splunk_app_db_connect/drivers/jdk1.8.0_131/
* changed the path on the dbconnect app via the splunk console/qui to /configuration/settings/
* in the JRE Installation Path(JAVA_HOME) i have the exact path that the jdk1... is located. But i receive a JAVA_HOME path not exist" when i try to save it.
Any idea why it won't save one of the SHCs via the splunk console/gui? In what file does the confguration/settings reside. Maybe i need to change it there in the deployer and then push it to the SHC captain.

Tags (2)
0 Karma

matthewssa
Path Finder

References: https://docs.splunk.com/Documentation/DBX/3.1.4/DeployDBX/Distributeddeployment

jdk1.1.8.0_131 is a Linux RPM and would be installed on the system like so.
Keep in mind that the java rpm would need to be install on all instance that is running dbconnect.

rpm -i filename.rpm

I have only done single instance installs of dbconnect and not on a SHC, but this is what I've found about installing it on a cluster.
1. It looks like the db connect first needs to be setup on the search head deployer.
2. Download the latest version of dbconnect
3. Download and install jdk as mentioned above.
4. Download and install any db drivers required for your deployment. https://docs.splunk.com/Documentation/DBX/3.1.4/DeployDBX/Installdatabasedrivers
5. Logon and ensure that the app is working.
6. Create identities and connections.
7. Copy the dbconnect app from /etc/apps to /etc/shcluster/apps on the deployer. There was an additional mention of two files that would need to be copied over manually from the deployer to the SHC nodes. kerberos_client.conf and identity.dat
8. Issue the deployer command

splunk apply shcluster-bundle -target <URI>:<management_port> -auth <username>:<password>
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 ...