Cannot execute binary file

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
Askar
Posts: 4
Joined: Tue Jan 05, 2021 3:53 am

Cannot execute binary file

Post by Askar » Tue Jan 05, 2021 4:07 am

Hi, i cannot create a virtual harddisk:


root@eve-ng:/opt/qemu/bin# /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 30G
-bash: /opt/qemu/bin/qemu-img: cannot execute binary file: Exec format error




root@eve-ng:/opt/qemu/bin# file *
ivshmem-client: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=16f477fcd6956251ef603d8285bd7370996c864b, stripped
ivshmem-server: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=1246fc74b5f0c8c0cc4974bfc5e82167f3d80243, stripped
qemu-ga: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=dcd02aa5a8ad85991f64b172b359319488ba6f2a, stripped
qemu-img: QEMU QCOW Image (v3), 42949672960 bytes
qemu-io: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=17e963482e036310947eaabdaecac3c40609df26, stripped
qemu-nbd: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=03f0d25b82e2f5dc8d7c1e8e024b9239492052ae, stripped
qemu-system-i386: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=44eae6ae4516f69a20a071e09d6231a1535c8469, stripped
qemu-system-x86_64: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b6e3c0ded8b4b1c7114ac6454de8ca88aff50b73, stripped
virtfs-proxy-helper: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=315f5b89cda3922c28d1b03182dd2cc440ca9f5a, stripped
vscclient: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b058169b80b0dceed5f9ec9479c0657a84b6a170, stripped

what can be done?

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Cannot execute binary file

Post by Uldis (UD) » Tue Jan 05, 2021 8:50 am

but why you createing this hdd in bin folder?

Askar
Posts: 4
Joined: Tue Jan 05, 2021 3:53 am

Re: Cannot execute binary file

Post by Askar » Tue Jan 05, 2021 11:29 am

Uldis (UD) wrote:
Tue Jan 05, 2021 8:50 am
but why you createing this hdd in bin folder?
I am new to EVE-NG. Because that's what it says in the documentation. I am trying to create Linux host and i think i broke something

Could you suggest something?

Also, before I was able to create a virtual hard disk using this command

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Cannot execute binary file

Post by Uldis (UD) » Tue Jan 05, 2021 3:16 pm


Askar
Posts: 4
Joined: Tue Jan 05, 2021 3:53 am

Re: Cannot execute binary file

Post by Askar » Mon Jan 11, 2021 11:24 am

Didn't help, gives the following error. It turns out I can't create virtual hard disks?
You do not have the required permissions to view the files attached to this post.

Askar
Posts: 4
Joined: Tue Jan 05, 2021 3:53 am

Re: Cannot execute binary file

Post by Askar » Tue Jan 26, 2021 1:19 pm

Please help

Uldis (UD)
Posts: 5067
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Cannot execute binary file

Post by Uldis (UD) » Tue Jan 26, 2021 1:24 pm

You did not follow how to mate
thats it
any centos or ubuntu installs same way
https://www.eve-ng.net/index.php/docume ... ost-image/
and we have already built ready to go centos images

Post Reply