Page 1 of 1

Unable to start Omero

PostPosted: Wed Sep 03, 2014 5:21 pm
by bobg
I am unable to get Omero to start. Please, can you help me determine the problem.
Below are:
The Omero Admin Start results from the shell.
A logged entry from Blitz log
Omero Admin Diagnostics results.
Omero Config Get results
and
results of -\l and -\d

Thanks
Bob


omero_database-> - \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privilege
----------------+----------+----------+----------------------------+----------------------------+-------------------
omero_database | db_user | UTF8 | English_United States.1252 | English_United States.1252 |
postgres | postgres | UTF8 | English_United States.1252 | English_United States.1252 |
template0 | postgres | UTF8 | English_United States.1252 | English_United States.1252 | =c/postgres
| | | | | postgres=CTc/postg
template1 | postgres | UTF8 | English_United States.1252 | English_United States.1252 | =c/postgres
| | | | | postgres=CTc/postg
(4 rows)


omero_database-> - \d
No relations found.
omero_database->
-------------------
C:\Omero.server\bin>omero admin start
No descriptor given. Using etc\grid\windefault.xml
Installing OMERO.master Windows service.
Successfully installed OMERO.master Windows service.
Starting OMERO.master Windows service.
Waiting on startup. Use CTRL-C to exit
.............................
Failed to startup some components after 300 seconds
Calling "stop" on remaining components
OMERO.master service deleted.
Waiting on shutdown. Use CTRL-C to exit
......
C:\Omero.server\bin>

------------------------------------
From Bliltz-0.log

Error connecting to database table dbpatch. You may need to bootstrap.
See http://www.openmicroscopy.org/site/supp ... grade.html

------------------------------------
From Omero Admin Diagnostics

================================================================================
OMERO Diagnostics 5.0.4-ice35-b43
================================================================================


Commands: java -version 1.7.0 (C:\Windows\system32\java.EXE)
Commands: python -V 2.7.8 (C:\Python27\python.EXE)
Commands: icegridnode --version 3.5.1 (C:\ice\bin\icegridnode.EXE)
Commands: icegridadmin --version 3.5.1 (C:\ice\bin\icegridadmin.EXE)
Commands: psql --version 9.3.5 (C:\Program Files\PostgreSQL\9.3\bin\psql.EXE)

Server: icegridnode not started

Cannot list deployed applications.

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

Log files: Blitz-0.log 74.0 KB errors=40 warnings=0
Log files: DropBox.log 3.0 KB errors=4 warnings=2
Log files: FileServer.log 0.0 KB
Log files: Indexer-0.log 32.0 KB errors=20 warnings=0
Log files: MonitorServer.log 0.0 KB
Log files: OMEROweb.log n/a
Log files: PixelData-0.log 32.0 KB errors=20 warnings=0
Log files: Processor-0.log 29.0 KB errors=16 warnings=8
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.17 MB


Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_TEMPDIR=(unset)
Environment:PATH=C:\Python27\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ice\bin;C:\python27\Scripts;C:\Program Files\PostgreSQL\9.3\bin
Environment:PYTHONPATH=C:\ICE\python
Environment:ICE_HOME=C:\ICE
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)

OMERO data dir: 'c:\\omero' Exists? True Is writable? True
OMERO temp dir: 'C:\Users\rgagnon\AppData\Roaming\omero\tmp' Exists? True Is writable? True (Size: 0)
OMERO.web status... [NOT STARTED]

----------------------------
From omero config get

C:\Omero.server\bin>omero config get
omero.data.dir=c:\\omero
omero.db.name=omero_database
omero.db.pass=xxxxxxx
omero.db.user=db_user

---

Re: Unable to start Omero

PostPosted: Thu Sep 04, 2014 7:34 am
by jmoore
omero_database-> - \d
No relations found.


Looks to be your problem. Likely something went wrong during the "Initialize your database with the script." step of the "Installation" section.

Could you retry that and let us know how it goes?

Cheers,
~Josh.

Re: Unable to start Omero

PostPosted: Thu Sep 04, 2014 4:13 pm
by bobg
Thanks Josh. Yes. I deleted the initializaion script, recreated it, ran it again, and this time the tables were created. Omero server successfully starting.