无法运行Plone网站 [英] Unable to run Plone site

查看:117
本文介绍了无法运行Plone网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的网站使用Plone,当我尝试运行以下命令时,出现错误: 克隆/实例$ bin/实例fg

I am using Plone for my site When i am trying to run following command it gets an error : Plone/zinstance $ bin/instance fg

回溯(最近通话最近):

File "/Plone/zinstance/parts/instance/bin/interpreter", line 297, in <module>
    exec(compile(__file__f.read(), __file__, "exec"))
  File "/Plone/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
    run(/Plone/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/run.py", line 22, in run
    starter.prepare()
  File "/home/turningcloud/Plone/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/__init__.py", line 79, in prepare
    self.setupServers()
  File "/Plone/buildout-cache/eggs/Zope2-2.13.22-py2.7.egg/Zope2/Startup/__init__.py", line 214, in setupServers
    % (server.servertype(),e[1]))
ZConfig.ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use)

推荐答案

如果未更改Plone配置,它将尝试绑定到端口8080.错误消息表明该端口已在使用中.

If you did not change the Plone configuration, it is trying to bind to port 8080. The error message indicates the port is already in use.

最常见的原因是此实例或另一个Plone实例正在使用端口.如果没有其他Plone安装,则可能是当前的Plone安装,并且Plone守护程序作为后台进程运行.尝试使用bin/instance stop.

The most common reason is that this or another Plone instance is using the port. If you don't have another Plone install, then it may be the current Plone install, with the Plone daemon running as a background process. Try using bin/instance stop.

如果这不起作用,并且您控制的是一台开发机器,则可能希望重新启动它.否则,请使用操作系统的进程监视机制(在Linux系统上为ps aux | grep python)来确定Plone是否已在运行.如果是这样,请终止该进程.

If that doesn't work and this is a development machine that you control, you may wish to simply reboot it. Otherwise, use your operating system's process-monitor mechanisms (ps aux | grep python on a Linux system) to find out if Plone is already running. If so, kill the process.

Plone不是唯一使用8080作为其默认端口的软件包.如果以上操作失败,请使用网络监视器程序(Linux系统上的netstat或sockstat)来跟踪侦听该端口的其他进程.更改其配置或Plone的配置.

Plone is not the only package that uses 8080 as its default port. If the above has failed, use a network monitor program (netstat or sockstat on a Linux system) to track down the other process listening on the port. Change its configuration or Plone's.

这篇关于无法运行Plone网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