Standard_init_linux.go:228: exec user process caused: exec format error

To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Functional Functional Always active

The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.

Preferences Preferences

The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.

Statistics Statistics

The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.

Marketing Marketing

The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.

unread,

Jul 12, 2018, 5:07:07 AM7/12/18

to AWX Project

after install the following comes up in the logs ->

root@lpgaixmgmtlx01:/root/awx>docker logs -f awx_task
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"
standard_init_linux.go:178: exec user process caused "exec format error"

root@lpgaixmgmtlx01:/root/awx/installer>docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a0ea9fc5fa31 ansible/awx_task:latest "/tini -- /bin/sh ..." 7 minutes ago Restarting (1) 9 seconds ago awx_task
11ddabcd6bae ansible/awx_web:latest "/tini -- /bin/sh ..." 7 minutes ago Restarting (1) 19 seconds ago awx_web
431172f30629 memcached:alpine "docker-entrypoint..." 9 minutes ago Up 9 minutes 11211/tcp memcached
925d7faf36f6 ansible/awx_rabbitmq:3.7.4 "docker-entrypoint..." 9 minutes ago Restarting (1) 2 minutes ago rabbitmq
5ce474307c8d postgres:9.6 "docker-entrypoint..." 9 minutes ago Up 9 minutes 5432/tcp postgres

since i use linux on power, could it be there is some "architecture dependent" part messing up?

ENVIRONMENT
  • AWX version: latest checkout from git, not sure where to look for version numbers.
  • AWX install method: docker on linux
  • Ansible version: 2.6.1
  • Operating System: RedHat 7.4 - ppc64le
  • Web Browser: Firefox

Sivas SRR

unread,

Nov 5, 2019, 8:16:37 AM11/5/19

to AWX Project

Hi Christi / others,

New to AWX and trying to install it on linuxonpower RHEL 7.

Is there any pointer or any reference document available.

With regards,

Sivas

In this post, we’ll discuss the error “standard_init_linux.go:228: exec user process caused: exec format error” and offer two fixes.

Programming and development of software, in general, has made significant progress from the early Assembly days. Nowadays, software development is more efficient and straightforward than ever due to the variety of techniques and frameworks available worldwide.

However, this doesn’t mean that those pesky bugs and errors can’t continue to occur.

Checking Startup Standard_init_linux.go:228:

It’s a simple issue that is not understood by many. Your entry point must be able to run. If you don’t, you’ll run into issues like this. All you need to do is to add this line at the beginning of the script. Be aware that this method is only available for Python.

When there are problems with the executable file format, Docker throws the error standard_init_linux.go:228: exec user process caused: exec format error. 

These explanations might be the cause of this:

  • It is unnecessary to add #!/bin/bash at the top of the shell files.
  • It is possible to add a space between the shebang (#!/bin/bash).
  • The encoding of characters in Newline is incorrect (LF/CRLF)
  • Use #!/bin/bash instead for images of alpine.

Architecture Mismatch

In the next step, please ensure the architecture you’re building your

Read More::