[ome-users] can't login to OMERO.web

Aleksandra Tarkowska aleksandrat at lifesci.dundee.ac.uk
Thu Jul 21 17:06:06 BST 2011


Hi Chris

Based on your log it looks like Guest user is not in the right group to execute the code. It is a member of group:Id_4 (???)

2011-07-21 08:59:36,200 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Rslt:	(ome.model.meta.Experimenter:Id_1, ome.model.meta.ExperimenterGroup:Id_4, [4], ... 4 more)
2011-07-21 08:59:36,204 INFO  [ ome.services.blitz.fire.SessionManagerI] (l.Server-6) Created session ServiceFactoryI(session-4955725f-a0c0-4410-b56e-37eb92025ad9/d7cffb59-011a-4230-8d58-80b8b27e8c32) for user guest (agent=OMERO.web)

serverExceptionClass = ome.conditions.SecurityViolation
    message = No matching roles found in [default] for session d7cffb59-011a-4230-8d58-80b8b27e8c32 (allowed: [user, guest])

Please give us an output of sql query below:

select g.id,g.name,e.id,e.omename from groupexperimentermap as gmap, experimentergroup as g, experimenter as e where gmap.child=e.id and gmap.parent=g.id and gmap.child in (select id from experimenter where omename = 'guest') 

you should see something like that:

id | name  | id | omename 
----+-------+----+---------
  2 | guest |  1 | guest


Thanks
Ola

On 21 Jul 2011, at 15:13, Wood, Christopher wrote:

