I've upgraded our development server (Centos 5) from 4.2.0 to 4.2.2 and the omero server starts without issue.
FastCGI has been added to Apache and is enabled:
[root@omerodev mod_fastcgi-2.4.6]# grep -i "FastCGI" /var/log/httpd/error_log
[Mon Jan 03 19:37:58 2011] [notice] FastCGI: process manager initialized (pid 11301)
OMERO.web is configured:
[omero@omerodev OMERO.server-Beta-4.2.2]$ bin/omero config get
omero.config.upgraded=4.2.0
omero.db.name=omero
omero.db.pass=********
omero.db.passwd=********
omero.db.user=omero
omero.web.application_host=http://omerodev.<domain>:80
omero.web.application_server=fastcgi-tcp
and runs:
[omero@omerodev OMERO.server-Beta-4.2.2]$ bin/omero web start
Starting OMERO.web... [OK]
BUT I cannot open the location:
http://omerodev.domain/webclient
gives:
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)
File "/home/omero/omero_dist/lib/python/django/core/handlers/modpython.py", line 228, in handler
return ModPythonHandler()(req)
File "/home/omero/omero_dist/lib/python/django/core/handlers/modpython.py", line 191, in __call__
self.load_middleware()
File "/home/omero/OMERO.server-Beta-4.2.2/lib/python/django/core/handlers/base.py", line 33, in load_middleware
for middleware_path in settings.MIDDLEWARE_CLASSES:
File "/home/omero/OMERO.server-Beta-4.2.2/lib/python/django/utils/functional.py", line 269, in __getattr__
self._setup()
File "/home/omero/OMERO.server-Beta-4.2.2/lib/python/django/conf/__init__.py", line 40, in _setup
self._wrapped = Settings(settings_module)
File "/home/omero/OMERO.server-Beta-4.2.2/lib/python/django/conf/__init__.py", line 73, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/home/omero/OMERO.server-Beta-4.2.2/lib/python/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/omero/OMERO.server-Beta-4.2.2/lib/python/omeroweb/settings.py", line 55, in ?
CONFIG_XML = omero.config.ConfigXml(CONFIG_XML)
File "/home/omero/OMERO.server-Beta-4.2.2/lib/python/omero/config.py", line 49, in __init__
self.source = open(filename, "a+") #: Open file handle
IOError: [Errno 13] Permission denied: '/home/omero/omero_dist/etc/grid/config.xml'
I've run out of ideas,
Bernie