[mod_python] Error starting apache service after installingmod_python

Bob Gailer bgailer at alum.rpi.edu
Thu Dec 7 16:40:23 EST 2006

Graham Dumpleton wrote:
> Bob Gailer wrote ..
>> (Windows 2003 server) event log states:
>> The Apache service named Apache2Triad Apache2 Service reported the 
>> following error:
>>  >>> httpd.exe: Syntax error on line 1103 of 
>> H:/apache2triad/conf/httpd.conf: Cannot load 
>> H:/apache2triad/modules/mod_python.so into server: The specified 
>> procedure could not be found.     .
>> Line 1103 is "LoadModule python_module modules/mod_python.so"
>> H:\apache2triad\modules\mod_python.so exists.
>> What do I need to do to fix this?
> It may exist, but check the following:
> 1. That the service that Apache is running as has permissions to be able to
> read the file and it isn't just only you who can read it.
It is in the same directory as all the other mod_*.so files, so I assume 
apache has the permission.
> 2. You also need to ensure that you have available the required Microsoft
> C/C++ runtime DLL libraries that the version you are using requires. Possibly
> msvcr71.dll and msvcp71.dll.
Where should these reside? I have copies in c:\windows\system32.and in 
h:\apache2triad\bin (and in numerous other places).
> 3. Ensure that you aren't trying to use compiled version of mod_python
> with wrong version of Apache that it was built for.
How do I do that?

Bob Gailer

More information about the Mod_python mailing list