Magento 无法启动管理开发环境

Magento 无法启动管理开发环境,magento,Magento,我正在尝试设置MGT开发环境。我正在运行Ubuntu 16.04和本机docker 在尝试这些之前,我做了一次新的尝试。运行容器后,127.0.0.1:3333处的浏览器仅显示一般HTTP 500错误。在容器上运行docker日志将显示以下日志条目: docker logs 7b1f04c29bf2 /usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running

我正在尝试设置MGT开发环境。我正在运行Ubuntu 16.04和本机docker

在尝试这些之前,我做了一次新的尝试。运行容器后,127.0.0.1:3333处的浏览器仅显示一般HTTP 500错误。在容器上运行docker日志将显示以下日志条目:

    docker logs 7b1f04c29bf2
/usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2017-03-28 14:03:53,908 CRIT Supervisor running as root (no user in config file)
2017-03-28 14:03:53,908 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2017-03-28 14:03:53,916 INFO RPC interface 'supervisor' initialized
2017-03-28 14:03:53,917 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-03-28 14:03:53,917 INFO supervisord started with pid 1
2017-03-28 14:03:54,919 INFO spawned: 'sshd' with pid 9
2017-03-28 14:03:54,920 INFO spawned: 'postfix' with pid 10
2017-03-28 14:03:54,922 INFO spawned: 'php-fpm' with pid 11
2017-03-28 14:03:54,928 INFO spawned: 'redis' with pid 13
2017-03-28 14:03:54,930 INFO spawned: 'varnish' with pid 16
2017-03-28 14:03:54,932 INFO spawned: 'cron' with pid 18
2017-03-28 14:03:54,934 INFO spawned: 'nginx' with pid 19
2017-03-28 14:03:54,935 INFO spawned: 'clp-server' with pid 20
2017-03-28 14:03:54,937 INFO spawned: 'clp5-fpm' with pid 23
2017-03-28 14:03:54,938 INFO spawned: 'mysql' with pid 24
2017-03-28 14:03:54,940 INFO spawned: 'memcached' with pid 26
2017-03-28 14:03:54,940 INFO exited: redis (exit status 0; not expected)
2017-03-28 14:03:54,941 INFO success: postfix entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2017-03-28 14:03:55,011 INFO exited: mysql (exit status 0; not expected)
2017-03-28 14:03:55,102 INFO exited: postfix (exit status 0; expected)
2017-03-28 14:03:55,255 INFO exited: varnish (exit status 0; not expected)
2017-03-28 14:03:56,256 INFO success: sshd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-28 14:03:56,257 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-28 14:03:56,259 INFO spawned: 'redis' with pid 382
2017-03-28 14:03:56,262 INFO spawned: 'varnish' with pid 383
2017-03-28 14:03:56,263 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-28 14:03:56,263 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-28 14:03:56,263 INFO success: clp-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-28 14:03:56,263 INFO success: clp5-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-28 14:03:56,266 INFO spawned: 'mysql' with pid 384
2017-03-28 14:03:56,266 INFO success: memcached entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-03-28 14:03:56,279 INFO exited: redis (exit status 0; not expected)
2017-03-28 14:03:56,279 CRIT reaped unknown pid 385)
2017-03-28 14:03:56,306 INFO exited: mysql (exit status 0; not expected)
2017-03-28 14:03:56,585 INFO exited: varnish (exit status 2; not expected)
2017-03-28 14:03:58,588 INFO spawned: 'redis' with pid 396
2017-03-28 14:03:58,589 INFO spawned: 'varnish' with pid 397
2017-03-28 14:03:58,590 INFO spawned: 'mysql' with pid 398
2017-03-28 14:03:58,599 INFO exited: redis (exit status 0; not expected)
2017-03-28 14:03:58,605 CRIT reaped unknown pid 399)
2017-03-28 14:03:58,632 INFO exited: mysql (exit status 0; not expected)
2017-03-28 14:03:58,913 INFO exited: varnish (exit status 2; not expected)
2017-03-28 14:04:01,919 INFO spawned: 'redis' with pid 410
2017-03-28 14:04:01,921 INFO spawned: 'varnish' with pid 411
2017-03-28 14:04:01,923 INFO spawned: 'mysql' with pid 412
2017-03-28 14:04:01,930 INFO exited: redis (exit status 0; not expected)
2017-03-28 14:04:01,930 INFO gave up: redis entered FATAL state, too many start retries too quickly
2017-03-28 14:04:01,930 CRIT reaped unknown pid 413)
2017-03-28 14:04:01,969 INFO exited: mysql (exit status 0; not expected)
2017-03-28 14:04:02,238 INFO gave up: mysql entered FATAL state, too many start retries too quickly
2017-03-28 14:04:02,238 INFO exited: varnish (exit status 2; not expected)
2017-03-28 14:04:03,240 INFO gave up: varnish entered FATAL state, too many start retries too quickly
如果我通过docker exec-it bash登录到容器,它将显示以下运行过程:

