<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Ingvar,</div><div><br></div>Just to be sure if the '10 minutes' is due to omero session timeout, you could change this with<div>E.g<br><div><br></div><div>$ bin/omero config set omero.sessions.timeout 3600000<span class="Apple-tab-span" style="white-space:pre">                </span># timeout in millisecs! </div><div><br></div><div>You'll need to do </div><div>$ bin/omero admin restart</div><div><br></div><div>and check that this varies your Apache timeout.</div><div>Then at least we know for sure that it's the same 10 mins, not a coincidence. </div><div><br></div><div> Will</div><div><br></div><div><br><div><br><div><div>On 24 Apr 2012, at 16:37, Aleksandra Tarkowska wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<div style="word-wrap:break-word">
<div>Hi Ingvar</div>
<div><br>
</div>
<div>Could you please send us <b>log files from omero/dist/var/log</b>, </div>
<div>as well as your <b>omero apache config file</b> and output of <b>bin/omero config get.</b></div>
<div><br>
</div>
<div>Could you please make sure you have web debugging on via:</div>
<div><br>
</div>
<div>bin/omero config get</div>
<div>and check if omero.web.debug is True</div>
<div><br>
</div>
<div>if not please set by:</div>
<div>bin/omero config set omero.web.debug True</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; ">
<div>
<div>Kind regards</div>
<div>Aleksandra</div>
<div><br>
</div>
<div>Aleksandra Tarkowska, M.Sc, Engg.</div>
<div>Software Engineer</div>
<div>Open Microscopy Environment</div>
<div><a href="http://www.openmicroscopy.org/">http://www.openmicroscopy.org</a></div>
</div>
<div><br>
</div>
</span></div>
<div></div>
<br>
<div>
<div>On 24 Apr 2012, at 16:21, Ingvar Lagerstedt wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>Hello,<br>
<br>
I am trying to use the webemdb interface with Apache on an RHEL6WS box. I<br>
can access the pages fine as long as there is a valid session, but as soon<br>
as the session ends I get an AttributeError. If I at that point connect<br>
to the WebClient, I can then access webemdb for another 10 min.<br>
I do not see this behaviour when using the development server on a Mac, so<br>
suspect that this is down to either some security feature of RHEL6WS or<br>
Apache, or just some Apache settings that I am unfamiliar with. Any<br>
suggestions appreciated.<br>
<br>
The error message is attached, and the output from<br>
bin/omero admin diagnostics<br>
is given below<br>
<br>
<br>
================================================================================<br>
OMERO Diagnostics OMERO4.3.3<br>
================================================================================<br>
<br>
WARNING:omero.util.UpgradeCheck:UPGRADE AVAILABLE:Please upgrade to<br>
Beta-4.3.4 See <a href="http://trac.openmicroscopy.org.uk/omero">http://trac.openmicroscopy.org.uk/omero</a> for the latest<br>
version<br>
<br>
Commands: java -version 1.6.0 (/usr/bin/java)<br>
Commands: python -V 2.6.6 (/usr/bin/python)<br>
Commands: icegridnode --version 3.4.2 (/usr/bin/icegridnode)<br>
Commands: icegridadmin --version 3.4.2 (/usr/bin/icegridadmin)<br>
Commands: psql --version 8.4.9 (/usr/bin/psql)<br>
<br>
Server: icegridnode running<br>
Server: Blitz-0 active (pid = 3200, enabled)<br>
Server: DropBox active (pid = 3218, enabled)<br>
Server: FileServer active (pid = 3244, enabled)<br>
Server: Indexer-0 active (pid = 3220, enabled)<br>
Server: MonitorServer active (pid = 3243, enabled)<br>
Server: OMERO.Glacier2 active (pid = 3222, enabled)<br>
Server: OMERO.IceStorm active (pid = 3245, enabled)<br>
Server: PixelData-0 active (pid = 3246, enabled)<br>
Server: Processor-0 active (pid = 3251, enabled)<br>
Server: Tables-0 inactive (disabled)<br>
Server: TestDropBox inactive (enabled)<br>
<br>
Log dir: /var/www/html/omero/dist/var/log exists<br>
<br>
Log files: Blitz-0.log 139.0 MB errors=8 <br>
warnings=77<br>
Log files: DropBox.log 22.0 KB errors=2 <br>
warnings=8<br>
Log files: FileServer.log 2.0 KB<br>
Log files: Indexer-0.log 218.0 KB errors=16 <br>
warnings=20<br>
Log files: MonitorServer.log 11.0 KB<br>
Log files: OMEROweb.log 3.0 MB errors=39 <br>
warnings=59<br>
Log files: OMEROweb_request.log 1.0 KB errors=0 <br>
warnings=13<br>
Log files: PixelData-0.log 133.0 KB errors=18 <br>
warnings=30<br>
Log files: Processor-0.log 30.0 KB errors=5 <br>
warnings=16<br>
Log files: Tables-0.log n/a<br>
Log files: TestDropBox.log n/a<br>
Log files: master.err 7.0 KB<br>
Log files: master.out 0.0 KB<br>
Log files: Total size 143.05 MB<br>
<br>
Parsing Blitz-0.log:[line:410] => Server restarted <=<br>
Parsing Blitz-0.log:[line:623855] => Server restarted <=<br>
Parsing Blitz-0.log:[line:872912] Your postgres hostname and/or port is<br>
invalid<br>
Parsing Blitz-0.log:[line:873012] => Server restarted <=<br>
Parsing Blitz-0.log:[line:873506] => Server restarted <=<br>
<br>
Environment:OMERO_HOME=/var/www/html/omero/dist<br>
Environment:OMERO_NODE=(unset)<br>
Environment:OMERO_MASTER=(unset)<br>
Environment:PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ingvar/bin<br>
Environment:ICE_HOME=/usr<br>
Environment:LD_LIBRARY_PATH=(unset)<br>
Environment:DYLD_LIBRARY_PATH=(unset)<br>
<br>
OMERO data dir: '/var/OMERO'<span class="Apple-tab-span" style="white-space:pre">
</span>Exists? True<span class="Apple-tab-span" style="white-space:pre"> </span>Is writable? True<br>
OMERO.web status... [RUNNING] (PID 3474)<br>
<br>
The postgres error in Blitz-log happened when I got a new IP-address, and<br>
should not be relevant here. The problem describe was seen both before<br>
and after that event.<br>
<br>
<br>
Let me know if there are any further details that may be useful.<br>
/Ingvar<br>
<br>
---<br>
Ingvar Lagerstedt, PDBe - EMBL/EBI, A2-24<br>
Hinxton, Cambridge CB10 1SD, UK<br>
<span><webemdb_timeout.error></span>_______________________________________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel</a><br>
</div>
</blockquote>
</div>
<br>
<br>
The University of Dundee is a registered Scottish Charity, No: SC015096
</div>
_______________________________________________<br>ome-devel mailing list<br><a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a><br>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel<br></blockquote></div><br></div></div></div></body></html>