我安装了Plone,将一些包添加到我的buildout.cfg
中,并成功地运行了bin/buildout
。但是,现在,当我运行bin/instance restart
时,它立即崩溃,没有错误输出:
$ bin/instance restart
.
daemon process restarted, pid=29508
$ ps aux | grep 29508
ubuntu 29626 0.0 0.0 12944 928 pts/0 S+ 11:52 0:00 grep --color=auto 29508
$ ps aux | grep plone
ubuntu 29743 0.0 0.0 12944 984 pts/0 S+ 11:53 0:00 grep --color=auto plone
除了一个指示服务器启动的条目外,var/log/instance.log
中没有任何内容
------
2018-02-08T11:53:24 INFO ZServer HTTP server started at Thu Feb 8 11:53:24 2018
Hostname: 0.0.0.0
Port: 8080
我怎么才能找出坠机的原因?
发布于 2018-02-08 11:59:59
与其运行bin/instance restart
,不如使用:
bin/instance fg
这将在前台运行调试模式中的Plone,而不是通过Supervisor在生产模式中运行。
然后,您可能会看到一条错误消息,并对您的崩溃进行跟踪(希望暗示缺少依赖关系或其他容易解决的问题)。
https://stackoverflow.com/questions/48684991
复制相似问题