[ome-users] dopbox not starting
Colin Blackburn
c.blackburn at dundee.ac.uk
Fri Jul 1 08:48:38 BST 2011
Hi Chris,
Glad to hear you sorted this out. ctypes is included with Python >=2.5
so I'll update our documentation to state this dependency for Python 2.4
Cheers.
Colin
On 1 Jul 2011, at 02:21, Wood, Christopher wrote:
> From the MonitorServer.log, I could tell that the ctypes module was
> not installed. Installing it fixed the problem.
>
> Chris
>
> 2011-06-30 17:03:31,269 ERROR
> [ fsserver.MonitorServer] (MainThread) System
> requirements not met:
> Traceback (most recent call last):
> File "lib/python/fsServerMS.py", line 43, in run
> import fsMonitorServer
> File "/OMERO/OMERO.server-Beta-4.3.0/lib/python/
> fsMonitorServer.py", line 24, in ?
> from fsMonitor import MonitorFactory
> File "/OMERO/OMERO.server-Beta-4.3.0/lib/python/fsMonitor.py",
> line 20, in ?
> PlatformMonitor = __import__(fsUtil.monitorPackage())
> File "/OMERO/OMERO.server-Beta-4.3.0/lib/python/
> fsPyinotifyMonitor.py", line 24, in ?
> from omero_ext import pyinotify
> File "/OMERO/OMERO.server-Beta-4.3.0/lib/python/omero_ext/
> pyinotify.py", line 82, in ?
> import ctypes
> ImportError: No module named ctypes
>
> From: ome-users-bounces at lists.openmicroscopy.org.uk [mailto:ome-users-bounces at lists.openmicroscopy.org.uk
> ] On Behalf OfWood, Christopher
> Sent: Thursday, June 30, 2011 5:50 PM
> To: ome-users at lists.openmicroscopy.org.uk
> Subject: [ome-users] dopbox not starting
>
> Hi,
>
> I have the omero server on a VM with CentOS that I just upgraded to
> 4.3. Everything is fine except for the dropbox.
>
> Python 2.4
> Postgresql 8.4
> django lite web server
>
> I get the following in DropBox.log:
> ====================
> 2011-06-30 17:04:22,299 INFO
> [ omero.utils] (MainThread) Failed to
> get session on attempt 1
> 2011-06-30 17:04:25,490 INFO
> [ fsclient.DropBox] (MainThread) Monitor
> parameters = {'default': {'ignoreSysFiles': True, 'importArgs': '',
> 'watchDir': '', 'readers': '', 'blockSize': 0, 'whitelist': [],
> 'ignoreDirEvents': True, 'blacklist': [], 'dirImportWait': 60,
> 'timeout': 0.0, 'pathMode': Follow, 'eventTypes': [Creation,
> Modification], 'timeToLive': 0L, 'timeToIdle': 600000L}}
> 2011-06-30 17:04:25,534 ERROR
> [ fsclient.DropBox] (MainThread) Failed to
> access proxy :
> Traceback (most recent call last):
> File "lib/python/fsDropBox.py", line 135, in run
> fsServer =
> monitors.MonitorServerPrx.checkedCast(fsServer.ice_twoway())
> File "/OMERO/OMERO.server-Beta-4.3.0/lib/python/omero_FS_ice.py",
> line 598, in checkedCast
> return
> _M_omero.grid.monitors.MonitorServerPrx.ice_checkedCast(proxy,
> '::omero::grid::monitors::MonitorServer', facetOrCtx, _ctx)
> NoEndpointException: exception ::Ice::NoEndpointException
> {
> proxy = MonitorServer -t
> }
> 2011-06-30 17:04:25,543 INFO
> [ fsclient.DropBox] (MainThread) Exiting with
> exit code: -1
> ===========================
>
> And from Blitz.log from around the same time:
> =========================
> 2011-06-30 17:04:24,006 INFO
> [ ome.services.util.ServiceHandler] (3-thread-3) Rslt:
> ome.model.core.OriginalFile:Id_13
> 2011-06-30 17:04:24,354 INFO
> [ ome.services.blitz.Entry] ( main) OMERO.blitz
> now accepting connections.
> 2011-06-30 17:04:24,355 INFO
> [ ome.services.blitz.util.CheckAllJobs] ( Thread-7) Waiting 120
> secs. for callbacks
> 2011-06-30 17:04:25,307 INFO
> [ ome.services.util.ServiceHandler] (l.Server-0)
> Executor.doWork --
> ome.services.sessions.SessionManagerImpl.createSession
> 2011-06-30 17:04:25,308 INFO
> [ ome.services.util.ServiceHandler] (l.Server-0) Args:
> [null, InternalSF at 1036988150]
> 2011-06-30 17:04:25,335 INFO
> [ ome.security.basic.EventHandler] (l.Server-0) Auth:
> user=0,group=0,event=1058(Sessions),sess=087276c5-1841-4f4f-
> aa94-0a8605420f7f
> 2011-06-30 17:04:25,403 INFO
> [ ome.security.basic.CurrentDetails] (l.Server-0) Adding
> log:INSERT,class ome.model.meta.Session,972
> 2011-06-30 17:04:25,455 INFO
> [ org.perf4j.TimingLogger] (l.Server-0)
> start[1309471465308] time[147]
> tag[omero.call.success.ome.services.sessions.SessionManagerImpl
> $2.doWork]
> 2011-06-30 17:04:25,456 INFO
> [ ome.services.util.ServiceHandler] (l.Server-0) Rslt:
> (ome.model.meta.Experimenter:Id_0,
> ome.model.meta.ExperimenterGroup:Id_0, [0, 1], ... 4 more)
> 2011-06-30 17:04:25,470 INFO
> [ ome.services.blitz.fire.SessionManagerI] (l.Server-0) Created
> session ServiceFactoryI(session-a8c64798-9f8d-44e9-bb4a-
> cacf20af9aa1/02ebfa7e-f010-46d0-abce-7176821cf3c1) for user root
> (agent=Python service)
> 2011-06-30 17:04:25,485 INFO
> [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-5) Added
> servant to adapter: 02ebfa7e-f010-46d0-abce-7176821cf3c1/
> a8c64798-9f8d-44e9-bb4a-
> cacf20af9aa1omero.api.IConfig(omero.api._IConfigTie at 4fdbc144)
> 2011-06-30 17:04:25,496 INFO
> [ ome.services.util.ServiceHandler] (l.Server-7) Meth:
> interface ome.api.IConfig.getConfigValue
> 2011-06-30 17:04:25,497 INFO
> [ ome.services.util.ServiceHandler] (l.Server-7) Args:
> [omero.data.dir]
> 2011-06-30 17:04:25,514 INFO
> [ ome.security.basic.EventHandler] (l.Server-7) Auth:
> user=0,group=0,event=1059(User),sess=02ebfa7e-f010-46d0-
> abce-7176821cf3c1
> 2011-06-30 17:04:25,520 INFO
> [ org.perf4j.TimingLogger] (l.Server-7)
> start[1309471465497] time[23]
> tag[omero.call.success.ome.logic.ConfigImpl.getConfigValue]
> 2011-06-30 17:04:25,520 INFO
> [ ome.services.util.ServiceHandler] (l.Server-7) Rslt: /
> OMERO/
> 2011-06-30 17:04:25,523 INFO [e.services.sessions.SessionContext
> $Count] (l.Server-4) -Reference count: 02ebfa7e-f010-46d0-
> abce-7176821cf3c1=0
> 2011-06-30 17:04:25,523 INFO
> [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-4)
> doDestroy(ServiceFactoryI(session-a8c64798-9f8d-44e9-bb4a-
> cacf20af9aa1/02ebfa7e-f010-46d0-abce-7176821cf3c1))
> 2011-06-30 17:04:25,524 INFO
> [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-4) Unregistered
> servant:02ebfa7e-f010-46d0-abce-7176821cf3c1/a8c64798-9f8d-44e9-bb4a-
> cacf20af9aa1omero.api.IConfig(omero.api._IConfigTie at 4fdbc144)
> 2011-06-30 17:04:25,524 INFO
> [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-4) Removed
> servant from adapter: a8c64798-9f8d-44e9-bb4a-
> cacf20af9aa1omero.api.IConfig
> 2011-06-30 17:04:25,524 INFO
> [ome.services.sessions.SessionManagerImpl] (l.Server-4) closeSession
> called and no more references: 02ebfa7e-f010-46d0-abce-7176821cf3c1
> 2011-06-30 17:04:25,524 INFO
> [ome.services.sessions.state.SessionCache] (l.Server-4) Destroying
> session 02ebfa7e-f010-46d0-abce-7176821cf3c1 due to : Remove session
> called
> 2011-06-30 17:04:25,524 INFO
> [ org.perf4j.TimingLogger] (l.Server-4)
> start[1309471465459] time[65] tag[omero.session]
> 2011-06-30 17:04:25,528 INFO
> [ ome.services.blitz.fire.SessionManagerI] (l.Server-4) Reaping 1
> clients for 02ebfa7e-f010-46d0-abce-7176821cf3c1
> 2011-06-30 17:04:32,301 INFO
> [ ome.services.util.ServiceHandler] (l.Server-1)
> Executor.doWork --
> ome.services.sessions.SessionManagerImpl.createSession
> ========================
>
> Thanks
> Chris
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
Colin Blackburn
Wellcome Trust Centre for Gene Regulation & Expression
College of Life Sciences
MSI/WTB/JBC Complex
University of Dundee
Dow Street
Dundee DD1 5EH
http://openmicroscopy.org
More information about the ome-users
mailing list