[mod_python] Apache2 won't start after changing config file with Load mod_py...

Graham Dumpleton graham.dumpleton at gmail.com
Mon Apr 23 18:05:42 EDT 2007


That error generally means that the mod_python module is built for a
different version of Apache than what you are using. That or you are
using some distribution of Apache that wasn't what was built against.

Where did you get your Apache and mod_python installers and what were
the exact names of the installer files?

Graham

On 24/04/07, Teresa Stanton <tms43 at clearwire.net> wrote:
> Thank you.  I used the mod_Python installer for python 2.5, and Apache 2, I
> have Microsoft Visual C++ installed on my computer (I don't know if that
> makes a difference), I am the administrator on this computer and am running
> in administrator mode.
>
> I will do the search on the C++ runime DLLs to make sure that isn't a
> problem..
>
> I do get this message when I run the configuration test:
>
> Syntax error on line 174 of C:/Program Files/Apache
> Group/Apache2/conf/httpd.con
> f:
> Can't locate API module structure `mod_python' in file C:/Program
> Files/Apache G
> roup/Apache2/modules/mod_python.so: No error
>
> If that makes it any clearer.  I hadn't run the config test previously, but
> it was suggested by someone else.
>
> Ty
>
> T
> -----Original Message-----
> From: Graham Dumpleton [mailto:graham.dumpleton at gmail.com]
> Sent: Monday, April 23, 2007 2:54 PM
> To: Teresa Stanton
> Cc: mod_python at modpython.org
> Subject: Re: [mod_python] Apache2 won't start after changing config file
> with Load mod_py...
>
> On 24/04/07, Teresa Stanton <tms43 at clearwire.net> wrote:
> >
> >
> >
> > I installed mod_python 3.3.1 to use with my python 2.5 and Apache 2.0.58.
> > Using the config information found in the following web site:
> >
> > http://www.dscpl.com.au/wiki/ModPython/Articles/GettingModPythonWorkin
> > g
> >
> > I added this line:
> >
> > LoadModule python_module modules/mod_python.so
> >
> > The only change I made is in the path, 'libexec' should be 'modules'
> > on my Windows XP.  When I try to start the server, it won't start at
> > all.  There are no error files because it won't start.
> >
> > Unfortunately I have to run the python files I'm using in Windows.
> > I'm trying to use VideoCapture for a project in a python class.  I
> > will be writing a script that will allow me to grab images that have
> > been taken by any one of 3 different cameras.  But, I gotta get this
> > Apache server running with mod_Py first.  Can anyone help me?
>
> The usual reasons for a complete inability to start Apache on Windows are:
>
> 1. You are using the wrong version of mod_python binary installer for the
> version of Apache you are using.
>
> 2. You are missing the required Microsoft Visual C++ runtime DLLs which
> mod_python requires exist.
>
> 3. You have a problem with access privileges whereby you are running Apache
> as some special user and that user does not have access rights to read the
> mod_python Apache module, the C++ runtime DLLs or some other files required
> by mod_python.
>
> Someone else will have to comment on what the C++ runtime DLLs are that are
> required as I don't know the exact details. If you use the search box on
> www.modpython.org site to search the archive of old mailing list posts you
> might possibly find the information though.
>
> Graham
>
>
>


More information about the Mod_python mailing list