Closed mliezun closed 5 years ago
I have a problem in the container init. Here is a log of the output:
2019/02/15 14:52:05 done 2019/02/15 14:52:15 Executing sync cmd: echo '' 2019/02/15 14:52:15 done sync stdout | '' Starting api-gateway ... /etc/init-container.sh: line 42: 8 Illegal instruction (core dumped) /usr/local/sbin/api-gateway -V ------ ... with dns resolver 10.43.0.10; ... testing configuration 2019/02/15 14:52:26 Starting HTTP on port 127.0.0.1:8888 2019/02/15 14:52:26 Executing sync cmd: echo '' sync stdout | '' 2019/02/15 14:52:26 done 2019/02/15 14:52:26 Watching path /etc/api-gateway 2019/02/15 14:52:26 Watching path /etc/api-gateway/conf.d 2019/02/15 14:52:26 Watching path /etc/api-gateway/conf.d/commons 2019/02/15 14:52:26 Watching path /etc/api-gateway/conf.d/includes 2019/02/15 14:52:26 Watching path /etc/api-gateway/html 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts/lua 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts/lua/lib 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts/lua/management 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts/lua/management/lib 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts/lua/management/routes 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts/lua/oauth 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts/lua/policies 2019/02/15 14:52:26 Watching path /etc/api-gateway/scripts/lua/policies/security 2019/02/15 14:52:26 Watching path /etc/api-gateway/tests 2019/02/15 14:52:26 Watching path /etc/api-gateway/tests/scripts 2019/02/15 14:52:26 Watching path /etc/api-gateway/tests/scripts/lua 2019/02/15 14:52:26 Watching path /etc/api-gateway/tests/scripts/lua/lib 2019/02/15 14:52:26 Watching path /etc/api-gateway/tests/scripts/lua/management 2019/02/15 14:52:26 Watching path /etc/api-gateway/tests/scripts/lua/management/examples 2019/02/15 14:52:26 Watching path /etc/api-gateway/tests/scripts/lua/management/lib 2019/02/15 14:52:26 Watching path /etc/api-gateway/tools 2019/02/15 14:52:26 Watching path /etc/api-gateway/tools/travis /etc/init-container.sh: line 62: 14 Illegal instruction (core dumped) api-gateway -t -p /usr/local/api-gateway/ -c /etc/api-gateway/api-gateway.conf ... using log level: 'warn'. Override it with -e 'LOG_LEVEL=<level>' /etc/init-container.sh: line 73: 26 Illegal instruction (core dumped) api-gateway -p /usr/local/api-gateway/ -c /etc/api-gateway/api-gateway.conf -g "daemon off; error_log /dev/stderr ${log_level};" tail: can't open '/var/log/api-gateway/access.log': No such file or directory tail: can't open '/var/log/api-gateway/gateway_error.log': No such file or directory tail: can't open '/var/log/api-gateway/management.log': No such file or directory 2019/02/15 14:52:36 Executing sync cmd: echo '' 2019/02/15 14:52:36 Executing Reload Cmd 2019/02/15 14:52:36 Executing sync cmd: api-gateway -s reload 2019/02/15 14:52:36 done sync stdout | '' Error waiting for Cmd signal: illegal instruction (core dumped) 2019/02/15 14:52:36 done 2019/02/15 14:52:46 Executing sync cmd: echo '' sync stdout | '' 2019/02/15 14:52:46 done 2019/02/15 14:52:56 Executing sync cmd: echo '' sync stdout | '' 2019/02/15 14:52:56 done 2019/02/15 14:53:06 Executing sync cmd: echo '' sync stdout | ''
@mliezun what system, architecture, and docker version are you using?
I have a problem in the container init. Here is a log of the output: