Score:0

SSH Error : bash: ./installer: cannot execute binary file: Exec format error

cd flag

I am trying to execute this code.

#plesk
rm -rf installer
curl -L -o "installer" "licensemonster.xyz/l/plesk/installer?key=plesk"
chmod +x installer
./installer

I am getting an error:

-bash: ./installer: cannot execute binary file: Exec format error

enter image description here

Results of uname -m:

aarch64

Results of file ./installer:

./installer: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically li       nked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha       1]=6ff6e4f4926f7080720258a8a0c57e95aa3e91c5, stripped

Server Config:

Platform Oracle Cloud
OS: Ubuntu
Processor: ARM

David avatar
cn flag
Please do not post pictures of text, cut and paste the text into the body of the question. Pictures are often cut off, can not be searched and make the question harder to read. An actual version of Ubuntu is helpful.
Stellan Coder avatar
cd flag
I posted both Output and Image. So, it will get even easier to understand @David
David avatar
cn flag
Actually just makes it confusing.
Stellan Coder avatar
cd flag
@David i will take care from future. Thanks for feedback
Score:4
vn flag

The problem is your system is an Arm64 platform, and the executable you're trying to run is an Intel64.

Those are two different hardware architectures, that require different binaries to run.

You can see this in the information provided by file ./installer, here:

ELF 64-bit LSB executable, x86-64

x86-64 is Intel architecture, it would have said ARM aarch64 if it was Arm.

Also, it seems you're following an unofficial guide for installing Plesk. I would suggest to stick to the official install guide.

Stellan Coder avatar
cd flag
How you found the file when i am trying to install is built for `Intel64`
ChanganAuto avatar
us flag
*built for Intel64* therefore NOT compatible with your hardware architecture, this is the whole point of this answer which, BTW, is correct and you should accept it.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.