[mod_python] Apache restart and Internal Server Error

Jonathan Hseu vomjom at vomjom.org
Sun Aug 8 20:14:58 EDT 2004


Whenever I restart apache (using /etc/init.d/apache2 restart on debian,
which is equivalent to 'apachectl restart' or sending a SIGHUP to
apache2), and then try to access a mod_python page, I get an Internal
Server Error.  Does anyone else get this?  Someone encountered this same
bug back in January, but it doesn't seem to have been fixed yet...

This is particularly an issue because logrotate on debian calls
/etc/init.d/apache2 restart... so, before, whenever it ran, it would
cause the web page to break.

Now, I have made it first call /etc/init.d/apache2 stop, wait 10
seconds, then start it again, which fixes the problem...

But, this is still an important bug...

This bug appears even with the "Hello World" example.

Jonathan Hseu


More information about the Mod_python mailing list