Omero Web production server failure
Posted: Tue Sep 21, 2010 5:45 pm
I'm trying to set up a production server using Fedora 11 and Omero 4.2.0. I've installed all of the pre-requisites and am able to access Omero using the lightweight development server but if I make the switch to Apache with mod_python I cannot connect to either the webclient nor webadmin, but only get the following on the browser when I point it to the website:
================================================================
MOD_PYTHON ERROR
ProcessId: 7970
Interpreter: '127.0.0.1'
ServerName: '127.0.0.1'
DocumentRoot: '/var/www/html'
URI: '/webclient'
Location: '/'
Directory: None
Filename: '/var/www/html/webclient'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1202, in _process_target
module = import_module(module_name, path=path)
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 304, in import_module
return __import__(module_name, {}, {}, ['*'])
ImportError: No module named django.core.handlers.modpython
================================================================
As far as I can tell I have the correct permissions on the various directories so that the apache user has access. It may be a matter of my misinterpretation of the instructions but I just can't seem to get this to work as it should.
What other information should I supply so that someone can help me to get this to work.
Thanks,
Jeff Lary.
================================================================
MOD_PYTHON ERROR
ProcessId: 7970
Interpreter: '127.0.0.1'
ServerName: '127.0.0.1'
DocumentRoot: '/var/www/html'
URI: '/webclient'
Location: '/'
Directory: None
Filename: '/var/www/html/webclient'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 1202, in _process_target
module = import_module(module_name, path=path)
File "/usr/lib64/python2.6/site-packages/mod_python/importer.py", line 304, in import_module
return __import__(module_name, {}, {}, ['*'])
ImportError: No module named django.core.handlers.modpython
================================================================
As far as I can tell I have the correct permissions on the various directories so that the apache user has access. It may be a matter of my misinterpretation of the instructions but I just can't seem to get this to work as it should.
What other information should I supply so that someone can help me to get this to work.
Thanks,
Jeff Lary.