Archive
Highlighted

DB Connect doesn't works, RPC Service: Down error

New Member

Hi,

the DB Connect 2 (Splunk 6.2.6) doesn't works , the RPC Service: Down message is displayed, the error log contains this:

11/04/2015 08:22:37 [DEBUG] [rpcstart.py] start running
11/04/2015 08:22:37 [DEBUG] [rpcstart.py] UseSSL: False
11/04/2015 08:22:37 [DEBUG] [rpcstart.py] jcommand = [u'C:\Program Files\Java\jre1.8.060\bin\java', u'None', '-classpath', 'E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\antlr4-annotations-4.4.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\antlr4-runtime-4.4.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\avro-1.7.6.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\avro-compiler-1.7.6.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\avro-ipc-1.7.6.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\commons-logging-1.1.2.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\dbx2.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\jackson-all-1.9.11.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\jetty-http-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\jetty-io-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\jetty-security-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\jetty-server-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\jetty-servlet-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\jetty-util-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\log4j-1.2.17.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\servlet-api-3.1.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\slf4j-api-1.7.7.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\slf4j-log4j12-1.7.7.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\sqljdbc4.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\commons-io-2.4.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\javax-websocket-server-impl-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\javax.websocket-api-1.0.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\jcs-2.0.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\slf4j-ext-1.7.7.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\websocket-api-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\websocket-client-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\websocket-common-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\websocket-server-9.2.4.v20141103.jar;E:\Program Files\Splunk\etc\apps\splunkappdbconnect\bin\lib\ext\websocket-servlet-9.2.4.v20141103.jar', '-DSPLUNK_HOME=E:\Program Files\Splunk', 'com.splunk.dbx2.rpc.RPCServer', u'127.0.0.1:8088']
11/04/2015 08:22:37 [DEBUG] [rpcstart.py] win32 handler registered
11/04/2015 08:22:37 [INFO] [rpcstart.py] proc.pid = 6456

11/04/2015 08:22:37 [CRITICAL] [rpcstart.py] RPC server has been terminated abnormally with error [[Errno 22] Invalid argument].
11/04/2015 08:22:42 [DEBUG] [service.py] The RPC server is not ready to serve yet as .

what is the invalid argument and how to solve it?
thanks.

Tags (1)
0 Karma
Highlighted

Re: DB Connect doesn't works, RPC Service: Down error

Communicator

Under Settings for DBX, do you have the correct value configured for JRE Installation Path (JAVAHOME)? For me, it's C:\Program Files\Java\jdk1.8.051\jre.

0 Karma
Highlighted

Re: DB Connect doesn't works, RPC Service: Down error

New Member

I tried JRE 8 JDK 8 and JRE 7
same result.
the system is able to find the Java runtime and start it. I can see the TCP port opened for few seconds.
but the process crash just after the startup of the process.

what are the parameters you have in your settings?
maybe I have to add something in the JVM Options section?

0 Karma
Highlighted

Re: DB Connect doesn't works, RPC Service: Down error

Communicator

I didn't modify the default JVM options, but this is what I have:

-Xmx1024m -XX:+UseConcMarkSweepGC

0 Karma
Highlighted

Re: DB Connect doesn't works, RPC Service: Down error

Communicator

Also, I kept the default RPC Server Port (9998) and RPC Server SSL is disabled.

0 Karma