Scylla: Cant Install using sites default install pkg

Created on 13 Apr 2021  路  2Comments  路  Source: scylladb/scylla

This is Scylla's bug tracker, to be used for reporting bugs only.
If you have a question about Scylla, and not a bug, please ask it in
our mailing-list at [email protected] or in our slack channel.

  • [x] I have read the disclaimer above, and I am reporting a suspected malfunction in Scylla.

Installation details
Scylla version (or git commit hash): Scylla 4.4
Cluster size: 1
OS (RHEL/CentOS/Ubuntu/AWS AMI): Ubuntu 20

I can't install using install.sh even I installed with sudo apt-get install openjdk-11-jdk

Thank you.

ubuntu@ip-172-31-28-193:~$ sh -x ./install.sh --nonroot --python3 ~/scylladb/python3/bin/python3
+ set -e
+ root=/
+ housekeeping=false
+ nonroot=false
+ [ 3 -gt 0 ]
+ nonroot=true
+ shift 1
+ [ 2 -gt 0 ]
+ python3=/home/ubuntu/scylladb/python3/bin/python3
+ shift 2
+ [ 0 -gt 0 ]
+ [ ! -d /run/systemd/system/ ]
+ has_java=false
+ [ -x /usr/bin/java ]
+ /usr/bin/java -version
+ cut -f 3 -d
+ head -n1
+ javaver="11.0.10"
+ [[ "11.0.10" =~ ^"1.8.0
./install.sh: 94: [[: not found
+ "11.0.10" =~ ^"11.0. ]]
./install.sh: 94: "11.0.10": not found
+ false
+ echo Please install openjdk-8 or openjdk-11 before running install.sh.
Please install openjdk-8 or openjdk-11 before running install.sh.
+ exit 1
ubuntu@ip-172-31-28-193:~$ javac --version
javac 11.0.10
ubuntu@ip-172-31-28-193:~$
Backport candidate bug offlineinstaller

Most helpful comment

@ktjd123 The script assumes bash. Either run it with:

bash ./install.sh --nonroot --python3 ~/scylladb/python3/bin/python3

or

./install.sh --nonroot --python3 ~/scylladb/python3/bin/python3

@syuu1228 I think this is an easy mistake to make. Perhaps we can eliminate bashisms from the script to make it work with default Ubuntu 20.04 shell (dash?).

All 2 comments

@ktjd123 The script assumes bash. Either run it with:

bash ./install.sh --nonroot --python3 ~/scylladb/python3/bin/python3

or

./install.sh --nonroot --python3 ~/scylladb/python3/bin/python3

@syuu1228 I think this is an easy mistake to make. Perhaps we can eliminate bashisms from the script to make it work with default Ubuntu 20.04 shell (dash?).

@penberg Thank you for the help.

I tried both with your code, now I have this error.

ubuntu@ip-172-31-28-193:~$ bash ./install.sh --nonroot --python3 ~/scylladb/python3/bin/python3
./install.sh: line 97: libreloc/ld.so: cannot execute binary file: Exec format error
ubuntu@ip-172-31-28-193:~$ ls
install.sh  scylla  scylla-jmx  scylla-python3  scylla-tools  scylla-unified-package-4.4.tar.gz  scylladb  uninstall.sh
ubuntu@ip-172-31-28-193:~$ ./install.sh --nonroot --python3 ~/scylladb/python3/bin/python3
./install.sh: line 97: libreloc/ld.so: cannot execute binary file: Exec format error
ubuntu@ip-172-31-28-193:~$
Was this page helpful?
0 / 5 - 0 ratings

Related issues

LouayKamel picture LouayKamel  路  6Comments

avikivity picture avikivity  路  4Comments

fgelcer picture fgelcer  路  6Comments

hellowaywewe picture hellowaywewe  路  3Comments

dimaqq picture dimaqq  路  6Comments