<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: splunk db connector RPC server in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138176#M23044</link>
    <description>&lt;P&gt;try to look at this one:&lt;BR /&gt;
&lt;A href="https://docs.oracle.com/javase/tutorial/essential/environment/paths.html"&gt;https://docs.oracle.com/javase/tutorial/essential/environment/paths.html&lt;/A&gt; : ) &lt;/P&gt;</description>
    <pubDate>Thu, 23 Apr 2015 08:15:30 GMT</pubDate>
    <dc:creator>Federica_92</dc:creator>
    <dc:date>2015-04-23T08:15:30Z</dc:date>
    <item>
      <title>splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138170#M23038</link>
      <description>&lt;P&gt;Hi everyone, I have installed splunk db connector 2, using the last splunk version. &lt;BR /&gt;
I have follow the installation step, so I have installed mysql, jre and the db driver. &lt;/P&gt;

&lt;P&gt;Still I have a problem: RPC service down, I have active the debug mode to check where could be the problem, and these are the log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  04/08/2015 03:02:47 [CRITICAL] [rpcstart.py] RPC server has been terminated abnormally with error [[Errno 2] No such file or directory].
  04/08/2015 03:02:46 [CRITICAL] [rpcstart.py] attempting to disable RPC server "rpcstart://default"
  04/08/2015 03:02:46 [CRITICAL] [rpcstart.py] rpcstart failed with Exception: "[Errno 2] No such file or directory"
  04/08/2015 03:02:46 [DEBUG] [rpcstart.py] UseSSL: False
  04/08/2015 03:02:46 [DEBUG] [rpcstart.py] start running
  04/08/2015 03:02:31 [DEBUG] [rpcstart.py] jcommand = [u'/opt/jre1.8.0_40/bin/java', u'-Xmx1024m', u'-XX:+UseConcMarkSweepGC', '-classpath', '/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/commons-logging-1.1.2.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/mysql-connector-java-5.1.35-bin.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/jetty-http-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/slf4j-api-1.7.7.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/jackson-all-1.9.11.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/servlet-api-3.1.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/slf4j-log4j12-1.7.7.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/avro-compiler-1.7.6.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/avro-1.7.6.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/jetty-server-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/jetty-servlet-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/jetty-security-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/antlr4-annotations-4.4.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/jetty-io-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/dbx2.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/avro-ipc-1.7.6.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/log4j-1.2.17.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/antlr4-runtime-4.4.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/jetty-util-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/javax-websocket-server-impl-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/slf4j-ext-1.7.7.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/websocket-client-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/javax.websocket-api-1.0.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/websocket-servlet-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/jcs-2.0.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/websocket-api-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/websocket-common-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/websocket-server-9.2.4.v20141103.jar:/opt/splunk/etc/apps/splunk_app_db_connect/bin/lib/ext/commons-io-2.4.jar', '-DSPLUNK_HOME=/opt/splunk', 'com.splunk.dbx2.rpc.RPCServer', u'127.0.0.1:9998']
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;May someone help me? Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 10:10:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138170#M23038</guid>
      <dc:creator>Federica_92</dc:creator>
      <dc:date>2015-04-08T10:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138171#M23039</link>
      <description>&lt;P&gt;I had a very similar problem which turned out to be something incorrect in my path specification for Java.  My test machine for DBX2 is windows, 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 &lt;CODE&gt;C:\Program Files\Java\jre8\jre&lt;/CODE&gt; fixed the issue.  &lt;/P&gt;

&lt;P&gt;In your case, is &lt;CODE&gt;/opt/jre1.8.0_40/bin/java&lt;/CODE&gt; correct insofar as it goes?  You may need to specify a subdirectory under that.  Worth a try, anyway.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:42:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138171#M23039</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-04-08T16:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138172#M23040</link>
      <description>&lt;P&gt;Thank you so much, I have solved the problem installing jre under usr instead of opt : ) &lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2015 08:14:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138172#M23040</guid>
      <dc:creator>Federica_92</dc:creator>
      <dc:date>2015-04-09T08:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138173#M23041</link>
      <description>&lt;P&gt;In my case, for Mac OSX, I needed to use: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre for Java JDK 1.8.0.45.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 23:36:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138173#M23041</guid>
      <dc:creator>jwelsh_splunk</dc:creator>
      <dc:date>2015-04-15T23:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138174#M23042</link>
      <description>&lt;P&gt;In my case, Windows 2008 R2, the correct path is: C:/Program Files/Java/jdk1.8.0_45/jre&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2015 06:35:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138174#M23042</guid>
      <dc:creator>emcathalo</dc:creator>
      <dc:date>2015-04-20T06:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138175#M23043</link>
      <description>&lt;P&gt;Where should I change the jre path ??&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2015 19:54:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138175#M23043</guid>
      <dc:creator>ViniciusANT</dc:creator>
      <dc:date>2015-04-22T19:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138176#M23044</link>
      <description>&lt;P&gt;try to look at this one:&lt;BR /&gt;
&lt;A href="https://docs.oracle.com/javase/tutorial/essential/environment/paths.html"&gt;https://docs.oracle.com/javase/tutorial/essential/environment/paths.html&lt;/A&gt; : ) &lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 08:15:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138176#M23044</guid>
      <dc:creator>Federica_92</dc:creator>
      <dc:date>2015-04-23T08:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138177#M23045</link>
      <description>&lt;P&gt;Thanks for the tip @jwelsh_splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:47:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138177#M23045</guid>
      <dc:creator>Edmondi</dc:creator>
      <dc:date>2015-04-30T14:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138178#M23046</link>
      <description>&lt;P&gt;In case of CentOS 6.6 with &lt;CODE&gt;java-1.8.0-openjdk&lt;/CODE&gt; package, correct directory to Java that worked with Splunk was&lt;BR /&gt;
&lt;CODE&gt;/usr/lib/jvm/jre-1.8.0&lt;/CODE&gt;.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;More info: I first used &lt;CODE&gt;/usr/lib/jvm/jre&lt;/CODE&gt; (DO NOT use it), but then the following started to appear in dbx2.log:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[CRITICAL] [rpcstart.py] RPC server has been terminated abnormally with error [Exception in thread "main" java.lang.UnsupportedClassVersionError: com/splunk/dbx2/rpc/RPCServer : unsupported major.minor version 52.0].&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;It turned out that default Java version for CentOS is Java 7, and the DBConnect 2 was compiled for Java 8.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 13:04:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138178#M23046</guid>
      <dc:creator>chojrak11</dc:creator>
      <dc:date>2015-05-27T13:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: splunk db connector RPC server</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138179#M23047</link>
      <description>&lt;P&gt;I added &lt;CODE&gt;\bin&lt;/CODE&gt; in my case&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2015 12:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/splunk-db-connector-RPC-server/m-p/138179#M23047</guid>
      <dc:creator>imanpoeiri</dc:creator>
      <dc:date>2015-09-02T12:04:14Z</dc:date>
    </item>
  </channel>
</rss>

