Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

module wsgi_module is already loaded, skipping

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

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

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.

like image 627
Exo Avatar asked Aug 25 '12 07:08

Exo


1 Answers

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.

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.

like image 196
Graham Dumpleton Avatar answered Sep 27 '22 22:09

Graham Dumpleton