Page 2 of 2

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

PostPosted: Mon Mar 17, 2014 5:02 pm
by manics
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

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

PostPosted: Tue Mar 18, 2014 11:29 pm
by jburel
Problem solved.
Web client is now running.

Jmarie

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

PostPosted: Wed Mar 19, 2014 9:05 am
by manics
Great, what was the solution for future reference?

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

PostPosted: Wed Mar 19, 2014 4:21 pm
by Tom
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.

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

PostPosted: Wed Mar 19, 2014 8:44 pm
by jmoore
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.