edgexfoundry / demo-grove-pi

Apache License 2.0
3 stars 6 forks source link

standard_init_linux.go:211: exec user process caused "exec format error" #12

Open mosopeogundipe opened 5 years ago

mosopeogundipe commented 5 years ago

Hi,

I am a newbie and using Edgexfoundry for our college project. We are trying to setup Edgex on raspberry pi 3B+.

We installed Docker, Go and all the other required packages. We followed https://wiki.edgexfoundry.org/display/FA/Running+on+a+RaspberryPi#RunningonaRaspberryPi-Withdocker-compose

We are using Yaml file from, https://github.com/edgexfoundry/demo-grove-pi/tree/edinburgh

But after all that, we are not able to start edgex containers using

docker-compose up -d

below is the error we ran into,

edgex-support-logging | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-support-logging exited with code 1
edgex-config-seed | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-core-metadata | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-config-seed exited with code 1
edgex-support-notifications | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-core-data   | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-core-metadata exited with code 1
edgex-support-notifications exited with code 1
edgex-core-data exited with code 1
edgex-sys-mgmt-agent | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-core-command | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-support-scheduler | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-sys-mgmt-agent exited with code 1
edgex-export-client | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-device-virtual | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-ui-go       | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-device-grove | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-support-scheduler exited with code 1
edgex-export-distro | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-core-command exited with code 1
edgex-export-client exited with code 1
edgex-support-rulesengine | standard_init_linux.go:211: exec user process caused "exec format error"
edgex-device-virtual exited with code 1
edgex-device-grove exited with code 1
edgex-ui-go exited with code 1
edgex-support-rulesengine exited with code 1
edgex-export-distro exited with code 1

upon checking the dashboard, there are only two services running.

edgexerror

We also tried reverting to commit as mentioned in https://github.com/edgexfoundry/demo-grove-pi/issues/7 but experienced same issues.

Are we missing any steps? Or should we use a different build? Is there any guide we can follow?

Thanks.

BinduRao2018 commented 5 years ago

Hi, Are you using the correct compose file - docker-compose-demo-grove.yml provided in this repository? Based on the logs above, it looks like the images are not for arm64. Could you use a command - docker-compose -f docker-compose-demo-grove.yml up to make sure the correct images are being used?