root@mgt-dev-70:/# ps -aux    
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  48144 16348 ?        Ss+  14:03   0:00 /usr/bin/python /usr/bin/supervisord
root         9  0.0  0.0  55600  5268 ?        S    14:03   0:00 /usr/sbin/sshd -D
root        11  0.0  0.3 819816 49984 ?        S    14:03   0:00 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)           
root        18  0.0  0.0  25904  2236 ?        S    14:03   0:00 /usr/sbin/cron -f
root        19  0.0  0.1  64660 23456 ?        S    14:03   0:00 nginx: master process /usr/sbin/nginx -g daemon off;
root        20  0.0  0.0  93752  8432 ?        S    14:03   0:00 nginx: master process /usr/sbin/clp-server -g daemon off;
root        23  0.0  0.2 854428 39528 ?        S    14:03   0:00 php-fpm: master process (/etc/clp5/fpm/php-fpm.conf)         
root        25  0.1  0.0  37256  8876 ?        Ssl  14:03   0:00 /usr/bin/redis-server 127.0.0.1:6379       
memcache    26  0.0  0.0 327452  2724 ?        Sl   14:03   0:00 /usr/bin/memcached -p 11211 -u memcache -m 256 -c 1024
root        40  0.0  0.1  65564 21516 ?        S    14:03   0:00 nginx: worker process         
root       102  0.0  0.0  94588  4304 ?        S    14:03   0:00 nginx: worker process              
root       156  0.0  0.0  36620  3948 ?        Ss   14:03   0:00 /usr/lib/postfix/master
postfix    157  0.0  0.0  38684  3780 ?        S    14:03   0:00 pickup -l -t unix -u -c
postfix    158  0.0  0.0  38732  3892 ?        S    14:03   0:00 qmgr -l -t unix -u
varnish    164  0.0  0.0 126924  7172 ?        Ss   14:03   0:00 /usr/sbin/varnishd -a :6081 -T :6082 -f /etc/varnish/default.vcl -s malloc,256m
vcache     165  0.0  0.7 314848 123484 ?       Sl   14:03   0:00 /usr/sbin/varnishd -a :6081 -T :6082 -f /etc/varnish/default.vcl -s malloc,256m
root       495  0.0  0.0  20244  2984 ?        Ss   14:12   0:00 bash
root       501  0.0  0.0  17500  2036 ?        R+   14:12   0:00 ps -aux

我知道的就这么多。任何关于它进展的指导都值得赞赏,因为它看起来是一个快速而简单的方法来开始Magento 2。谢谢。

我投票结束这个问题,因为Stack Overflow是一个问答网站。你的问题不是关于编程。也许你应该把它贴在上面?@Enigmativity只是按照支持网站上的指导来做。顺便说一句,请参阅[链接]我很感激,但他们在那里做了一件错事。Stack Overflow的帮助特别说明了以下主题——“一个特定的编程问题,或一个软件算法,或程序员常用的软件工具;是一个实用的、可回答的问题,是软件开发所特有的”。否则它就离题了。