I've set up omero using apache with mod_python and everything is working fine until I have to reboot the system. After the reboot apache is running but it seems as if it's hang-up because nothing is loading (i just see the small indicator image of the browser).
When restarting apache manually after the reboot everything works fine again.
The mod_python config file looks like this:
- Code: Select all
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE omeroweb.settings
PythonDebug On
PythonPath "['/srv/omero/omero_dist/lib/python', '/srv/omero/omero_dist/lib/python/omeroweb'] + sys.path"
</Location>
The apache error_log:
- Code: Select all
[Mon Mar 29 14:26:49 2010] [notice] caught SIGTERM, shutting down
[Mon Mar 29 14:26:50 2010] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Mon Mar 29 14:26:50 2010] [notice] mod_python: using mutex_directory /tmp
[Mon Mar 29 14:26:50 2010] [notice] Apache/2.2.10 (Linux/SUSE) PHP/5.2.11 with Suhosin-Patch mod_python/3.3.1 Python/2.6 configured -- resuming normal operations
/usr/lib64/python2.6/site-packages/mod_python/importer.py:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Has anyone an idea whats wrong?
(It has something to do with the mod_python as apache works fine after reboot without it)