Skip to content

Nginx fails to start with "Illegal instruction (core dumped)" error #35

@lmakarov

Description

@lmakarov

docksal-vhost-proxy container is running, but nginx fails to start.

Output of docker logs docksal-vhost-proxy:

...
2018-10-19 22:30:31,948 INFO supervisord started with pid 1
2018-10-19 22:30:32,951 INFO spawned: 'nginx' with pid 43
2018-10-19 22:30:32,956 INFO spawned: 'crond' with pid 44
2018-10-19 22:30:32,960 INFO spawned: 'docker-gen' with pid 45
crond: crond (busybox 1.27.2) started, log level 8
2018/10/19 22:30:33 Contents of /etc/nginx/conf.d/vhosts.conf did not change. Skipping notification 'proxyctl notify'
2018/10/19 22:30:33 Watching docker events
2018/10/19 22:30:33 Contents of /etc/nginx/conf.d/vhosts.conf did not change. Skipping notification 'proxyctl notify'
2018-10-19 22:30:33,283 INFO exited: nginx (terminated by SIGILL (core dumped); not expected)
2018-10-19 22:30:34,287 INFO spawned: 'nginx' with pid 54
2018-10-19 22:30:34,288 INFO success: crond entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-10-19 22:30:34,288 INFO success: docker-gen entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-10-19 22:30:34,611 INFO exited: nginx (terminated by SIGILL (core dumped); not expected)
2018-10-19 22:30:36,616 INFO spawned: 'nginx' with pid 55
2018-10-19 22:30:36,924 INFO exited: nginx (terminated by SIGILL (core dumped); not expected)
2018-10-19 22:30:39,929 INFO spawned: 'nginx' with pid 56
2018-10-19 22:30:40,231 INFO exited: nginx (terminated by SIGILL (core dumped); not expected)
2018-10-19 22:30:41,233 INFO gave up: nginx entered FATAL state, too many start retries too quickly
crond: USER root pid  57 cmd /usr/local/bin/proxyctl cron

Checking nginx config fails with the following error:

$ docker exet -it docker-vhost-proxy nginx -t
Illegal instruction (core dumped)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions