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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...