Cannot execute binary file

Cannot execute binary file

Postby Dezarius » Mon Mar 21, 2016 9:42 pm

Hi Guys,
I just installed Exagear on my Raspberry Pi 2 successfully.
I want to create a Teamspeak Server on this Pi. The next Step is to "turn on" Exagear with the command "exagear"
It says: "bash: /bin/bash in the guest image /opt/exagear/images/debian8-wine2g"
The next Step in the installation would be to create a new User while exagear ist turned on. But there is this error: "bash: /usr/bin/sudo: cannot execute binary file: Exec format error.
What did I wrong? is debian8-wine2g the right version? Just used the installation guide in the email i get after I bought it.

(Sorry for my bad english. I'm not a nativ speaker and i hope you can unterstand me xD )

Thanks :)
Dezarius
 
Posts: 8
Joined: Mon Mar 21, 2016 9:36 pm

Re: Cannot execute binary file

Postby goha » Tue Mar 22, 2016 4:29 am

Hello!
Could you please post the command that resulted an error and its full output from command-line terminal?
Also could you please run the following command in the same terminal:
$ arch
goha
 
Posts: 151
Joined: Wed Oct 08, 2014 9:22 am

Re: Cannot execute binary file

Postby Dezarius » Tue Mar 22, 2016 6:06 am

I used the command "sudo adduser teamspeak" which caused the Output i postet above. I cant try your command at the moment. I cannot test it until 30th of this month because i'm on vacation. But I will test it as soon as possible.
Dezarius
 
Posts: 8
Joined: Mon Mar 21, 2016 9:36 pm

Re: Cannot execute binary file

Postby goha » Thu Mar 24, 2016 11:27 am

Don't worry about ExaGear, I believe that the issue is not serious and you'll fix it once you come back from vacation.

When you are ready to test RasPi with ExaGear please run the following commands and post here the outputs.
on the host ARM terminal:
$ dpkg -l 'exagear*'
$ ls -l /opt/exagear/images/*/usr/bin/sudo
$ file /opt/exagear/images/*/usr/bin/sudo
Then enter the guest x86 system:
$ exagear
and run the following:
$ which adduser

We'll see then what's going wrong.
goha
 
Posts: 151
Joined: Wed Oct 08, 2014 9:22 am

Re: Cannot execute binary file

Postby Dezarius » Mon Mar 28, 2016 3:34 pm

This are the output of the the commands with a space between each command:

"
pi@raspberrypi:~ $ dpkg -l 'exagear*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================================-======================-======================-=========================================================================
un exagear <none> <none> (no description available)
un exagear-arm7-8 <none> <none> (no description available)
ii exagear-guest-debian-8-wine2g 3 all A minimal guest system to be run under ExaGear
un exagear-legacy <none> <none> (no description available)
un exagear-legacy-mem2g <none> <none> (no description available)
ii exagear-mem2g 2436 armhf ExaGear binary translation system
un exagear-virtual <none> <none> (no description available)
pi@raspberrypi:~ $
pi@raspberrypi:~ $ ls -l /opt/exagear/images/*/usr/bin/sudo
-rwsr-xr-x 1 root root 176400 Mar 12 2015 /opt/exagear/images/debian-8-wine2g/usr/bin/sudo
pi@raspberrypi:~ $
pi@raspberrypi:~ $ file /opt/exagear/images/*/usr/bin/sudo
/opt/exagear/images/debian-8-wine2g/usr/bin/sudo: setuid ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-lin ux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=43c755e06e44527d362958603d6baed309fc356d, stripped
pi@raspberrypi:~ $
pi@raspberrypi:~ $ exagear
Starting /bin/bash in the guest image /opt/exagear/images/debian-8-wine2g
pi@raspberrypi:~ $
pi@raspberrypi:~ $ which adduser
/usr/sbin/adduser
"



I hope you can find a solution
Dezarius
 
Posts: 8
Joined: Mon Mar 21, 2016 9:36 pm

Re: Cannot execute binary file

Postby seccipon » Tue Mar 29, 2016 10:17 am

Please try to execute this in your host console:

Code: Select all
$ service exagear status
seccipon
 
Posts: 6
Joined: Fri Nov 06, 2015 11:50 am

Re: Cannot execute binary file

Postby Dezarius » Tue Mar 29, 2016 10:43 am

Code: Select all
pi@raspberrypi:~ $ service exagear status
● exagear.service - LSB: registers ExaGear as a handler for x86 binaries
   Loaded: loaded (/etc/init.d/exagear)
   Active: active (exited) since Mon 2016-03-28 22:17:04 UTC; 19h ago
  Process: 507 ExecStart=/etc/init.d/exagear start (code=exited, status=0/SUCCESS)
pi@raspberrypi:~ $
Dezarius
 
Posts: 8
Joined: Mon Mar 21, 2016 9:36 pm

Re: Cannot execute binary file

Postby goha » Tue Mar 29, 2016 11:47 am

What is your host ARM system version?
Could you please execute the following commands:
$ uname -a
$ cat /etc/issue
goha
 
Posts: 151
Joined: Wed Oct 08, 2014 9:22 am

Re: Cannot execute binary file

Postby Dezarius » Tue Mar 29, 2016 12:17 pm

I executed the commands an the ARM-side and x86-side, because it was not clear which one i should do:

Code: Select all
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux
pi@raspberrypi:~ $ cat /etc/issue
Raspbian GNU/Linux 8 \n \l

pi@raspberrypi:~ $ exagear
Starting /bin/bash  in the guest image /opt/exagear/images/debian-8-wine2g
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 i686 GNU/Linux
pi@raspberrypi:~ $ cat /etc/issue
Debian GNU/Linux 8 \n \l

pi@raspberrypi:~ $
Dezarius
 
Posts: 8
Joined: Mon Mar 21, 2016 9:36 pm

Re: Cannot execute binary file

Postby goha » Tue Mar 29, 2016 1:44 pm

You use the latest issue of Raspbian from March 2016, mine is from Feb 2016. Give me some time to download and install the latest Raspbian. Perhaps there is something specific that I don't have on my test device.
goha
 
Posts: 151
Joined: Wed Oct 08, 2014 9:22 am

Next

Return to ExaGear Desktop

Who is online

Users browsing this forum: Bing [Bot] and 3 guests