Page 1 of 1

Windows 2008 - Failed to startup some components after 5 min

PostPosted: Mon Apr 22, 2013 5:22 pm
by mafrank
Getting a "Failed to startup some components after 5 minutes" error when I try to start Omero with
C:\Omero.server>bin\omero admin start

What else should I be looking at?

C:\Omero.server>bin\omero admin diagnostics
================================================================================
OMERO Diagnostics 4.4.6-ice34-b102
================================================================================
ERROR:omero.util.UpgradeCheck:HTTP Error 401: Unauthorized
Commands: java -version 1.7.0 (C:\Windows\system32\java.E
XE)
Commands: python -V 2.6.6 (C:\Python26\python.EXE)
Commands: icegridnode --version 3.4.2 (C:\Ice-3.4.2\bin\icegridno
de.EXE)
Commands: icegridadmin --version 3.4.2 (C:\Ice-3.4.2\bin\icegridad
min.EXE)
Commands: psql --version 9.2.4 (C:\Program Files\PostgreSQ
L\9.2\bin\psql.EXE)

Server: icegridnode not started

Cannot list deployed applications.

Log dir: C:\Omero.server\var\log exists

Log files: Blitz-0.log 189.0 KB errors=12 warnings=18
Log files: DropBox.log 4.0 KB errors=12 warnings=0
Log files: FileServer.log 2.0 KB
Log files: Indexer-0.log 285.0 KB errors=12 warnings=18
Log files: MonitorServer.log 5.0 KB errors=6 warnings=0
Log files: OMEROweb.log n/a
Log files: PixelData-0.log 285.0 KB errors=12 warnings=18
Log files: Processor-0.log 95.0 KB errors=26 warnings=52
Log files: Tables-0.log n/a
Log files: TestDropBox.log n/a
Log files: master.err 0.0 KB
Log files: master.out 0.0 KB
Log files: Total size 0.87 MB


Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:PATH=C:\Python26;C:\Windows\system32;C:\Windows;C:\Windows\System32\
Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Ice-3.4.2\bin;C:\Program Fil
es\PostgreSQL\9.2\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.web status... [NOT STARTED]

Re: Windows 2008 - Failed to startup some components after 5

PostPosted: Tue Apr 23, 2013 8:29 am
by jmoore
Could you provide us the server logs from C:\Omero.server\var\log?

Thanks,
~Josh

Re: Windows 2008 - Failed to startup some components after 5

PostPosted: Tue Apr 23, 2013 4:39 pm
by mafrank
Thanks for the reply. Here are the logs.

Re: Windows 2008 - Failed to startup some components after 5

PostPosted: Wed Apr 24, 2013 7:10 am
by jmoore
The root cause is likely:

Code: Select all
Caused by: org.postgresql.util.PSQLException: FATAL: database "omero" does not exist


How did you configure your database?

Cheers,
~Josh

Re: Windows 2008 - Failed to startup some components after 5

PostPosted: Wed Apr 24, 2013 7:09 pm
by mafrank
Your response got me pointed in the right direction. I followed the installation steps exactly but I skipped the "bin\omero config set omero.db.name omero_database" command because I was already using that name for the database. Turns out if you don't set it, it defaults to just omero, which is why it was failing.

Good news - I'm able to start the server now without problems
Bad news - I'm having another problem when I try to login to the web interface (Django webserver). I'll start a separate topic for that one.