> Here are the logs files from the restart and attempting to login to webclient.
>  
> Thanks
> Chris
>  
> From: Aleksandra Tarkowska [mailto:aleksandrat at lifesci.dundee.ac.uk] 
> Sent: Thursday, July 21, 2011 2:02 AM
> To: Wood, Christopher
> Cc: ome-users at lists.openmicroscopy.org.uk
> Subject: Re: [ome-users] can't login to OMERO.web
>  
> Hi Chris
>  
> Could you please restart omero server and web server in production mode (double check if processes were killed). Then try to log in again to WEBADMIN. Finally please send me log files from var/log/*, especially I need Blitz-0.log since startup and matching OMEROweb.log including startup. Also I would like to ask you about output of:
>  
> bin/omero admin diagnostics
> bin/omero config get
> and file: etc/ice.config and etc/grid/templates.xml (if you want to vanish passwords please put STOWERS_PASSWD instead)
> and environment variables: PYTHONPATH and ICE_CONFIG (if exist)
>  
> Thanks
> Ola
>  
> On 19 Jul 2011, at 23:22, Wood, Christopher wrote:
> 
> 
> I turned on debugging for omero.web, and here is some more output:
>  
> Tue, 19 Jul 2011 23:15:54 webgateway   ERROR    Critical error during connect, retrying after _purge
> Tue, 19 Jul 2011 23:15:54 webgateway   DEBUG    Traceback (most recent call last):
>   File "/OMERO/OMERO.server/lib/python/omeroweb/webgateway/views.py", line 193, in _createConnection
>     blitzcon = client_wrapper(username, passwd, host=host, port=port, group=None, try_super=try_super, secure=secure, anonymous=anonymous, useragent=useragent)
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/__init__.py", line 24, in client_wrapper
>     return omero.gateway.BlitzGateway(*args, **kwargs)
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 110, in __init__
>     super(OmeroWebGateway, self).__init__(*args, **kwargs)
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1167, in __init__
>     self._resetOmeroClient()
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1455, in _resetOmeroClient
>     self.c = omero.client(pmap=['--Ice.Config='+','.join(self.ice_config)])
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/__init__.py", line 28, in client
>     return omero.clients.BaseClient(*args, **kwargs)
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/clients.py", line 128, in __init__
>     self._initData(id)
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/clients.py", line 230, in _initData
>     self.__ic = Ice.initialize(id)
>   File "/usr/lib64/python2.3/site-packages/Ice/Ice.py", line 340, in initialize
>     communicator = IcePy.Communicator(args, data)
> EndpointParseException: exception ::Ice::EndpointParseException
> {
>     str = ssl  -p 4064 -h <"omero.host" not set>
> }
>  
> From: ome-users-bounces at lists.openmicroscopy.org.uk [mailto:ome-users-bounces at lists.openmicroscopy.org.uk] On Behalf Of Wood, Christopher
> Sent: Tuesday, July 19, 2011 4:44 PM
> To: ome-users at lists.openmicroscopy.org.uk
> Subject: [ome-users] can't login to OMERO.web
>  
> Hi,
>  
> We just upgrade to 4.3.1. OMERO.web starts but I can’t login (or as root), see logs below. From the Blitz.log it looks like it is trying to login as guest.
>  
> After login failure, I can go to /webtest and see the thumbnails of every image. The get into webclient and webadmin, but it doesn’t work right.
>  
> Thanks
> Chris
>  
> =============================================================================================
> OMEROweb.log
>  
> Tue, 19 Jul 2011 21:52:09 views-web    INFO     INIT '25275'
> Tue, 19 Jul 2011 21:52:48 views-admin  INFO     INIT '25276'
> Tue, 19 Jul 2011 21:52:48 views-web    INFO     INIT '25276'
> Tue, 19 Jul 2011 21:52:48 webgateway   ERROR    Critical error during connect, retrying after _purge
> Tue, 19 Jul 2011 21:52:48 webgateway   INFO     reached connector_pool_size (70), size after purge: (0)
> Tue, 19 Jul 2011 21:52:48 views-admin  INFO     Open connection is not available
> Tue, 19 Jul 2011 21:52:58 blitz_gateway INFO     BlitzGateway.connect().createSession(): Traceback (most recent call last):
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1520, in connect
>     self._createSession()
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1423, in _createSession
>     self._ic_props[omero.constants.PASSWORD])
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/clients.py", line 454, in createSession
>     prx = self.getRouter(self.__ic).createSession(username, password, ctx)
>   File "/usr/lib64/python2.3/site-packages/Ice/Glacier2_Router_ice.py", line 107, in createSession
>     return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx))
> PermissionDeniedException: exception ::Glacier2::PermissionDeniedException
> {
>     reason = Password check failed
> }
>  
> Tue, 19 Jul 2011 21:53:01 views-admin  INFO     Have connection as Guest
> Tue, 19 Jul 2011 21:53:01 views-admin  ERROR    Traceback (most recent call last):
>   File "/OMERO/OMERO.server/lib/python/omeroweb/webadmin/views.py", line 102, in _checkVersion
>     agent = conn.getServerVersion()
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 338, in getServerVersion
>     conf = self.getConfigService()
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1874, in getConfigService
>     return self._proxies['config']
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1088, in __getitem__
>     raise Ice.ConnectionLostException
> ConnectionLostException: Ice.ConnectionLostException:
> recv() returned zero
>  
> Tue, 19 Jul 2011 21:53:04 blitz_gateway INFO     BlitzGateway.connect().createSession(): Traceback (most recent call last):
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1520, in connect
>     self._createSession()
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1423, in _createSession
>     self._ic_props[omero.constants.PASSWORD])
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/clients.py", line 454, in createSession
>     prx = self.getRouter(self.__ic).createSession(username, password, ctx)
>   File "/usr/lib64/python2.3/site-packages/Ice/Glacier2_Router_ice.py", line 107, in createSession
>    return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx))
> PermissionDeniedException: exception ::Glacier2::PermissionDeniedException
> {
>     reason = Password check failed
> }
>  
> Tue, 19 Jul 2011 21:53:07 views-admin  INFO     Have connection as Guest
> Tue, 19 Jul 2011 21:53:07 views-admin  ERROR    Traceback (most recent call last):
>   File "/OMERO/OMERO.server/lib/python/omeroweb/webadmin/views.py", line 121, in _isServerOn
>     conn.getServerVersion()
>   File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 338, in getServerVersion
>     conf = self.getConfigService()
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1874, in getConfigService
>     return self._proxies['config']
>   File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1088, in __getitem__
>     raise Ice.ConnectionLostException
> ConnectionLostException: Ice.ConnectionLostException:
> recv() returned zero
>  
>                                                                                                                                               969,1         Bot
>  
> ============================================================================================
> Blitz.log
>  
> 2011-07-19 15:52:55,191 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(guest)
> 2011-07-19 15:52:55,191 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Args:    [null, InternalSF at 794263914]
> 2011-07-19 15:52:55,192 INFO  [         ome.security.basic.EventHandler] (l.Server-6)  Auth:    user=0,group=0,event=null(Sessions),sess=2bbede6d-0e4a-4d14-a5ec-bd81efbffbaf
> 2011-07-19 15:52:55,194 WARN  [  ome.security.auth.LoginAttemptListener] (l.Server-6) 9 failed logins for guest. Throttling for 3000
> 2011-07-19 15:52:58,197 INFO  [                 org.perf4j.TimingLogger] (l.Server-6) start[1311108775191] time[3006] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
> 2011-07-19 15:52:58,197 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Rslt:    false
> 2011-07-19 15:52:58,203 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(guest)
> 2011-07-19 15:52:58,203 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Args:    [null, InternalSF at 794263914]
> 2011-07-19 15:52:58,204 INFO  [         ome.security.basic.EventHandler] (l.Server-0)  Auth:    user=0,group=0,event=null(Sessions),sess=2bbede6d-0e4a-4d14-a5ec-bd81efbffbaf
> 2011-07-19 15:52:58,205 WARN  [  ome.security.auth.LoginAttemptListener] (l.Server-0) 10 failed logins for guest. Throttling for 3000
> 2011-07-19 15:53:01,209 INFO  [                 org.perf4j.TimingLogger] (l.Server-0) start[1311108778203] time[3006] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
> 2011-07-19 15:53:01,209 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Rslt:    false
> 2011-07-19 15:53:01,227 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(guest)
> 2011-07-19 15:53:01,227 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Args:    [null, InternalSF at 794263914]
> 2011-07-19 15:53:01,227 INFO  [         ome.security.basic.EventHandler] (l.Server-5)  Auth:    user=0,group=0,event=null(Sessions),sess=2bbede6d-0e4a-4d14-a5ec-bd81efbffbaf
> 2011-07-19 15:53:01,229 WARN  [  ome.security.auth.LoginAttemptListener] (l.Server-5) 11 failed logins for guest. Throttling for 3000
> 2011-07-19 15:53:04,233 INFO  [                 org.perf4j.TimingLogger] (l.Server-5) start[1311108781227] time[3006] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
> 2011-07-19 15:53:04,233 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Rslt:    false
> 2011-07-19 15:53:04,238 INFO  [        ome.services.util.ServiceHandler] (l.Server-3)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(guest)
> 2011-07-19 15:53:04,239 INFO  [        ome.services.util.ServiceHandler] (l.Server-3)  Args:    [null, InternalSF at 794263914]
> 2011-07-19 15:53:04,239 INFO  [         ome.security.basic.EventHandler] (l.Server-3)  Auth:    user=0,group=0,event=null(Sessions),sess=2bbede6d-0e4a-4d14-a5ec-bd81efbffbaf
> 2011-07-19 15:53:04,241 WARN  [  ome.security.auth.LoginAttemptListener] (l.Server-3) 12 failed logins for guest. Throttling for 3000
> 2011-07-19 15:53:07,245 INFO  [                 org.perf4j.TimingLogger] (l.Server-3) start[1311108784239] time[3006] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
> 2011-07-19 15:53:07,245 INFO  [        ome.services.util.ServiceHandler] (l.Server-3)  Rslt:    false
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>  
>  
> <logs.tgz><stowers_config.tgz>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20110721/da022e00/attachment.html>


More information about the ome-users mailing list