logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: LoadModule failure.
Author
sos



Joined: 20 Sep 2008
Posts: 6
Location: Bucharest, Romania.

PostPosted: Mon 13 Apr '09 19:07    Post subject: LoadModule failure. Reply with quote

Hi, i'm trying to use the mod_wsgi.so, but my apache fails to load it, whenever i try to uncomment the line "LoadModule wsgi_module modules/mod_wsgi.so" it gives an error popup "The requested operation has failed", and i dont get anything in the error.log file of apache, only in the windows xp event viewer for applications, and i get this:


The Apache service named reported the following error:
>>> he application configuration is incorrect. Reinstalling the application may fix this problem. .


I am using the latest apache, on win xp pro, and the appropriate and latest mod_wsgi.so file for my apache and python(2.6) version, also for my operating system.

I also uncommented all the module loading lines even though i dont need them, i did it to see if there is something wrong, and all the modules load ok when i comment the loading of mod_wsgi back.

Also i had the same problem with mod_python.

Thanks, hope somebody has an ideea of what it causing this.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 14 Apr '09 0:41    Post subject: Reply with quote

module: http://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-win32-ap22py26-2.4.so
Python: http://www.python.org/ftp/python/2.6.1/python-2.6.1.msi

This combo works on both my VC6 and VC9 builds of 2.2.11. http://wsgi.justmyspace.org/
If I start Apache at command line w/o python installed on system I get the standard cannot find module.

I noticed some things mentioned about why it may not work.
http://code.google.com/p/modwsgi/wiki/InstallationIssues

Python library being used is static not shared.
Apache was built in Maintainer Mode (?)
lots of other reasons as well
Back to top
sos



Joined: 20 Sep 2008
Posts: 6
Location: Bucharest, Romania.

PostPosted: Tue 14 Apr '09 15:01    Post subject: Reply with quote

I found this in the log by mistake.

httpd.exe: Syntax error on line 130 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_wsgi.so into server:
This application has failed to start because the application configuration is incorrect.
Reinstalling the application may fix this problem.

[Mon Apr 13 20:17:29 2009] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request.
: winnt_accept: Asynchronous AcceptEx failed.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 14 Apr '09 17:12    Post subject: Reply with quote

sos wrote:
I found this in the log by mistake.
Cannot load C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_wsgi.so into server:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.


This is similar to what I got with no Python on the machine. I'm wondering if your Python install didn't fully install. I notice many keys in the registry concerning it, I should have done an installrite on it.

However this is something I see also with corrupted modules as well. Try downloading module again and see if that might be it.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 14 Apr '09 18:10    Post subject: Reply with quote

sos wrote:

[Mon Apr 13 20:17:29 2009] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request.
: winnt_accept: Asynchronous AcceptEx failed.


For the AcceptEx error see http://httpd.apache.org/docs/2.2/en/mod/mpm_winnt.html
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 17 Apr '09 1:28    Post subject: Reply with quote

ok .. I just had that module in an Apache w/o python and that is the exact Error I got. e.g. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.


Wondering if you've tried reinstalling Python.
Back to top


Reply to topic   Topic: LoadModule failure. View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules