Can't access with root user
Posted: Wed Aug 01, 2012 12:48 pm
Hi, just finished installing Omero and the web deployment seems to be working fine.
Then I try to manage a few users and groups through the admin tab of the root user.
Accidentally I've assigned the root user to a read-only group, and now the access as root is always denied (Error: Connection not available, please check your user name and password.).
The error showed in var/log/OMEROweb_request.log is the following:
Then I try to manage a few users and groups through the admin tab of the root user.
Accidentally I've assigned the root user to a read-only group, and now the access as root is always denied (Error: Connection not available, please check your user name and password.).
The error showed in var/log/OMEROweb_request.log is the following:
- Code: Select all
2012-08-01 11:48:00,108 WARNI [ django.request] (proc.20097) get_response:142 Not Found: /omero/static/webgateway/img/spinner.gif
2012-08-01 11:49:27,756 ERROR [ django.request] (proc.20098) handle_uncaught_exception:209 Internal Server Error: /omero/webadmin/
experimenters/
Traceback (most recent call last):
File "/data/omerorun/lib/python/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/data/omerorun/lib/python/omeroweb/decorators.py", line 376, in wrapped
retval = f(request, *args, **kwargs)
File "/data/omerorun/lib/python/omeroweb/decorators.py", line 413, in wrapper
context = f(request, *args, **kwargs)
File "/data/omerorun/lib/python/omeroweb/webadmin/views.py", line 359, in experimenters
experimenterList = prepare_experimenterList(conn)
File "/data/omerorun/lib/python/omeroweb/webadmin/views.py", line 114, in prepare_experimenterList
experimentersList = list(conn.getObjects("Experimenter"))
File "/data/omerorun/lib/python/omero/gateway/__init__.py", line 2506, in getObjects
result = self.getQueryService().findAllByQuery(query, params, self.SERVICE_OPTS)
File "/data/omerorun/lib/python/omero/gateway/__init__.py", line 3271, in __call__
return self.handle_exception(e, *args, **kwargs)
File "/data/omerorun/lib/python/omeroweb/webclient/webclient_gateway.py", line 1875, in handle_exception
e, *args, **kwargs)
File "/data/omerorun/lib/python/omero/gateway/__init__.py", line 3268, in __call__
return self.f(*args, **kwargs)
File "/data/omerorun/lib/python/omero_api_IQuery_ice.py", line 213, in findAllByQuery
return _M_omero.api.IQuery._op_findAllByQuery.invoke(self, ((query, params), _ctx))
SecurityViolation: exception ::omero::SecurityViolation
{
serverStackTrace = ome.conditions.SecurityViolation: No matching roles found in [system, workers] for session c0043e0e-ba57-4da5-87af-70dc0722e20b (allowed: [user])
at ome.security.basic.BasicMethodSecurity.checkMethod(BasicMethodSecurity.java:137)
at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:81)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy80.findAllByQuery(Unknown Source)
at sun.reflect.GeneratedMethodAccessor329.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
at ome.services.throttling.Callback.run(Callback.java:56)
at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:137)
at ome.services.blitz.impl.QueryI.findAllByQuery_async(QueryI.java:66)
at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at omero.cmd.CallContext.invoke(CallContext.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy81.findAllByQuery_async(Unknown Source)
at omero.api._IQueryTie.findAllByQuery_async(_IQueryTie.java:101)
at omero.api._IQueryDisp.___findAllByQuery(_IQueryDisp.java:378)
at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508)
at IceInternal.Incoming.invoke(Incoming.java:159)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
at Ice.ConnectionI.message(ConnectionI.java:1163)
at IceInternal.ThreadPool.run(ThreadPool.java:302)
at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
at java.lang.Thread.run(Thread.java:662)
serverExceptionClass = ome.conditions.SecurityViolation
message = No matching roles found in [system, workers] for session c0043e0e-ba57-4da5-87af-70dc0722e20b (allowed: [user])
}