[ome-users] Helping debugging web access

Aleksandra Tarkowska (Staff) A.Tarkowska at dundee.ac.uk
Thu Apr 28 15:53:16 BST 2016


what is the output of `ps aux | grep /home/omero/OMERO.server/var/django.pid` ?


Ola
Software Engineer
Open Microscopy Environment
University of Dundee

On 28 Apr 2016, at 15:48, Shaun Hare <Shaun.Hare at nottingham.ac.uk<mailto:Shaun.Hare at nottingham.ac.uk>> wrote:

Thanks for the reply ola
I did have 1.4 cos I installed using >=1.9.3 (as in docs)

Corrected that and now have
pip freeze | grep gunicorn
gunicorn==19.3.0

But now get this

(venv)[omero at lslapome01 ~]$ OMERO.server/bin/omero --debug=debug web start
Executing: ['/home/omero/venv/bin/python', 'manage.py', 'collectstatic', '--noinput']
Post-processed 'omeroweb.viewer.min.css' as 'omeroweb.viewer.min.css'
Post-processed 'omeroweb.viewer.min.js' as 'omeroweb.viewer.min.js'

0 static files copied to '/home/omero/OMERO.server/lib/python/omeroweb/static', 618 unmodified, 2 post-processed.
Clearing expired sessions. This may take some time... Executing: ['/home/omero/venv/bin/python', 'manage.py', 'clearsessions']
[OK]
Starting OMERO.web... Returning popen: [u'gunicorn', u'-D', u'-p', u'/home/omero/OMERO.server/var/django.pid', u'--bind', u'127.0.0.1:4080', u'--workers', u'5', u'--threads', u'1', u'--timeout', u'60', u'--max-requests', u'0', u'omeroweb.wsgi:application']
[OK]
(venv)[omero at lslapome01 ~]$ OMERO.server/bin/omero --debug=debug web status
OMERO.web status... [ERROR] OMERO.web workers (PID 10571) - no such process. Use `ps aux | grep /home/omero/OMERO.server/var/django.pid` and kill stale processes by hand.
[NOT STARTED]


Cannot find any processes – like status so I assume it starts and dies immediately??

Regards

Shaun

From: ome-users <ome-users-bounces at lists.openmicroscopy.org.uk<mailto:ome-users-bounces at lists.openmicroscopy.org.uk>> on behalf of "Aleksandra Tarkowska (Staff)" <A.Tarkowska at dundee.ac.uk<mailto:A.Tarkowska at dundee.ac.uk>>
Reply-To: OME User Support List <ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>>
Date: Thursday, 28 April 2016 at 15:14
To: OME User Support List <ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>>
Subject: Re: [ome-users] Helping debugging web access

Hi Shaun

Which gunicorn version you have installed?

It has to be 19.3+

you can check by `pip freeze | grep gunicorn`

Ola
Software Engineer
Open Microscopy Environment
University of Dundee

On 28 Apr 2016, at 09:14, Shaun Hare <Shaun.Hare at nottingham.ac.uk<mailto:Shaun.Hare at nottingham.ac.uk>> wrote:

With the great support of this list and the documentation we have our install of omero up and runnign and can connect with clients not a problem

However the web side does not seem to want to start (see below)

Could anyone suggest where to look to do further debugging – the log at var/log/OMEROweb.log
Just yields a django deprecation warning

OMERO.server/bin/omero --debug=debug web start
Executing: ['/home/omero/venv/bin/python', 'manage.py', 'collectstatic', '--noinput']
Post-processed 'omeroweb.viewer.min.css' as 'omeroweb.viewer.min.css'
Post-processed 'omeroweb.viewer.min.js' as 'omeroweb.viewer.min.js'

0 static files copied to '/home/omero/OMERO.server/lib/python/omeroweb/static', 618 unmodified, 2 post-processed.
Clearing expired sessions. This may take some time... Executing: ['/home/omero/venv/bin/python', 'manage.py', 'clearsessions']
[OK]
Starting OMERO.web... Returning popen: [u'gunicorn', u'-D', u'-p', u'/home/omero/OMERO.server/var/django.pid', u'--bind', u'127.0.0.1:4080', u'--workers', u'5', u'--threads', u'1', u'--timeout', u'60', u'--max-requests', u'0', u'omeroweb.wsgi:application']
[OK]
(venv)[omero at lslapome01 ~]$ OMERO.server/bin/omero --debug=debug web status
OMERO.web status... [NOT STARTED]


We are using nginx – it is running OK – but of course complains about upstream server not being available.

I have turned off (temporarily SELinux and Firewall)

Appreciate any further advice anyone can offer


Shaun

This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.


_______________________________________________
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



This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.


_______________________________________________
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/20160428/901d76f2/attachment.html>


More information about the ome-users mailing list