All Apps and Add-ons

Splunk DB Connect 2: Why am I getting "Error: Could not find or load main class com.splunk.dbx2.rpc.RPCServer"?

mmensch
Path Finder

Hi all,

I've checked the other posts regarding RPC connector.

My java home is in the correct spot and it is defined properly in the inputs.conf file.

The errors I am receiving are:

09/04/2015 13:30:17 [CRITICAL] [rpcstart.py] RPC server has been terminated abnormally with error [Error: Could not find or load main class com.splunk.dbx2.rpc.RPCServer].
0 Karma

ejharts2015
Communicator

This took me forever to figure out.... when I was importing the db drivers I somehow deleted the rpcserver-all.jar located at:

$SPLUNK_HOME$/etc/apps/splunk_app_db_connect/bin/lib/rpcserver-all.jar

Re-uploaded this missing jar from the original tar.gz off the Splunk app store, restarted the server and was golden!

Get Updates on the Splunk Community!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...