[ome-users] upgrade 5.0.5 to 5.1.1 omero.web forbidden

Bernie Broughton b.broughton at sussex.ac.uk
Tue Apr 28 20:26:21 BST 2015


Hi Simon,

That was it:
drwx------ 5 omero omero  4096 Apr 28 16:20 var

changed to:
drwxr-xr-x 5 omero omero  4096 Apr 28 16:20 var

but mystified as to why the permissions were wrong.

Thanks!

Bernie

From: ome-users [mailto:ome-users-bounces at lists.openmicroscopy.org.uk] On Behalf Of Simon Li
Sent: 28 April 2015 18:01
To: OME User Support List
Subject: Re: [ome-users] upgrade 5.0.5 to 5.1.1 omero.web forbidden

Hi Bernie
Can you check the permissions on /var/omero/omero_dist/var/ and all parent directories? They need to be readable/executable by the apache user.
Simon

On 28 April 2015 at 17:48, Bernie Broughton <b.broughton at sussex.ac.uk<mailto:b.broughton at sussex.ac.uk>> wrote:
Dear Omero users,

I’ve upgraded from 5.0.5 to 5.1.1 and get: forbidden you don’t have permission to access / on this server.

and I’m finding it hard to troubleshoot the problem.

omero.conf:


FastCGIExternalServer "/var/omero/omero_dist/var/omero.fcgi" -host 127.0.0.1:4080<http://127.0.0.1:4080> -idle-timeout 60



<Directory "/var/omero/omero_dist/var">

    Options -Indexes FollowSymLinks

    Order allow,deny

    Allow from all

</Directory>



<Directory "/var/omero/omero_dist/lib/python/omeroweb/static">

    Options -Indexes FollowSymLinks

    Order allow,deny

    Allow from all

</Directory>



<Directory "/var/omero/omero_dist/etc/templates/error">

    Options -Indexes FollowSymLinks

    Order allow,deny

    Allow from all

</Directory>



<Location />

    ErrorDocument 500 /error/maintainance.html

</Location>



Alias /error /var/omero/omero_dist/etc/templates/error

Alias /static /var/omero/omero_dist/lib/python/omeroweb/static

Alias / "/var/omero/omero_dist/var/omero.fcgi/“



Configuration (with LDAP removed):



-bash-4.1$ bin/omero config get

new_user_group=Public

omero.db.name<http://omero.db.name>=omero

omero.db.pass=xxxx

omero.db.user=omero

omero.web.apps=["figure"]

omero.web.ui.top_links=[["Data", "webindex", {"title": "Browse Data via Projects, Tags etc"}], ["History", "history", {"title": "History"}], ["Help", "http://help.openmicroscopy.org/", {"target": "new", "title": "Open OMERO user guide in a new tab"}], ["Figure", "figure_index”]]



Also get these warnings when I start apache:



[Tue Apr 28 17:43:38 2015] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 551 will probably never match because it overlaps an earlier Alias.

[Tue Apr 28 17:43:38 2015] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 576 will probably never match because it overlaps an earlier Alias.

[Tue Apr 28 17:43:38 2015] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 855 will probably never match because it overlaps an earlier Alias.



Apache error_log:



[Tue Apr 28 17:46:05 2015] [error] [client xxx.xxx.xxx.xxx] (13)Permission denied: access to / denied



Any help would be appreciated,



Bernie

The University of Dundee is a registered Scottish Charity, No: SC015096

_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users


The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20150428/2d2c1297/attachment.html>


More information about the ome-users mailing list