I think I successfully fulfilled all the perquisites, but the server fails on startup:
- Code: Select all
/usr/local/omero_dist$ bin/omero admin start
No descriptor given. Using etc/grid/default.xml
Waiting on startup. Use CTRL-C to exit
.............................Failed to startup after 5 minutes
python -V is 2.6.2
sun-java6-jdk installed with apt-get and selected via update-java-alternatives, javac -version indicates correct version (by sun) is selected.
ice installed with apt-get install zeroc-ice, so I haven't had to set any environment variables
postgres is 8.3.8, again installed via apt-get which also starts the RDBM
initialising the omero user, db, adding pglpql worked fine (as far as I could tell) output of:
psql -h localhost -U omero -l indicates the omero database exists.
binary directory is in the standard spot /OMERO and is owned by the user trying to start omero (after failed startup there is even a new directory here, "FullText"
I've looked through both the master.err and the Blitz logs and to me they are not so illuminating
master.err
- Code: Select all
Traceback (most recent call last):
File "lib/python/runTables.py", line 12, in <module>
__import__("numpy")
ImportError: No module named numpy
Oct 24, 2009 1:25:00 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml
Oct 24, 2009 1:25:00 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml
10/24/09 13:25:59.298 OMERO.Glacier2: warning: unable to contact permissions verifier `BlitzVerifier@BlitzAdapters'
Reference.cpp:1546: Ice::NoEndpointException:
no suitable endpoint available for proxy `BlitzVerifier -t @ BlitzAdapters'
10/24/09 13:25:59.422 OMERO.Glacier2: warning: unable to contact session manager `BlitzManager@BlitzAdapters'
Reference.cpp:1546: Ice::NoEndpointException:
no suitable endpoint available for proxy `BlitzManager -t @ BlitzAdapters'
Blitz log
- Code: Select all
2009-10-24 13:24:58,143 INFO [ ome.services.blitz.Entry] ( main) Creating OMERO.blitz. Please wait...
2009-10-24 13:25:01,051 WARN [ java.util.prefs] ( main) Prefs file removed in background /etc/.java/.systemPrefs/prefs.xml
2009-10-24 13:25:01,235 INFO [ng.ShutdownSafeEhcacheManagerFactoryBean] ( main) Initializing EHCache CacheManager
2009-10-24 13:25:11,823 INFO [ ome.services.fulltext.FullTextAnalyzer] ( main) Initialized FullTextAnalyzer
the Processor-log at least has more stuff in it to wade through, here's a snippet:
- Code: Select all
2009-10-24 14:21:58,325 INFO [ omero.util.Server] (MainThread) ********************************************************************************
2009-10-24 14:21:58,333 INFO [ omero.util.Server] (MainThread) Starting
2009-10-24 14:21:58,337 INFO [ omero.util.Resources] (Thread-2 ) Starting
2009-10-24 14:23:00,669 INFO [ omero.utils] (MainThread) Failed to get session on attempt 1
2009-10-24 14:23:13,614 INFO [ omero.utils] (MainThread) Failed to get session on attempt 2
2009-10-24 14:23:23,698 INFO [ omero.utils] (MainThread) Failed to get session on attempt 3
2009-10-24 14:23:33,731 INFO [ omero.utils] (MainThread) Failed to get session on attempt 4
2009-10-24 14:23:43,759 INFO [ omero.utils] (MainThread) Failed to get session on attempt 5
2009-10-24 14:23:53,884 INFO [ omero.utils] (MainThread) Failed to get session on attempt 6
2009-10-24 14:24:04,153 WARNI [ omero.utils] (MainThread) Reason: exception ::Ice::NoEndpointException
{
proxy = BlitzManager -t @ BlitzAdapters
}
2009-10-24 14:24:04,441 ERROR [ omero.util.Server] (MainThread) Failed initialization
Traceback (most recent call last):
File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 349, in run
self.impl = self.impl_class(ctx)
File "/usr/local/omero_dist/lib/python/omero/processor.py", line 546, in __init__
omero.util.Servant.__init__(self, ctx, needs_session = True)
File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 416, in __init__
self.ctx.newSession()
File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 231, in newSession
self.session = internal_service_factory(self.communicator, stop_event = self.stop_event)
File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 150, in internal_service_factory
raise excpt
NoEndpointException: exception ::Ice::NoEndpointException
{
proxy = BlitzManager -t @ BlitzAdapters
}
2009-10-24 14:24:05,949 INFO [ omero.util.Server] (MainThread) Cleanup
2009-10-24 14:24:05,953 INFO [ omero.util.Server] (MainThread) Stopped
2009-10-24 14:24:05,953 INFO [ omero.util.Server] (MainThread) ********************************************************************************
2009-10-24 14:24:06,309 INFO [ omero.processor.ProcessorI] (MainThread) Cleaning up
2009-10-24 14:24:06,309 INFO [ omero.util.Resources] (MainThread) Cleanup done
2009-10-24 14:24:06,313 INFO [ omero.processor.ProcessorI] (MainThread) Done
2009-10-24 14:24:06,409 WARNI [ stderr] (MainThread) Traceback (most recent call last):
2009-10-24 14:24:06,429 INFO [ omero.util.Resources] (Thread-2 ) Halted
2009-10-24 14:24:06,485 WARNI [ stderr] (MainThread) File "/var/lib/python-support/python2.6/Ice.py", line 790, in main
2009-10-24 14:24:07,465 WARNI [ stderr] (MainThread) status = self.run(args)
2009-10-24 14:24:07,465 WARNI [ stderr] (MainThread) File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 353, in run
2009-10-24 14:24:07,465 WARNI [ stderr] (MainThread) sys.exit(100)
2009-10-24 14:24:07,465 WARNI [ stderr] (MainThread) SystemExit: 100
2009-10-24 14:24:41,399 INFO [ omero.util.Server] (MainThread) ********************************************************************************
2009-10-24 14:24:41,747 INFO [ omero.util.Server] (MainThread) Starting
2009-10-24 14:24:41,751 INFO [ omero.util.Resources] (Thread-2 ) Starting
2009-10-24 14:24:43,223 INFO [ omero.utils] (MainThread) Failed to get session on attempt 1
2009-10-24 14:24:53,223 INFO [ omero.utils] (MainThread) Failed to get session on attempt 2
2009-10-24 14:25:03,240 INFO [ omero.utils] (MainThread) Failed to get session on attempt 3
2009-10-24 14:25:13,241 INFO [ omero.utils] (MainThread) Failed to get session on attempt 4
2009-10-24 14:25:23,249 INFO [ omero.utils] (MainThread) Failed to get session on attempt 5
2009-10-24 14:25:33,250 INFO [ omero.utils] (MainThread) Failed to get session on attempt 6
2009-10-24 14:25:43,546 WARNI [ omero.utils] (MainThread) Reason: exception ::Ice::NoEndpointException
{
proxy = BlitzManager -t @ BlitzAdapters
}
2009-10-24 14:25:43,554 ERROR [ omero.util.Server] (MainThread) Failed initialization
Traceback (most recent call last):
File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 349, in run
self.impl = self.impl_class(ctx)
File "/usr/local/omero_dist/lib/python/omero/processor.py", line 546, in __init__
omero.util.Servant.__init__(self, ctx, needs_session = True)
File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 416, in __init__
self.ctx.newSession()
File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 231, in newSession
self.session = internal_service_factory(self.communicator, stop_event = self.stop_event)
File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 150, in internal_service_factory
raise excpt
NoEndpointException: exception ::Ice::NoEndpointException
{
proxy = BlitzManager -t @ BlitzAdapters
}
2009-10-24 14:25:44,518 INFO [ omero.util.Server] (MainThread) Cleanup
2009-10-24 14:25:44,526 INFO [ omero.util.Server] (MainThread) Stopped
2009-10-24 14:25:44,526 INFO [ omero.util.Server] (MainThread) ********************************************************************************
2009-10-24 14:25:44,534 INFO [ omero.processor.ProcessorI] (MainThread) Cleaning up
2009-10-24 14:25:44,534 INFO [ omero.util.Resources] (MainThread) Cleanup done
2009-10-24 14:25:44,538 INFO [ omero.processor.ProcessorI] (MainThread) Done
2009-10-24 14:25:44,538 WARNI [ stderr] (MainThread) Traceback (most recent call last):
2009-10-24 14:25:44,538 WARNI [ stderr] (MainThread) File "/var/lib/python-support/python2.6/Ice.py", line 790, in main
2009-10-24 14:25:44,538 INFO [ omero.util.Resources] (Thread-2 ) Halted
2009-10-24 14:25:44,642 WARNI [ stderr] (MainThread) status = self.run(args)
2009-10-24 14:25:44,646 WARNI [ stderr] (MainThread) File "/usr/local/omero_dist/lib/python/omero/util/__init__.py", line 353, in run
2009-10-24 14:25:44,650 WARNI [ stderr] (MainThread) sys.exit(100)
2009-10-24 14:25:44,650 WARNI [ stderr] (MainThread) SystemExit: 100
2009-10-24 14:26:06,624 INFO [ omero.util.Server] (MainThread) ********************************************************************************
2009-10-24 14:26:06,716 INFO [ omero.util.Server] (MainThread) Starting
2009-10-24 14:26:06,720 INFO [ omero.util.Resources] (Thread-2 ) Starting
2009-10-24 14:26:06,808 INFO [ omero.utils] (MainThread) Failed to get session on attempt 1
2009-10-24 14:26:16,808 INFO [ omero.utils] (MainThread) Failed to get session on attempt 2
2009-10-24 14:26:26,809 INFO [ omero.utils] (MainThread) Failed to get session on attempt 3
Do I need to define the environment variables as I do if I install Ice in /opt/ice?
Any help appreciated. I've tried this configuration twice now and got the same error both times.
I'm guessing (hoping) it's something silly that I've done?
Thanks
Steve