omero.server-5.0.0-ice35-b19 would not start on CentOS 6.2
Posted: Thu Mar 13, 2014 2:55 pm
Hi, I just started new install of OMERO server on CentOS 6.2. I followed every step from the server installation doc, and they went smooth. However, in the last thing to start up the server, it failed:
The master.err complains about Ice:
and the Blitz-0.log file is lengthy with whole bunch of Java exceptions but the key thing (I think) is related to communication with Ice:
The Ice is new version of 3.5.1, as seen from diagnostics :
The "unset" OMERO_HOME is bit strange as I did set them via "config set"
I thought some thing wrong regarding the communication with Ice. But I don't what it is and how to fix it.
I did notice Ice server (icegridnode) started by omero.server starting up. Still, OMERO is not happy with it.
Any hint/thought/comment/..... I have been playing around it for days no luck. Thanks very much.
[root@server]# sudo -u omero bin/omero admin start
No descriptor given. Using etc/grid/default.xml
Waiting on startup. Use CTRL-C to exit
.............................
Failed to startup some components after 300 seconds
Calling "stop" on remaining components
Waiting on shutdown. Use CTRL-C to exit
......[root@server]#
The master.err complains about Ice:
-! 03/12/14 12:35:31.031 OMERO.Glacier2: warning: unable to contact permissions verifier `BlitzVerifier@BlitzAdapters'
Reference.cpp:1663: Ice::NoEndpointException:
no suitable endpoint available for proxy `BlitzVerifier -t -e 1.1 @ BlitzAdapters'
-! 03/12/14 12:35:31.032 OMERO.Glacier2: warning: unable to contact session manager `BlitzManager@BlitzAdapters'
Reference.cpp:1663: Ice::NoEndpointException:
no suitable endpoint available for proxy `BlitzManager -t -e 1.1 @ BlitzAdapters'
and the Blitz-0.log file is lengthy with whole bunch of Java exceptions but the key thing (I think) is related to communication with Ice:
2014-03-12 12:35:30,685 ERROR [ ome.services.blitz.Entry] ( main) Error on startup.
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [OMERO.blitz], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/usr/local/OMERO.server-5.0.0-ice35-b19/lib/server/blitz.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'omero.rtypes.RTypeObjectFactoryRegistry#0' defined in class path resource [ome/services/objectfactories.xml]: Cannot resolve reference to bean 'Ice.Communicator' while setting bean property 'iceCommunicator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in URL [jar:file:/usr/local/OMERO.server-5.0.0-ice35-b19/lib/server/blitz.jar!/ome/services/blitz-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested exception is org.springframework.beans.FatalBeanException: Could not find Ice config for object adapter [ BlitzAdapter ]
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
at ome.system.OmeroContext.getInstance(OmeroContext.java:203) ~[common.jar:na]
at ome.services.blitz.Entry.start(Entry.java:193) [blitz.jar:na]
at ome.services.blitz.Entry.main(Entry.java:150) [blitz.jar:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/usr/local/OMERO.server-5.0.0-ice35-b19/lib/server/blitz.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'omero.rtypes.RTypeObjectFactoryRegistry#0' defined in class path resource [ome/services/objectfactories.xml]: Cannot resolve reference to bean 'Ice.Communicator' while setting bean property 'iceCommunicator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in URL [jar:file:/usr/local/OMERO.server-5.0.0-ice35-b19/lib/server/blitz.jar!/ome/services/blitz-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested e
xception is org.springframework.beans.FatalBeanException: Could not find Ice config for object adapter [ BlitzAdapter ]
The Ice is new version of 3.5.1, as seen from diagnostics :
[root@server]# sudo -u omero bin/omero admin diagnostics
================================================================================
OMERO Diagnostics 5.0.0-ice35-b19
================================================================================
Commands: java -version 1.6.0 (/usr/bin/java)
Commands: python -V 2.6.6 (/usr/bin/python)
Commands: icegridnode --version 3.5.1 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.5.1 (/usr/bin/icegridadmin)
Commands: psql --version 8.4.20 (/usr/bin/psql)
Server: icegridnode not started
Cannot list deployed applications.
Log dir: /usr/local/OMERO.server-5.0.0-ice35-b19/var/log exists
Log files: Blitz-0.log 172.0 KB errors=32 warnings=0
Log files: DropBox.log 6.0 KB errors=8 warnings=4
Log files: FileServer.log 1.0 KB
Log files: Indexer-0.log 17.0 KB errors=4 warnings=8
Log files: MonitorServer.log 1.0 KB
Log files: OMEROweb.log n/a
Log files: PixelData-0.log 20.0 KB errors=4 warnings=8
Log files: Processor-0.log 71.0 KB errors=40 warnings=20
Log files: Tables-0.log 2.0 KB errors=4 warnings=0
Log files: TestDropBox.log n/a
Log files: master.err 2.0 KB errors=2 warnings=8
Log files: master.out 0.0 KB
Log files: Total size 0.30 MB
Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_TEMPDIR=(unset)
Environment:PATH=/sbin:/bin:/usr/sbin:/usr/bin
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)
OMERO data dir: '/OMERO' Exists? True Is writable? True
OMERO temp dir: '/usr/local/omero.server/omero/tmp' Exists? True Is writable? True (Size: 0)
OMERO.web status... [NOT STARTED]
The "unset" OMERO_HOME is bit strange as I did set them via "config set"
<properties id="__ACTIVE__">
<property name="omero.config.profile" value="default"/>
<property name="omero.config.version" value="4.2.1"/>
<property name="omero.db.name" value="omero_db"/>
<property name="omero.db.user" value="omero"/>
<property name="OMERO_HOME" value="/usr/local/omero.server"/>
<property name="ICE_HOME" value="/usr/share/Ice-3.5.1"/>
</properties>
I thought some thing wrong regarding the communication with Ice. But I don't what it is and how to fix it.
I did notice Ice server (icegridnode) started by omero.server starting up. Still, OMERO is not happy with it.
Any hint/thought/comment/..... I have been playing around it for days no luck. Thanks very much.