# esrally.exceptions.LaunchError: Daemon startup failed with exit code \[1\] on Elasticsearch post 8.0.0 version

**URL:** <https://discuss.elastic.co/t/esrally-exceptions-launcherror-daemon-startup-failed-with-exit-code-1-on-elasticsearch-post-8-0-0-version/306714>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [June 8, 2022, 2:40pm UTC](https://discuss.elastic.co/t/esrally-exceptions-launcherror-daemon-startup-failed-with-exit-code-1-on-elasticsearch-post-8-0-0-version/306714 "2022-06-08T14:40:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gsqsf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gsqsf/32/106583_2.png) [@Gsqsf](https://discuss.elastic.co/u/Gsqsf)\
**Post date:** [June 8, 2022, 2:40pm UTC](https://discuss.elastic.co/t/esrally-exceptions-launcherror-daemon-startup-failed-with-exit-code-1-on-elasticsearch-post-8-0-0-version/306714/1 "2022-06-08T14:40:08Z")

</div>

Similar to the problem [esrally.exceptions.LaunchError: Daemon startup failed with exit code [1]](https://discuss.elastic.co/t/esrally-exceptions-launcherror-daemon-startup-failed-with-exit-code-1/302323)

I had the error code esrally.exceptions.LaunchError: Daemon startup failed with exit code [1] with the command:

```auto
esrally race --distribution-version=8.0.1 --track-path=/home/bastien/.rally/tracks/syslog_all --car=defaults,basic-license

```

You can remplace 8.0.1 by any 8.\* version, the error will be the same

I followed the first topic instruction and found out the error was:

```auto
elasticsearch-8.0.1/bin/elasticsearch -d

warning: ignoring JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64; using bundled JDK
warning: ignoring JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64; using bundled JDK
warning: ignoring JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64; using bundled JDK

```

I installed java-17 and changed the Java\_Home to java 17 and the following command worked:

```auto
esrally race --distribution-version=8.0.1 --preserve-install --track-path=/home/bastien/.rally/tracks/syslog_all --car=defaults,basic-license

```

TL:DR For anyone having the same error on post 8.0 Elasticsearch version, change your JAVA\_HOME to JAVA\_17 JDK.

PS: I didn't check all JAVA\_VERSION, any version between 11 and 17 might be working.  
PPS: If the "Daemon startup failed with exit code [1]" message only appear due to the Java compatibility problem, it would be good if the next Rally version ask the user to change the JAVA\_HOME to a working Java JDK.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2022, 2:40pm UTC](https://discuss.elastic.co/t/esrally-exceptions-launcherror-daemon-startup-failed-with-exit-code-1-on-elasticsearch-post-8-0-0-version/306714/2 "2022-07-06T14:40:23Z")

</div>

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