[mod_python] Error starting apache service after installingmod_python

Graham Dumpleton grahamd at dscpl.com.au
Thu Dec 7 16:15:06 EST 2006

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.

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.

3. Ensure that you aren't trying to use compiled version of mod_python
with wrong version of Apache that it was built for.


More information about the Mod_python mailing list