We're Hiring!

Difficulties with Apache config file(Omero.web)

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.

Difficulties with Apache config file(Omero.web)

Postby slozosnitram » Mon Mar 07, 2016 1:36 pm

Hi Everybody,

Recently installed Omero.server on Ubuntu server 14.04. With Omero.insight works OK but unfortunately I'm having problems with the Omero.web. I'm stuck with apache configuration (never worked with apache configs before).
At this moment I generated config with "omero web config apache" and edited omero-web.config accordingly.
But something is not working.
So can anybody give me an advice how to configure correctly (I'll provide any screenshots if necessary).

Regards Martins.
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: Difficulties with Apache config file(Omero.web)

Postby manics » Mon Mar 07, 2016 1:48 pm

Hi Martins

Have you tried following the walkthrough: http://www.openmicroscopy.org/site/supp ... tml#apache

Ubuntu 14.04 provides Apache 2.4, so you'll need to run
Code: Select all
omero web config apache24 ...


If that doesn't work can you give us details of your setup, including OMERO version, output of
Code: Select all
omero admin diagnostics
and
Code: Select all
omero config get --hide-password
and your Apache logs
Code: Select all
/var/log/apache2/
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: Difficulties with Apache config file(Omero.web)

Postby slozosnitram » Mon Mar 07, 2016 3:52 pm

Hi

Please see attached diagnostic, config, log screens (I'm temporary working over KVM ... something is wrong with PuTTy).

DiagnosticPartOne.JPG
DiagnosticPartOne.JPG (113.91 KiB) Viewed 5299 times

DiagnosticPartTwo.JPG
DiagnosticPartTwo.JPG (139.66 KiB) Viewed 5299 times

ErrorLogOne.JPG
ErrorLogOne.JPG (132.91 KiB) Viewed 5299 times
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: Difficulties with Apache config file(Omero.web)

Postby slozosnitram » Mon Mar 07, 2016 4:01 pm

Other screens.

OmeroConfig.JPG
OmeroConfig.JPG (23.94 KiB) Viewed 5296 times

omero-web.config.JPG
omero-web.config.JPG (102.05 KiB) Viewed 5296 times

ErrorLogTwo_PartThree.JPG
ErrorLogTwo_PartThree.JPG (156.16 KiB) Viewed 5296 times

This is the part of the logfile .... error.log.1
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: Difficulties with Apache config file(Omero.web)

Postby atarkowska » Mon Mar 07, 2016 8:01 pm

Hi

It looks to me like https://groups.google.com/forum/#!topic ... Ws2XJ-nlq0
Could you check if
Code: Select all
WSGISocketPrefix /var/run/apache2/wsgi
help?

Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: Difficulties with Apache config file(Omero.web)

Postby slozosnitram » Tue Mar 08, 2016 10:22 am

Hi,

Sorry I attached old version of config. here is actual one ..
omero-web.config.JPG
omero-web.config.JPG (97.81 KiB) Viewed 5267 times

and here are contents of /var/run/apache2/wsgi
ContentsOf_VarRunApache2wsgi.JPG
ContentsOf_VarRunApache2wsgi.JPG (13.06 KiB) Viewed 5267 times

but any way after "service apache2 reload" and "omero web start" I'm getting
OmeroWebStart.JPG
OmeroWebStart.JPG (43.28 KiB) Viewed 5267 times
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: Difficulties with Apache config file(Omero.web)

Postby manics » Tue Mar 08, 2016 10:30 am

You shouldn't run "omero web start", since Apache will handle the running of OMERO.web. Do you see anything in your web browser, or in the Apache logs?
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: Difficulties with Apache config file(Omero.web)

Postby slozosnitram » Tue Mar 08, 2016 12:11 pm

Browser says:

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.7 (Ubuntu) Server at 137.43.93.26 Port 80
slozosnitram
 
Posts: 34
Joined: Tue Jan 26, 2016 4:39 pm

Re: Difficulties with Apache config file(Omero.web)

Postby manics » Wed Mar 09, 2016 9:35 am

What's in your apache error logs when you see that browser error?
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: Difficulties with Apache config file(Omero.web)

Postby kennethgillen » Wed Mar 09, 2016 10:49 am

Hi Martins,

slozosnitram wrote:log screens (I'm temporary working over KVM ... something is wrong with PuTTy)


Rather than uploading screenshots, you might find it easier to use the "tail" command and paste output into the "mail" command, e.g.

Code: Select all
tail Blitz-0.log | mail myemail@address.com


Whatever works though!

All the best,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Next

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest