[ome-users] Mac OS X OMERO.server installation

wormbuff wormbuff at gmail.com
Thu May 31 17:41:57 BST 2007


I have encountered some difficulties while installing OMERO.server.   
I am attempting to install OMERO.server Beta 1 on Mac OS v10.4.8.   
When I try to login using either .admin or .insight, I have no luck.   
I have been trying to track down where the problem is, but to no avail.

I downloaded the Mac OS X package installation and it installed  
successfully (at least it did not report an error).  However, upon  
trying to login with .admin (using localhost with l/p: root/omero),  
the login attempt fails.

I tried working through the OmeroInstall trac pages and this is what  
I have been able to verify.

-> Port 1099 and 5432 are open
-> javac v1.5.0_07
-> postgres v8.1.5 is installed in /Library/PostgreSQL8/bin
-> in postgres, omero3 database exists and omero user exists
NOTE: to "su postgres" I had to assign a password to the postgres  
account

-> I would try to initialize the OMERO database by running  
"$JBOSS_HOME/bin/run.sh", however, I do not seem to have  
"jboss-4.0.4.GA" in my OMERO directory.  The closest thing I see is  
OMERO/server/client/jbosssx-4.0.4.GA.jar

-> Upon trying to in initialize the OMERO database with "sudo java  
omero update setup-db deploy" (sudo as /Applications/OMERO is owned  
by root) I get the following message:

/Applications/OMERO/server $ sudo java omero update setup-db deploy
Password:
Buildfile: build.xml

update:
Created dir: /Applications/OMERO/server/omero756254785
Copying 1 file to /Applications/OMERO/server/omero756254785
Updating jar: /Applications/OMERO/server/omero.ear
Deleting directory /Applications/OMERO/server/omero756254785

reload-db:
statements executed successfully
Executing file: /Applications/OMERO/server/target/ddl.sql
Failed to execute:   create table aberrationcorrection ( id int8 not  
null, owner_id int8 not null, group_id int8 not null, creation_id  
int8 not null, permissions int8 not null, external_id int8 unique,  
value varchar(255) not null unique, primary key (id) )

BUILD FAILED
/Applications/OMERO/server/build.xml:71: The following error occurred  
while executing this line:
/Applications/OMERO/server/components/server/build.xml:17: The  
following error occurred while executing this line:
/Applications/OMERO/server/components/antlib/resources/macros.xml:94:  
org.postgresql.util.PSQLException: ERROR: relation  
"aberrationcorrection" already exists

Total time: 11 seconds

Any help/insight would be greatly appreciated.  Thanks!




More information about the ome-users mailing list