All Apps and Add-ons

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

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/ -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 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
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!


Or Learn More in Our Blog >>