Hello,
After upgrading Splunk to a newer version, the Splunk DB Connect 1 isn't work for me and I'm getting the erro :
The Java Bridge server is not running
I tried to search here for a solution with no success.
Thanks 🙂
upgrade to Java8 solved the problem
problem again:
Java Bridge in running
while trying to add a database input i got the error:
Encountered the following error while trying to save: Splunkd daemon is not responding: ('Error connecting to /servicesNS/admin/dbx/dbx/databases: The read operation timed out',)
Thanks
Possible Java version or JAVA_HOME issue.
See additional details in the links below.
http://answers.splunk.com/answers/216425/java-bridge-not-running-1.html
http://answers.splunk.com/answers/248899/how-to-make-java-bridge-server-status-is-running.html
http://answers.splunk.com/answers/115786/java-bridge-active.html
What platform or OS are you running Splunk on? What version of Java JRE are you running? What exact version of DB connect are you running?
Please note Splunk DB Connect requirements extracted from https://splunkbase.splunk.com/app/958/
DB Connect 1.2.0 or higher is not compatible with Java 6 or 7. Use Java 8 instead.
DB Connect 1.1.7 or lower is not compatible with Java 8. Use Java 6 or 7 instead.
*DB Connect 1.1.4 or lower is not Splunk 6.2 compatible. DB Connect 1.1.5 or higher should be used with Splunk 6.2. *
I am assuming you are using If you are using a Redhat, CentOS, Fedora distro which can use yum...
The Splunk documentation states to use Oracles http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.rpm. OpenJDK packages may cause unknown issues. See http://docs.splunk.com/Documentation/DBX/1.2.0/DeployDBX/Deploymentrequirements
For OpenJDK use
yum list installed "java"
This will list what java version is installed on your machine
use
yum search openjdk or yum search java-1.8.0
This will display whether java 8 is available in your repositories.
You can also use
yum deplist java-1.8.0-openjdk.x86_64 to list all the dependancies of that package... which will probably also need installing but which will / should be installed automatically if you use yum.
Or if you download the oracle package. And place the oracle download onto your Linux machine. Then as a priviledged user (sudo or root), use
rpm -i /folder_you_placed_the_rpm_on/jdk-8u60-linux-x64.rpm
hey , im using 1.2 version , linux OS
what is the way to install Java 8 ?
thanks