New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standard_init_linux.go:178: exec user process caused "exec format error" #3775

Closed
manishlamichhane opened this Issue Mar 12, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@manishlamichhane

manishlamichhane commented Mar 12, 2017

When I try to run the JSON RPC command, docker spits out this message in the console.

standard_init_linux.go:178: exec user process caused "exec format error"

I tried it with both Alpine and Latest image. Both have the same results.

docker run -it -p 8545:8545 -p 30303:30303 ethereum/client-go --rpc --rpcaddr "0.0.0.0"

is the command.

UPDATE: I was using a Raspberry PI 3.

@pabloesm

This comment has been minimized.

Show comment
Hide comment
@pabloesm

pabloesm Mar 19, 2017

From a Stackoverflow question:

Raspberries use ARM and not x86_64 processors. You can only run images created for that architecture. Try searching for ARM or ARMv7 on docker hub. There is a Debian image for ARM I know of but there must be others as well.

The underlying issue is that the binary format used by ARM is not compatible with x86_64, which is the architecture used by most desktop and server systems.

Are you using an image created for ARM?

pabloesm commented Mar 19, 2017

From a Stackoverflow question:

Raspberries use ARM and not x86_64 processors. You can only run images created for that architecture. Try searching for ARM or ARMv7 on docker hub. There is a Debian image for ARM I know of but there must be others as well.

The underlying issue is that the binary format used by ARM is not compatible with x86_64, which is the architecture used by most desktop and server systems.

Are you using an image created for ARM?

@IgorGanapolsky

This comment has been minimized.

Show comment
Hide comment
@IgorGanapolsky

IgorGanapolsky Mar 22, 2017

@pabloesm That is exactly the situation. This issue can now be closed.

IgorGanapolsky commented Mar 22, 2017

@pabloesm That is exactly the situation. This issue can now be closed.

@fjl fjl closed this Mar 23, 2017

@manishlamichhane

This comment has been minimized.

Show comment
Hide comment
@manishlamichhane

manishlamichhane Mar 25, 2017

@pabloesm I wasn't using the ARM image and now I understood that was the problem. Thanks for the reply!

manishlamichhane commented Mar 25, 2017

@pabloesm I wasn't using the ARM image and now I understood that was the problem. Thanks for the reply!

@pabloesm

This comment has been minimized.

Show comment
Hide comment
@pabloesm

pabloesm Mar 27, 2017

Yes, I had the same issue... You're welcome, it's a pleasure to be helpful!

pabloesm commented Mar 27, 2017

Yes, I had the same issue... You're welcome, it's a pleasure to be helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment