OMERO web failure
Posted: Wed Nov 14, 2012 10:59 am
Hello,
Since I clean out my postgres DB, see:
viewtopic.php?f=4&t=3085
I have had a problem that my image viewer have stopped working on four occasions. I have two servers, one has failed once, the other three times. In all cases stop / start web and admin made OMERO web start working again.
On three out of four occasions, the output of "bin/omero admin diagnostics" had errors like:
The 'NoneType' errors were for one or more of java and icegridnode/icegridadmin, though the most instance of OMERO web failing did not give an error here, so maybe unreleated.
OMEROweb_request.log shows error like:
OMEROweb.log around that time shows:
I have not figured out what extensions that are available for attachment upload (.txt .text .log .dat and no extension are all disallowed), but a section of the Blitz-log is available at: http://pastebin.com/Vyw6MRU7
OMEROweb_request.log, none of the other log files show anything interesting.
One possibility is that I deleted something that I should not have deleted from the postgres db. I removed all rows from event, eventLog, and session that did not have a foreign key constraint.
On one of the failures, I got an out memory error from java. I should also point out that java only available through an nfs mount.
Kind Regards,
Ingvar
Since I clean out my postgres DB, see:
viewtopic.php?f=4&t=3085
I have had a problem that my image viewer have stopped working on four occasions. I have two servers, one has failed once, the other three times. In all cases stop / start web and admin made OMERO web start working again.
On three out of four occasions, the output of "bin/omero admin diagnostics" had errors like:
- Code: Select all
ves-ebi-81:/var/omero/dist pdb_em$ bin/omero admin diagnostics
================================================================================
OMERO Diagnostics 4.3.3-DEV-ice34
================================================================================
WARNING:omero.util.UpgradeCheck:UPGRADE AVAILABLE:Please upgrade to 4.4.4
See http://trac.openmicroscopy.org.uk/omero for the latest version
Commands: java -version error:'NoneType' object has no attribute 'group'
Commands: python -V 2.6.6 (/usr/bin/python)
Commands: icegridnode --version 3.4.2 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.4.2 (/usr/bin/icegridadmin)
Commands: psql --version 8.4.11 (/usr/bin/psql)
The 'NoneType' errors were for one or more of java and icegridnode/icegridadmin, though the most instance of OMERO web failing did not give an error here, so maybe unreleated.
OMEROweb_request.log shows error like:
- Code: Select all
2012-11-14 03:51:37,374 ERROR [ django.request] (proc.18414) handle_uncaught_exception:209 Internal Server Error: /emdb/omero/webemdb/1814_sliceviewer/
Traceback (most recent call last):
File "/var/omero/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/omero/dist/lib/python/omeroweb/webemdb/views.py", line 1148, in sliceviewer
conn = getConnection(request)
File "/var/omero/dist/lib/python/omeroweb/webemdb/views.py", line 1129, in getConnection
logger.debug('emdb connection: %s server %s' % (conn._sessionUuid, blitz.host))
AttributeError: 'NoneType' object has no attribute '_sessionUuid'
OMEROweb.log around that time shows:
- Code: Select all
2012-11-14 03:21:37,353 INFO [ omero.gateway] (proc.18412) connect:1617 created connection (uuid=823228bd-33e1-4c9d-b79c-19e4dc9c12c4)
2012-11-14 03:31:37,515 INFO [ omero.gateway] (proc.18411) connect:1617 created connection (uuid=3623828d-a81a-4ceb-89e7-ac25ddd6e476)
2012-11-14 03:31:37,705 INFO [ omeroweb.webgateway.views] (proc.18411) _purge:233 reached connector_pool_size (70), size after purge: (18)
2012-11-14 03:41:37,457 INFO [ omero.gateway] (proc.18414) connect:1617 created connection (uuid=3786f22e-6f43-4b29-9aaa-a85fbf55de23)
2012-11-14 03:51:37,371 INFO [ omero.gateway] (proc.18414) connect:1610 BlitzGateway.connect().createSession(): Traceback (most recent call last):
File "/var/omero/dist/lib/python/omero/gateway/__init__.py", line 1581, in connect
self._createSession()
File "/var/omero/dist/lib/python/omero/gateway/__init__.py", line 1491, in _createSession
self.setSecure(self.secure)
File "/var/omero/dist/lib/python/omero/gateway/__init__.py", line 1462, in setSecure
self.c = oldC.createClient(secure=secure)
File "/var/omero/dist/lib/python/omero/clients.py", line 303, in createClient
nClient = omero.client(props)
File "/var/omero/dist/lib/python/omero/__init__.py", line 28, in client
return omero.clients.BaseClient(*args, **kwargs)
File "/var/omero/dist/lib/python/omero/clients.py", line 131, in __init__
self._initData(id)
File "/var/omero/dist/lib/python/omero/clients.py", line 263, in _initData
self.__oa = self.__ic.createObjectAdapter("omero.ClientCallback")
File "/usr/lib64/python2.6/site-packages/Ice/Ice.py", line 417, in createObjectAdapter
adapter = self._impl.createObjectAdapter(name)
UnknownException: exception ::Ice::UnknownException
{
unknown = Thread.cpp:521: IceUtil::ThreadSyscallException:
syscall exception: Resource temporarily unavailable
}
2012-11-14 03:51:37,373 WARNI [ omero.client] (proc.18414) __del__:318 Ignoring error in client.__del__:<class 'Glacier2.SessionNotExistException'>
2012-11-14 03:51:37,397 ERROR [ omeroweb.feedback.views] (proc.18414) handler500:132 handler500: Server error
2012-11-14 03:51:37,397 ERROR [ omeroweb.feedback.views] (proc.18414) handler500:134 Traceback (most recent call last):
File "/var/omero/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/omero/dist/lib/python/omeroweb/webemdb/views.py", line 1148, in sliceviewer
conn = getConnection(request)
File "/var/omero/dist/lib/python/omeroweb/webemdb/views.py", line 1129, in getConnection
logger.debug('emdb connection: %s server %s' % (conn._sessionUuid, blitz.host))
AttributeError: 'NoneType' object has no attribute '_sessionUuid'
2012-11-14 03:53:37,266 INFO [ omero.gateway] (proc.18414) connect:1610 BlitzGateway.connect().createSession(): Traceback (most recent call last):
File "/var/omero/dist/lib/python/omero/gateway/__init__.py", line 1581, in connect
self._createSession()
File "/var/omero/dist/lib/python/omero/gateway/__init__.py", line 1491, in _createSession
self.setSecure(self.secure)
File "/var/omero/dist/lib/python/omero/gateway/__init__.py", line 1462, in setSecure
self.c = oldC.createClient(secure=secure)
File "/var/omero/dist/lib/python/omero/clients.py", line 303, in createClient
nClient = omero.client(props)
File "/var/omero/dist/lib/python/omero/__init__.py", line 28, in client
return omero.clients.BaseClient(*args, **kwargs)
File "/var/omero/dist/lib/python/omero/clients.py", line 131, in __init__
self._initData(id)
File "/var/omero/dist/lib/python/omero/clients.py", line 263, in _initData
self.__oa = self.__ic.createObjectAdapter("omero.ClientCallback")
File "/usr/lib64/python2.6/site-packages/Ice/Ice.py", line 417, in createObjectAdapter
adapter = self._impl.createObjectAdapter(name)
UnknownException: exception ::Ice::UnknownException
{
unknown = Thread.cpp:521: IceUtil::ThreadSyscallException:
syscall exception: Resource temporarily unavailable
}
2012-11-14 03:53:37,268 WARNI [ omero.client] (proc.18414) __del__:318 Ignoring error in client.__del__:<class 'Glacier2.SessionNotExistException'>
2012-11-14 03:53:37,269 ERROR [ omeroweb.feedback.views] (proc.18414) handler500:132 handler500: Server error
2012-11-14 03:53:37,269 ERROR [ omeroweb.feedback.views] (proc.18414) handler500:134 Traceback (most recent call last):
File "/var/omero/dist/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/var/omero/dist/lib/python/omeroweb/webemdb/views.py", line 1148, in sliceviewer
conn = getConnection(request)
File "/var/omero/dist/lib/python/omeroweb/webemdb/views.py", line 1129, in getConnection
logger.debug('emdb connection: %s server %s' % (conn._sessionUuid, blitz.host))
AttributeError: 'NoneType' object has no attribute '_sessionUuid'
I have not figured out what extensions that are available for attachment upload (.txt .text .log .dat and no extension are all disallowed), but a section of the Blitz-log is available at: http://pastebin.com/Vyw6MRU7
OMEROweb_request.log, none of the other log files show anything interesting.
One possibility is that I deleted something that I should not have deleted from the postgres db. I removed all rows from event, eventLog, and session that did not have a foreign key constraint.
On one of the failures, I got an out memory error from java. I should also point out that java only available through an nfs mount.
Kind Regards,
Ingvar