Omero 5.0.0-beta1 and fastCGI
Posted: Tue Jan 14, 2014 2:40 pm
Hi everybody,
I finished to install OMERO 5 beta1 following the online tutorial available at https://www.openmicroscopy.org/site/support/omero5/sysadmins/unix/server-install-linux.html on Ubuntu 12.04 LTS and everything went fine.
However, when I tried to not use the web development and integrate the omero web interface into Apache, things didn't work:
I followed the tutorial available here:
http://www.openmicroscopy.org/site/supp ... l-web.html
But my main problem is that after configuring omero we to use fastcgi and started the web server:
I cannot see any omero.fcgi file mention in the /etc/apache2/sites-enabled/99-omero-web.conf generated by running the command
So when I access to mywebserver.com/omero, I got an error message and the following in the apache.log file:
I am probably missing something, but I can't see what.
Any help will be appareciate
Thanks,
Benjamin
I finished to install OMERO 5 beta1 following the online tutorial available at https://www.openmicroscopy.org/site/support/omero5/sysadmins/unix/server-install-linux.html on Ubuntu 12.04 LTS and everything went fine.
However, when I tried to not use the web development and integrate the omero web interface into Apache, things didn't work:
I followed the tutorial available here:
http://www.openmicroscopy.org/site/supp ... l-web.html
But my main problem is that after configuring omero we to use fastcgi and started the web server:
- Code: Select all
omero config set omero.web.application_server "fastcgi-tcp"
omero web start
I cannot see any omero.fcgi file mention in the /etc/apache2/sites-enabled/99-omero-web.conf generated by running the command
- Code: Select all
omero web config apache
- Code: Select all
RewriteEngine on
RewriteRule ^/?$ /omero/ [R]
###
### Stanza for OMERO.web created 2014-01-14 13:56:05.893149
###
FastCGIExternalServer "/opt/OMERO/OMERO.server/var/omero.fcgi" -socket "/opt/OMERO/OMERO.server/var/django_fcgi.sock"
<Directory "/opt/OMERO/OMERO.server/var">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/opt/OMERO/OMERO.server/lib/python/omeroweb/static">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /static /opt/OMERO/OMERO.server/lib/python/omeroweb/static
Alias /omero "/opt/OMERO/OMERO.server/var/omero.fcgi/"
So when I access to mywebserver.com/omero, I got an error message and the following in the apache.log file:
- Code: Select all
[Tue Jan 14 15:35:54 2014] [notice] FastCGI: process manager initialized (pid 5318)
[Tue Jan 14 15:35:54 2014] [notice] Apache/2.2.22 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
Tue Jan 14 15:36:36 2014] [error] [client 10.35.78.30] (2)No such file or directory: FastCGI: failed to connect to server "/opt/OMERO/OMERO.server/var/omero.fcgi": connect() failed
[Tue Jan 14 15:36:36 2014] [error] [client 10.35.78.30] FastCGI: incomplete headers (0 bytes) received from server "/opt/OMERO/OMERO.server/var/omero.fcgi"
I am probably missing something, but I can't see what.
Any help will be appareciate
Thanks,
Benjamin