Graham Dumpleton
grahamd at dscpl.com.au
Fri Dec 2 06:15:16 EST 2005
Can you get simple mod_python test handlers working at all? Ie., take Django out of the picture and use a simple example like that described at: http://www.dscpl.com.au/articles/modpython-001.html Ie.. let us ensure that your mod_python installation works first. Graham On 02/12/2005, at 7:35 PM, Paolo wrote: > Hi all, I'm trying to setup Apache and mod_python in order tu run > Django (http://www.djangoproject.com/) with this setup. > > I'm facing a problem that other people already have experienced: no > response is returned to the browser after each request is made. These > errors are notified in error_log: > > [Fri Dec 02 09:20:48 2005] [notice] mod_python: Creating 32 session > mutexes based on 150 max processes and 0 max threads. > [Fri Dec 02 09:20:48 2005] [notice] Apache/2.0.55 (Unix) > mod_python/3.1.4 Python/2.4.2 configured -- resuming normal operations > [Fri Dec 02 09:20:48 2005] [info] Server built: Dec 1 2005 18:51:05 > [Fri Dec 02 09:20:48 2005] [debug] prefork.c(956): AcceptMutex: > sysvsem (default: sysvsem) > [Fri Dec 02 09:20:51 2005] [notice] mod_python: (Re)importing module > 'django.core.handlers.modpython' > [Fri Dec 02 09:20:54 2005] [notice] child pid 3645 exit signal > Segmentation fault (11) > > I tried different configurations (apache 2.0.54/mod_python > 3.1.4/python 2.3.4, apache 2.0.55/mod_python 3.1.4/python 2.3.4, > apache 2.0.55/mod_python 3.1.4/python 2.4.2) but I didn't see any > changes. Experiments happen on Slackware, kernel 2.4.26. > > I discovered interesting information that might resemble my scenario > also: Expat Causing Apache Crash > (http://www.dscpl.com.au/articles/modpython-006.html), Segfault with > Vampire (http://www.modpython.org/pipermail/mod_python/2005-October/ > 019390.html), > mod_python and MySQLDb won't work together > (http://www.modpython.org/FAQ/faqw.py?req=show&file=faq02.013.htp), > mod_python and mysql - problem solved! > (http://www.modpython.org/pipermail/mod_python/2004-January/ > 014886.html). > > I have followed the proposed solutions, but nothing applies > succesfully. > > As I already have stressed the helpful Django people at django-users > (complete thread for details at http://tinyurl.com/7k3qt), and the > issue is still unresolved, I guess that or the cause of this behavior > is so evident that it results even hard to trace, or that it's really > obscure. > > Can I have an opinion from you, too? > > Finally... I'm using PythonDebug On and LogLevel debug. Is there some > way to obtain further details? > > Thanks! > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python
|