Graham Dumpleton
grahamd at dscpl.com.au
Thu Dec 7 16:48:25 EST 2006
Bob Gailer wrote .. > 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? What version of Apache are you running, 2.0 or 2.2? Then ensure that matches the precompiled binaries you picked up from: http://www.apache.org/dist/httpd/modpython/win/3.2.10/ The Apache version number is in the name of the file. Sorry, don't how on Windows to tell which version of Apache you are running. If that doesn't help, will have to let some people who do know something about Windows comment. I am only regurgitating previous suggestions from past mailing list posts. Graham
|