All Apps and Add-ons

Why did my Splunk DB Connect 2 suddenly with error "RPC Service Down"?

bharathkumarnec
Contributor

Hi All,

All of a sudden my Splunk DB Connect 2 is not working.

Error : RPC Service Down.

Recycled Splunk service, but no luck.

Jre installation path : /opt/splunk/java8/jre1.8.0_60/

I don't see any errors in jbridge.log.

Below is the error from dbx2.log:

[CRITICAL] [ws.py] [DBInput Service] [Errno -2] Name or service not known

Kindly help me out on this issue. What do I need to look at to get this fixed?

Thanks for you help!

Regards

0 Karma

fdi01
Motivator

I had a very similar problem which turned out to be something incorrect in my path specification for Java. and though I forgot what the path had been (something VERY much like the correct path below, but not identical), but changing that path to fixed the issue.

In your case try this path : /opt/jre1.8.0_40/bin/java .
or
see this link it can help you:

https://docs.oracle.com/javase/tutorial/essential/environment/paths.html

0 Karma

caulfiel005
Explorer

I downvoted this post because this doesn't apply, this is the answer to another question posted about dbconnect

0 Karma

bharathkumarnec
Contributor

My java location is /opt/splunk/java8/jre1.8.0_60/, do you want me to move java to "/opt/jre1.8.0_40/bin/java" and configure it again??

Current configuration is working from so many days, all of a sudden we are seeing this issue.

Jvm options : -Xmx2048m -XX:+UseConcMarkSweepGC

0 Karma

gyslainlatsa
Motivator

hi bharathkumarnec,

Here are the steps of an example of a connection to a MySQL database using windows Operating System

Splunk CONNECTION TO DATABASE IF ANY CASE: MYSQL

1. creation of the database
2. installation of a local server or server xampp or WampServer
3. import your database to the local server
4. Install in the SplunkDbConnect Splunk application and configure start
   a) specify the path of jdk or jre in your machine by default was: C: \ Program Files \ Java \ jdk1.6.0 or C: \ Program Files \ Java \ jre1.6.0
   b) Download and install mysql-connector-java-5.1.32-gpl
   c) go to the installation folder C: \ Program Files \ MySQL \ MySQL Connector J
   d) copy to this directory in the mysql-connector-java-5.1.32-bin.jar paste and go to C: \ Program Files \ Splunk \ etc \ apps \ dbx \ bin \ lib
   e) then restart Splunk
5. After connection in splunk, you execute the implementation SplunkDbConnect
6. Then you click Database connections in Splunk Manager and click New then sue inform apparaisssent boxes.
7. Name = name of the Data Base that you need and that will be recorded in splunk.
   Type = DataBase MySql
   Host = localhost
   UserName = Root
   DataBase = Name Creates base. If applicable DataBaseTest.
   Then you click Fetch database names to see the catalog Databases and select the one you want
8. Finally, you click on Save.
0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...