Page 1 of 1

omero server running failure

PostPosted: Thu Apr 08, 2010 4:30 pm
by bhcho
after i installed the omero server on my linux machine, i tried to run the omero.server and i "failed to startup after 5 minutes"

for the diagnostics,

================================================================================
OMERO Diagnostics Beta-4.1.1-r5927-b91
================================================================================

Commands: java -version 1.6.0 (/usr/local/bin/java -- 2 others)
Commands: python -V 2.5.2 (/usr/bin/python)
Commands: icegridnode --version 3.3.0 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.3.0 (/usr/bin/icegridadmin)
Commands: psql --version 8.3.4 (/usr/bin/psql)

Server: icegridnode running
Server: Blitz-0 inactive (disabled)
Server: DropBox inactive (disabled)
Server: FSServer inactive (disabled)
Server: Indexer-0 inactive (disabled)
Server: OMERO.Glacier2 active (pid = 16347, enabled)
Server: OMERO.IceStorm active (pid = 16349, enabled)
Server: Processor-0 activating (enabled)
Server: Tables-0 inactive (disabled)
Server: TestDropBox inactive (enabled)
Server: Web inactive (enabled)

Log dir: /usr0/local/omero.server/omero_dist/var/log exists

Log files: Blitz-0.log 43.0 KB errors=2 warnings=4
Log files: DropBox.log 0.0 KB errors=2 warnings=0
Log files: FSServer.log 0.0 KB errors=1 warnings=0
Log files: Indexer-0.log 37.0 KB errors=2 warnings=4
Log files: OMEROweb.log n/a
Log files: Processor-0.log 89.0 KB errors=24 warnings=168
Log files: Tables-0.log n/a
Log files: TestDropBox.log n/a
Log files: master.err 27.0 KB errors=0 warnings=2
Log files: master.out 0.0 KB
Log files: Total size 0.20 MB


and I attached the log files.
Can anyone tell me what's the problem with me?

Re: omero server running failure

PostPosted: Fri Apr 09, 2010 7:53 am
by cxallan
The relevant test from var/log/Blitz-0.log is as follows:

Code: Select all
Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "server"
        at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:276)
        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:95)
        at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
        at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:124)
        at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
        at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
        at org.postgresql.Driver.makeConnection(Driver.java:386)
        at org.postgresql.Driver.connect(Driver.java:260)
        at bitronix.tm.resource.jdbc.lrc.LrcXADataSource.getXAConnection(LrcXADataSource.java:79)
        ... 122 more


Please make sure that your database username and password are correct and that the user has permissions to connect to the database you've created. If you'd like us to look at it for you, we'll need the output of bin/omero config get.

Re: omero server running failure

PostPosted: Wed Apr 14, 2010 1:38 pm
by bhcho
Thanks cxallan,

I corrected the DB username and password.
And I was also required to install HDF5, pyinotify, and pytables (which were not listed in the installation manual).
I'm not sure why I had to install those, but maybe it depends on the initial state of the system.

Anyway, now my server is working.
Speciall thanks to Ken.

Re: omero server running failure

PostPosted: Wed Apr 14, 2010 2:00 pm
by cxallan
That's great. Glad you're all set up! :D