模块wsgi_module已经加载,跳绳 [英] module wsgi_module is already loaded, skipping

查看:1472
本文介绍了模块wsgi_module已经加载,跳绳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮我,我一直在试图从很长的时间解决这个错误。

Please help me out, I have been trying to resolve this error from a long time.

当我重新启动Apache和放大器;键入该:s​​udo的/ usr / sbin目录/ apachectl中-t
我得到这样的输出:结果
[周五8月24日17时02分58秒2012] [警告]模块wsgi_module已经被加载,跳过结果
语法确定

When I restart apache & type this :sudo /usr/sbin/apachectl -t I get an output like this:
[Fri Aug 24 17:02:58 2012] [warn] module wsgi_module is already loaded, skipping
Syntax OK

这是怎么回事了?我已经检查了wsgi.load文件等/ apache2的/ MODS启用。它加载mod_wsgi.so只有一次。我已经安装了从源头和放大器的libapache-MOD-WSGI;我使用python 2.7.3。

What is going wrong? I have checked the wsgi.load file in etc/apache2/mods-enabled. It loads the mod_wsgi.so only once. I have installed libapache-mod-wsgi from the source & I'm using python 2.7.3.

推荐答案

首先检查是否有两行的任何地方说:

First check whether you have two lines anywhere saying:

LoadModule wsgi_module modules/mod_wsgi.so

如果你不这样做,那么一定是包含了两次,它是在列出的文件。

If you don't, then the one file that it is listed in, must be getting included twice.

因此​​,寻找任何在文件中包含线,看文件是否可以列入不止一次它们的结果。请特别小心的通配符如何工作的include指令。

So look for any Include lines in the files and see whether the file could be included more than once a a result of them. Be especially careful of how wildcards work in Include directive.

这篇关于模块wsgi_module已经加载,跳绳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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