All Apps and Add-ons

DB Connect - dbxquery print default "java -h" message in logs

apanchev
New Member

Hi !

After upgrading DB Connect, dbxquery won't launch my queries.
Everything worked fine before, i didn't modify the configuration files.

Debian version : 9 (stretch)
Java version : 1.8.0_161
Splunk Enterprise version : 8.1.2
DB Connect version : 3.4.2 
MySQL version : 5.7


Every time i launch a query, i have the default << java -h >> message in my job logs :

03-01-2021 18:46:55.785 INFO  SearchOrchestrator - Creating the search DAG.
03-01-2021 18:46:55.785 INFO  SearchParser - PARSING: | dbxquery query="SELECT * FROM `maindb`.`message` WHERE id=208126611" connection="maindb"
03-01-2021 18:46:55.788 INFO  ChunkedExternProcessor - Running process: /opt/splunk/etc/apps/splunk_app_db_connect/linux_x86_64/bin/command.sh -DDBX_COMMAND_LOG_LEVEL\=INFO
03-01-2021 18:46:55.920 ERROR ChunkedExternProcessor - stderr: Usage: java [-options] class [args...]
03-01-2021 18:46:55.920 ERROR ChunkedExternProcessor - stderr:            (to execute a class)
[ ... default "java -h" message ... ]
03-01-2021 18:46:55.921 ERROR ChunkedExternProcessor - stderr: See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
03-01-2021 18:46:55.923 ERROR ChunkedExternProcessor - EOF while attempting to read transport header read_size=0
03-01-2021 18:46:55.924 ERROR ChunkedExternProcessor - Error in 'dbxquery' command: External search command exited unexpectedly with non-zero error code 1.

 

Does anyone have an idea how to fix this issue without having to reinstall DB Connect ?

Thank you very much

Labels (4)
0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!