I have installed rally into digital ocean and rally is not running
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-36-generic x86_64)
- Documentation: https://help.ubuntu.com
- Management: https://landscape.canonical.com
- Support: https://ubuntu.com/advantage
System information as of Wed Oct 17 10:39:21 UTC 2018
System load: 0.0 Processes: 115
Usage of /: 2.0% of 154.90GB Users logged in: 1
Memory usage: 5% IP address for eth0: 167.99.85.73
Swap usage: 0% IP address for docker0: 172.17.0.1
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
- Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
- Reduce system reboots and improve kernel security. Activate at:
15 packages can be updated.
0 updates are security updates.
Last login: Wed Oct 17 10:36:36 2018 from 195.171.72.11
root@ubuntu-s-4vcpu-8gb-lon1-01:~# ^C
root@ubuntu-s-4vcpu-8gb-lon1-01:~# ^C
root@ubuntu-s-4vcpu-8gb-lon1-01:~# esrally --distribution-version=6.0.0
____ ____
/ __ ____ / / / __
/ // / __ `/ / / / / /
/ , / // / / / // /
// ||_,///_, /
/____/
[INFO] Preparing for race ...
[ERROR] Cannot race. ("Install a JDK with one of the versions [8] and point to i t with one of ['JAVA8_HOME', 'JAVA_HOME'].", None)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/esrally/mechanic/mechanic.py", li ne 546, in receiveMsg_StartNodes
nodes = self.mechanic.start_engine()
File "/usr/local/lib/python3.6/dist-packages/esrally/mechanic/mechanic.py", li ne 682, in start_engine
self.nodes = self.launcher.start(node_configs)
File "/usr/local/lib/python3.6/dist-packages/esrally/mechanic/launcher.py", li ne 293, in start
return [self._start_node(node_configuration, node_count_on_host) for node_co nfiguration in node_configurations]
File "/usr/local/lib/python3.6/dist-packages/esrally/mechanic/launcher.py", li ne 293, in
return [self._start_node(node_configuration, node_count_on_host) for node_co nfiguration in node_configurations]
File "/usr/local/lib/python3.6/dist-packages/esrally/mechanic/launcher.py", li ne 302, in _start_node
java_major_version, java_home = self._resolve_java_home(car)
File "/usr/local/lib/python3.6/dist-packages/esrally/mechanic/launcher.py", li ne 334, in _resolve_java_home
major, java_home = jvm.resolve_path(runtime_jdk_versions)
File "/usr/local/lib/python3.6/dist-packages/esrally/utils/jvm.py", line 101, in resolve_path
.format(majors, _checked_env_vars(majors)))
esrally.exceptions.SystemSetupError: ("Install a JDK with one of the versions [8 ] and point to it with one of ['JAVA8_HOME', 'JAVA_HOME'].", None)
Getting further help:
- Check the log files in /root/.rally/logs for errors.
- Read the documentation at https://esrally.readthedocs.io/en/1.0.1/
- Ask a question on the forum at https://discuss.elastic.co/c/elasticsearch/rall y
- Raise an issue at https://github.com/elastic/rally/issues and include the log files in /root/.rally/logs.
[INFO] FAILURE (took 3 seconds)
root@ubuntu-s-4vcpu-8gb-lon1-01:~# java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.18.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
root@ubuntu-s-4vcpu-8gb-lon1-01:~#
root@ubuntu-s-4vcpu-8gb-lon1-01:~# Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-36-generic x86_64)
-bash: syntax error near unexpected token `('
root@ubuntu-s-4vcpu-8gb-lon1-01:~#
root@ubuntu-s-4vcpu-8gb-lon1-01:~# * Documentation: https://help.ubuntu.com
Memory usage: 5% IP address for eth0: 167.99.85.73
Swap usage: 0% IP address for docker0: 172.17.0.1
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
- Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
- Reduce system reboots and improve kernel security. Activate at:
15 packages can be updated.
0 updates are security updates.