We're Hiring!

Omero Web production server failure

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Omero Web production server failure

Postby jwlary » 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.
jwlary
 
Posts: 3
Joined: Sun Sep 19, 2010 3:06 pm

Re: Omero Web production server failure

Postby atarkowska » Thu Sep 23, 2010 3:20 pm

Hi Jeff

Could you please copy your mod_python configuration? Could you please confirm the:

Code: Select all
PythonPath "['/home/omero/omero_dist/lib/python', '/home/omero/omero_dist/var/lib', '/home/omero/omero_dist/lib/python/omeroweb'] + sys.path"
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Omero Web production server failure

Postby jwlary » Mon Oct 04, 2010 3:52 pm

Sorry about the delay in getting back to you but I've only been working on this part-time in order to set up a test system for a Microscopy Facility here. The python path was set correctly and it turned out to be a permissions problem after all. Since then I've successfully set up test systems using production servers in both Fedora 11 (because it starts out with postgresql 8.3) and Centos 5.5 (installing postgresql 8.3.11 after the server installation).
Thanks,
Jeff Lary.
jwlary
 
Posts: 3
Joined: Sun Sep 19, 2010 3:06 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest