Page 1 of 1

OMero server 4.4.1 Ubuntu 12.04 installation

PostPosted: Thu Jul 26, 2012 12:29 pm
by thomazeau
Hi everybody,
I try to install omero.server 4.4.1 on Ubuntu 12.04 LTS 32 bit server.
Unfortunately, omero admin diagnostics returns me two errors :
Server: DropBox inactive (disabled)
Server: MonitorServer inactive (disabled)

DropBox and MonitorServer logs give me the same error :

File "/omero/lib/python/fsUtil.py", line 94, in monitorPackage
Exception: Libraries required by OMERO.fs monitor unavailable: Linux kernel 2.6.13 or above required. You have: Linux-3.2.0-26-generic-pae-i686-with-Ubuntu-12.04-precise

Python version is 2.7.3
Have an idea ?
I thank you for your time
Jacques

Re: OMero server 4.4.1 Ubuntu 12.04 installation

PostPosted: Fri Jul 27, 2012 10:06 am
by cblackburn
Hi Jacques,

Thanks for bringing this to our attention. The version checking in the DropBox software is failing to cope with Linux kernels 3.0.0 and above. I have created a ticket for this:

http://trac.openmicroscopy.org.uk/ome/ticket/9411

However, it is possible to patch this locally if you want fix this problem immediately. If you are using the server downloaded from our website then you need to patch the following file:

Code: Select all
--- a/omero/lib/python/fsUtil.py
+++ b/omero/lib/python/fsUtil.py
@@ -63,7 +63,7 @@ def monitorPackage():
     elif system == 'Linux':
         kernel = platform.platform().split('-')[1].split('.')
         # Supported Linux kernel version.
-        if int(kernel[0]) == 2 and int(kernel[1]) == 6 and int(kernel[2]) >= 13:
+        if int(kernel[0]) >= 3 or (int(kernel[0]) == 2 and int(kernel[1]) == 6 and int(kernel[2]) >= 13):
             current = 'LINUX_2_6_13+pyinotify'
         # Unsupported Linux kernel version.   
         else:


If your are building your own server from source then the file /components/tools/OmeroFS/fsUtil.py would need to be patched before rebuilding.

If you have any other questions please let me know.

Cheers,

Colin

Re: OMero server 4.4.1 Ubuntu 12.04 installation

PostPosted: Fri Jul 27, 2012 2:30 pm
by thomazeau
Hi Colin,
I applied the patch. It's Ok now ;-)
Thanks a lot
Jacques