Daemon startup failed with exit code

Hi everyone,

I am testing out esrally and running into the following issues while running java17 and testing 8.7.0:

[user ~]$ esrally race --distribution-version=8.7.0 --track=geonames

    ____        ____
   / __ \____ _/ / /_  __
  / /_/ / __ `/ / / / / /
 / _, _/ /_/ / / / /_/ /
/_/ |_|\__,_/_/_/\__, /
                /____/

[INFO] Race id is [c66f695f-1a84-4b23-bb57-a5c6ecf83693]
[INFO] Preparing for race ...
[ERROR] Cannot race. Daemon startup failed with exit code [1]
	Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/esrally/mechanic/mechanic.py", line 580, in receiveMsg_StartNodes
    self.mechanic.start_engine()
  File "/usr/local/lib/python3.8/site-packages/esrally/mechanic/mechanic.py", line 700, in start_engine
    self.nodes = self.launcher.start(self.node_configs)
  File "/usr/local/lib/python3.8/site-packages/esrally/mechanic/launcher.py", line 133, in start
    return [self._start_node(node_configuration, node_count_on_host) for node_configuration in node_configurations]
  File "/usr/local/lib/python3.8/site-packages/esrally/mechanic/launcher.py", line 133, in <listcomp>
    return [self._start_node(node_configuration, node_count_on_host) for node_configuration in node_configurations]
  File "/usr/local/lib/python3.8/site-packages/esrally/mechanic/launcher.py", line 163, in _start_node
    node_pid = self._start_process(binary_path, env)
  File "/usr/local/lib/python3.8/site-packages/esrally/mechanic/launcher.py", line 222, in _start_process
    raise exceptions.LaunchError(msg)
esrally.exceptions.LaunchError: Daemon startup failed with exit code [1]

I am running esrally version 2.10.0. I checked and made sure that the java version is compatible but still face this issue. Any tips would help!

Hello,

Have you checked in the log files in .rally/logs and ${HOME}/.rally/benchmarks/races/c66f695f-1a84-4b23-bb57-a5c6ecf83693/elasticsearch-0/logs/server ?

There should hopefully be something in the elasticsearch log that will give a clue why it was not able to start

Let me know how you get on

Gareth

Ah I had forgotten to set JAVA17_HOME env variable. Fixed now :slight_smile:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.