We're Hiring!

omero.web Permission denied: access to /omero denied

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.

Re: omero.web Permission denied: access to /omero denied

Postby manics » Mon Mar 17, 2014 5:02 pm

Hi Tom

Could you try deleting var/omero.fcgi
And double check the permissions on all parent directories to ensure they're world readable/executable?

Is there any additional information in your Apache logs (/var/log/httpd/error_log)?

Thanks

Simon
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: omero.web Permission denied: access to /omero denied

Postby jburel » Tue Mar 18, 2014 11:29 pm

Problem solved.
Web client is now running.

Jmarie
User avatar
jburel
Team Member
 
Posts: 348
Joined: Thu May 21, 2009 6:38 pm
Location: dundee

Re: omero.web Permission denied: access to /omero denied

Postby manics » Wed Mar 19, 2014 9:05 am

Great, what was the solution for future reference?
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: omero.web Permission denied: access to /omero denied

Postby Tom » Wed Mar 19, 2014 4:21 pm

manics wrote:Great, what was the solution for future reference?

Thank you Simon.
Jmarie solved it, by switching to nginx (vs apache). There was trick though. nginx conf file generated by omero (omero config web nginx) must be provided to nginx server as -c <conf_file>. If it is put under /etc/ngnix/conf.d and therefore included to the main nginx.conf file at server startup, nginx will complain about "pid" as invalid. I guess that is because "pid" is already specified in the main conf file.

There is still a 404 error for entry page (http://server:8080/omero) though. But it tells "Go back to: Webadmin, Webclient or Logout". So one can continue on clicking "Webclient" ---- working in any sense.

Bingo, finally, thanks all and especially to Jmarie.
Tom
 
Posts: 12
Joined: Thu Mar 13, 2014 2:22 pm

Re: omero.web Permission denied: access to /omero denied

Postby jmoore » Wed Mar 19, 2014 8:44 pm

Just as a heads up for others that end up reading this thread, the "--system" argument is likely needed for copying files into conf.d:
Code: Select all
$ bin/omero web config nginx -h
usage: bin/omero web config [-h] [--http HTTP] [--system] {nginx,apache}

Output a config template for server ('nginx' or 'apache' for the moment)

Positional Arguments:
  {nginx,apache}

Optional Arguments:
  In addition to any higher level options

  -h, --help          show this help message and exit
  --http HTTP         HTTP port for web server (not fastcgi)
  --system            System appropriate configuration file


"bin/omero web config nginx --system | grep pid" shows nothing.
Glad it's all working though!

Cheers,
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest

cron