omero.web Permission denied: access to /omero denied
Posted: Fri Mar 14, 2014 7:23 pm
Problem: http://localhost/omero failure with log error "Permission denied: access to /omero denied"
System environment:
Omero 5.0, Apache 2.2.15-29, Cent OS 6.2, FastCFI mod_fastcgi 2.4.6
# sudo -u omero bin/omero config get
# (some info hidden)
DYLD_LIBRARY_PATH=/usr/share/java:/usr/lib/:
ICE_HOME=/usr/share/Ice-3.4.2
LD_LIBRARY_PATH=/usr/share/java:/usr/lib:
OMERO_HOME=/usr/local/omero.server
omero.db.name=****
omero.db.user=****
omero.security.password_provider=chainedPasswordProvider
omero.web=True
omero.web.application_server=fastcgi-tcp
# ls -ld var/
drwxrwxrwx. 5 omero omero 4096 Mar 14 14:07 var/
# ls -ld var/om*
-rw-rw-rw-. 1 omero omero 0 Mar 14 13:25 var/omero.fcgi
# httpd configuration:
And the FastCGI seems to be listening:
[root@newton omero.server]# netstat -an | grep 4080
tcp 0 0 0.0.0.0:4080 0.0.0.0:* LISTEN
System environment:
Omero 5.0, Apache 2.2.15-29, Cent OS 6.2, FastCFI mod_fastcgi 2.4.6
# sudo -u omero bin/omero config get
# (some info hidden)
DYLD_LIBRARY_PATH=/usr/share/java:/usr/lib/:
ICE_HOME=/usr/share/Ice-3.4.2
LD_LIBRARY_PATH=/usr/share/java:/usr/lib:
OMERO_HOME=/usr/local/omero.server
omero.db.name=****
omero.db.user=****
omero.security.password_provider=chainedPasswordProvider
omero.web=True
omero.web.application_server=fastcgi-tcp
# ls -ld var/
drwxrwxrwx. 5 omero omero 4096 Mar 14 14:07 var/
# ls -ld var/om*
-rw-rw-rw-. 1 omero omero 0 Mar 14 13:25 var/omero.fcgi
# httpd configuration:
RewriteEngine on
RewriteRule ^/?$ /omero/ [R]
FastCGIExternalServer "$OMERO_HOME/var/omero.fcgi" -host 0.0.0.0:
4080
<Directory "$OMERO_HOME/var">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/local/OMERO.server-5.0.0-ice34-b19/lib/python/omeroweb/static">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /static $OMERO_HOME/lib/python/omeroweb/static
Alias /omero "$OMERO_HOME/var/omero.fcgi/"
And the FastCGI seems to be listening:
[root@newton omero.server]# netstat -an | grep 4080
tcp 0 0 0.0.0.0:4080 0.0.0.0:* LISTEN