AW: [mod_python] Apache service won't start after module import

Matthias Niederhausen matthias.niederhausen at tu-dresden.de
Mon Jul 23 10:32:08 EDT 2007


Hi again,

I tried changing the access rights, but that didn't help. Also, Python was
installed as Administrator. For confidence, I also installed Python2.5
together with the current version of mod_python (to have a clean, new
install) - same result. The service currently runs as a system account.


Matthias


On 23/07/07, Matthias Niederhausen <matthias.niederhausen at tu-dresden.de>
wrote:
> Hi!
>
> I'm quite new to Python and integrating it into Apache, and wanted to
> utilize TRAC on our Windows 2003 webserver. However, things are not as
easy
> as I thought: If I want to include mod_python as an Apache module, the
> service won't start anymore (but loads forever till Windows kills it after
> the timeout). Still, I got the very same configuration running on my WinXP
> pc.
>
> I have already done some checking to find the root of the problem, so I
can
> tell that the problem has nothing to do with any Python directives - just
> only the module import brings Apache down. Another interesting thing is
that
> when I run Apache not as a service, but from the command line, the import
> works and I can even get it to run the test handler(!). However, if I try
> and run TRAC in this configuration, the request times out and I get a
blank
> page.
> Finally, the logs reveal nothing: there is no error message to be seen.
> Also, the Windows event log offers no information.
> Currently I use the CGI handler, but it's awfully slow. Running TRAC in
its
> own webserver works, but I want to configure security settings in one
place.

Ensure that the mod_python module and the Microsoft C/C++ runtime
library used, plus the Python runtime library all have access rights
which would allow the user that the Apache service runs as to read and
use them. Also ensure that you install Python as an administrator so
that the Windows registry entries were setup for the whole machine and
not just you as a user.

Graham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4931 bytes
Desc: not available
Url : http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070723/030eb5c2/smime-0001.bin


More information about the Mod_python mailing list