question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exec format error on RaspberryPi

See original GitHub issue

Bug report

Describe the bug I tried to run your project using docker on my raspberry pi 3 B+ (Raspbian GNU/Linux 9)

The docker crash instantly with this log standard_init_linux.go:190: exec user process caused "exec format error"

I guess it’s something with the fact that the processor of the raspberry pi is Arm

To Reproduce

 docker run -p 10000:5432 -d --name emby-stats uping/embystat:beta-linux

System (please complete the following information):

  • OS: Raspbian 9 stretch
  • Browser: chrome
  • Version: 74

Additional context The container with the tag beta-linux works fine on my personal computer (amd64)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
aptalcacommented, May 10, 2020
1reaction
aptalcacommented, Oct 10, 2019

@ArthurKnoep @mregni Just a heads up, the build is 64bit (aarch64) but the official OS builds on raspberry pi are 32bit (arm32v7), that’s probably why it fails to load.

We do have a test docker repo that builds an aarch64 image with that binary and works great on arm64: https://github.com/linuxserver/docker-embystat/blob/multi-arch/Dockerfile.aarch64

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot execute binary file: Exec format error on Raspberry Pi
bash: /home/pi/dotnet/dotnet: cannot execute binary file: Exec format error You have just installed .NET on Raspberry Pi and executed the ...
Read more >
Raspberry Pi Exec Format Error · Issue #2331 · sharkdp/bat
-bash: /usr/local/bat/bat: cannot execute binary file: Exec format error What did you expect to happen instead? For it to work.
Read more >
How can I fix exec format error on raspberry pi 4
1 Answer. It's a "LSB relocatable" file, which is not executable since it hasn't been linked because the -c in your command command...
Read more >
Exec format error with Hello World project on RaspberryPi
The “exec format error” for kernel modules typically happens when trying to load a module that was built for a different kernel.
Read more >
System binaries fail with "Exec format error", apt-get ...
Most system commands fail with "Exec format error" and apt-get upgrade fails with "117: Structure needs cleaning".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found