[ome-users] 4.1.0 fails to start

McCaughey, Michael J michael.j.mccaughey at Vanderbilt.Edu
Fri Oct 30 13:18:00 GMT 2009


 
Josh-
I'm having trouble getting 4.1.0 to startup and could use some advice.
Background: up-to-date FC11 box, new install of Omero using standard defaults.  Startup times out after 5 minutes.  Blitz-0.log complains:

2009-10-29 12:41:40,747 INFO  [                ome.services.blitz.Entry] (      main) Creatin
g OMERO.blitz. Please wait...
2009-10-29 12:41:42,493 WARN  [                         java.util.prefs] (      main) Could n
ot create system preferences directory. System preferences are unusable.
2009-10-29 12:41:42,506 WARN  [                         java.util.prefs] (      main) Prefs f
ile removed in background /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/.systemPrefs/pre
fs.xml
2009-10-29 12:41:42,583 INFO  [ng.ShutdownSafeEhcacheManagerFactoryBean] (      main) Initial
izing EHCache CacheManager
2009-10-29 12:41:46,408 INFO  [  ome.services.fulltext.FullTextAnalyzer] (      main) Initial
ized FullTextAnalyzer
2009-10-29 12:41:53,908 INFO  [ng.ShutdownSafeEhcacheManagerFactoryBean] (      main) Shuttin
g down EHCache CacheManager
2009-10-29 12:41:53,910 ERROR [                ome.services.blitz.Entry] (      main) Error o
n startup.
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanF
actory instance: factory key [OMERO.blitz], from group with resource name [classpath*:beanRef
Context.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Er
ror creating bean with name 'OMERO.blitz' defined in URL [jar:file:/home/mrmike/Documents/ome
ro-Beta4.1.0/lib/server/blitz.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'ome
.server' while setting constructor argument; nested exception is org.springframework.beans.fa
ctory.BeanCreationException: Error creating bean with name 'ome.server' defined in URL [jar:f
ile:/home/mrmike/Documents/omero-Beta4.1.0/lib/server/server.jar!/beanRefContext.xml]: Instan
tiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExcept
ion: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception;
 nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionManager' defined in class path resource [ome/services/sec-primitives.x
ml]: Invocation of init method failed; nested exception is java.lang.RuntimeException:      
    =====================================================
Data access exception: Did you create your database?
=====================================================

but the db is there and uses default name/pwd:

[mrmike at cisrome omero-Beta4.1.0]$ psql -h localhost -U omero -l
        List of databases
   Name    |  Owner   | Encoding
-----------+----------+----------
 omero     | omero    | UTF8
 postgres  | postgres | UTF8
 template0 | postgres | UTF8
 template1 | postgres | UTF8
(4 rows)


The only oddity I can detect is the UTF-8 encoding.  Could this be a problem?
Perhaps it's python - DropBox complains:

2009-10-29 12:41:41,141 ERROR [                        fsclient.DropBox] (MainThread) System
requirements not met:
Traceback (most recent call last):
  File "lib/python/fsDropBox.py", line 66, in run
    fsUtil.monitorPackage()
  File "/home/mrmike/Documents/omero-Beta4.1.0/lib/python/fsUtil.py", line 117, in monitorPac
kage
    raise Exception("Libraries required by OMERO.fs monitor unavailable: " + errorString)
Exception: Libraries required by OMERO.fs monitor unavailable: pynotify version 0.8.6 is not
compatible with Python 2.4. Install 0.8.5 or lower to use DropBox
2009-10-29 12:41:41,142 ERROR [                        fsclient.DropBox] (MainThread) Quittin
g
2009-10-29 12:41:41,144 INFO  [                        fsclient.DropBox] (MainThread) Exiting
 with exit code: -1


And diagnostics gives something weird for python:

[mrmike at cisrome omero-Beta4.1.0]$ bin/omero admin diagnostics

================================================================================
OMERO Diagnostics Beta-4.1.0-r5585-b12
================================================================================
       
Commands:   java -version                  1.6.0     (/usr/bin/java)
Commands:   python -V                      error:'NoneType' object has no attribute 'group'
Commands:   icegridnode --version          3.3       (/usr/bin/icegridnode)
Commands:   icegridadmin --version         3.3       (/usr/bin/icegridadmin)
Commands:   psql --version                 8.3.8     (/usr/bin/psql)

Server:     icegridnode                    running
Server:     Blitz-0                        inactive (disabled)

But it is there, and version 2.6 not 2.4...
[mrmike at cisrome omero-Beta4.1.0]$ python -V
Python 2.6

Meanwhile, master.err gives:

10/29/09 12:41:55.572 OMERO.Glacier2: warning: unable to contact permissions verifier `BlitzV
erifier at BlitzAdapters'
Reference.cpp:1546: Ice::NoEndpointException:
no suitable endpoint available for proxy `BlitzVerifier -t @ BlitzAdapters'
10/29/09 12:41:55.573 OMERO.Glacier2: warning: unable to contact session manager `BlitzManage
r at BlitzAdapters'
Reference.cpp:1546: Ice::NoEndpointException:
no suitable endpoint available for proxy `BlitzManager -t @ BlitzAdapters'
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:


I haven't (yet) found another instance of python somewhere.

So, do you have a suggestions at where to start?

Thanks,
Mike

Michael J. McCaughey, PhD
Molecular Physiology and Biophysics
U9203 MRBIII
6-6175


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


More information about the ome-users mailing list