We're Hiring!

errors at bin\omero db script installation step

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

errors at bin\omero db script installation step

Postby ahar » Fri Jan 22, 2010 7:16 pm

Hi,
I've worked through installation of the prerequisites, setting the system environment variables and creating the database but when I run the "bin\omero db script" command I get the following:

c:\omero_dist>bin\omero db script
Error loading:c:\omero_dist\lib\python\omero\plugins\admin.py
Traceback (most recent call last):
File "c:\omero_dist\lib\python\omero\cli.py", line 996, in loadplugins
execfile( plugin, loc )
File "c:\omero_dist\lib\python\omero\plugins\admin.py", line 24, in <module>
import omero_ServerErrors_ice
File "c:\omero_dist\lib\python\omero_ServerErrors_ice.py", line 13, in <module
>
import Ice, IcePy, __builtin__
File "C:\Ice-3.3.1\python\Ice.py", line 19, in <module>
import IcePy
ImportError: DLL load failed: The specified module could not be found.
Error loading:c:\omero_dist\lib\python\omero\plugins\upload.py
Traceback (most recent call last):
File "c:\omero_dist\lib\python\omero\cli.py", line 996, in loadplugins
execfile( plugin, loc )
File "c:\omero_dist\lib\python\omero\plugins\upload.py", line 14, in <module>
import omero.util.originalfileutils;
File "c:\omero_dist\lib\python\omero\util\__init__.py", line 11, in <module>
import Ice
File "C:\Ice-3.3.1\python\Ice.py", line 19, in <module>
import IcePy
ImportError: DLL load failed: The specified module could not be found.
DLL load failed: The specified module could not be found.
c:\omero_dist>


I'm running 32-bit Windows Vista. Any suggestions on how to get past this problem?
Thanks
ahar
 
Posts: 37
Joined: Fri Jan 22, 2010 7:09 pm

Re: errors at bin\omero db script installation step

Postby jmoore » Fri Jan 22, 2010 7:41 pm

It sounds like something has gone wrong with your Ice installation. Did you set add the Ice directory to your PATH variable? What's the value of "set PATH" in the console? Also, can you execute "icegridnode --version"?
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: errors at bin\omero db script installation step

Postby ahar » Sat Jan 23, 2010 1:17 am

Thanks. I'll check those and get back to you.
If a problem with Ice is suspected, could someone kindly confirm exactly which of the downloads at http://www.zeroc.com/download.html I should be using?
Thanks
ahar
 
Posts: 37
Joined: Fri Jan 22, 2010 7:09 pm

Re: errors at bin\omero db script installation step

Postby jmoore » Sat Jan 23, 2010 8:42 am

It depends mostly on which Python version you installed. The instructions at https://www.openmicroscopy.org/site/support/omero4/server/install-windows suggest using Python 2.5 and http://www.zeroc.com/download/Ice/3.3/Ice-3.3.1-VC80.msi. If, however you are using Python 2.6, then you will need Ice-3.3.1-VC90.msi.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: errors at bin\omero db script installation step

Postby ahar » Sat Jan 23, 2010 11:04 am

A-ha! I've used Ice-3.3.1-VC80.msi with Python 2.6.
Thanks
ahar
 
Posts: 37
Joined: Fri Jan 22, 2010 7:09 pm

Re: errors at bin\omero db script installation step

Postby ahar » Mon Jan 25, 2010 12:21 pm

I managed to complete the installation steps once I installed Python 2.5.4.4
How does this look? That "not found" doesn't look good...
Thanks

c:\omero_dist>bin\omero admin diagnostics

================================================================================

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


Commands: java -version 1.6.0 (C:\Windows\system32\java.E
XE)
Commands: python -V 2.5.4 (C:\Python25\python.EXE)
Commands: icegridnode --version 3.3.1 (C:\Ice-3.3.1\bin\icegridno
de.EXE)
Commands: icegridadmin --version 3.3.1 (C:\Ice-3.3.1\bin\icegridad
min.EXE)
Commands: psql --version not found :!:

Server: icegridnode running
Server: Blitz-0 active (pid = 2832, enabled)
Server: DropBox inactive (disabled)
Server: FSServer inactive (disabled)
Server: Indexer-0 active (pid = 2868, enabled)
Server: OMERO.Glacier2 active (pid = 2908, enabled)
Server: OMERO.IceStorm active (pid = 2928, enabled)
Server: Processor-0 active (pid = 2940, enabled)
Server: Tables-0 inactive (disabled)
Server: TestDropBox inactive (enabled)
Server: Web inactive (enabled)

Log dir: c:\omero_dist\var\log exists

Log files: Blitz-0.log 39.0 KB errors=4 warnings=3

Log files: DropBox.log 1.0 KB errors=4 warnings=0

Log files: FSServer.log 1.0 KB errors=2 warnings=0

Log files: Indexer-0.log 57.0 KB
Log files: OMEROweb.log n/a
Log files: Processor-0.log 2.0 KB errors=0 warnings=1

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.10 MB

c:\omero_dist>
ahar
 
Posts: 37
Joined: Fri Jan 22, 2010 7:09 pm

Re: errors at bin\omero db script installation step

Postby jmoore » Mon Jan 25, 2010 1:04 pm

The "not found" for psql isn't really a problem, since it only implies that you didn't add the Postgres directory to your PATH.
Code: Select all
Server: Blitz-0 active (pid = 2832, enabled)
is what we're looking for since it says that the server is up and running. But there's the possibility that something went wrong:
Code: Select all
Log files: Blitz-0.log 39.0 KB errors=4 warnings=3
Have you been able to access your server?
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: errors at bin\omero db script installation step

Postby ahar » Mon Jan 25, 2010 3:35 pm

I'd need to create users with OMERO.webadmin first would I?
I ran through the instructions for setting up that and although they say to ignore the error you get after the server start Web command, the omero admin diagnostics output returns:
Server: Web activation timed out (pid = 3564, enabled)

I guess that can't be right?

I can get the OMERO.web login screen but when I enter the username and password I configured with bin\omero web settings it gives the error
Error: Connection not available, please check your user name and password.
ahar
 
Posts: 37
Joined: Fri Jan 22, 2010 7:09 pm

Re: errors at bin\omero db script installation step

Postby cxallan » Mon Jan 25, 2010 9:53 pm

Yes, you'll need to create a user via OMERO.WebAdmin. The default username is root and its password is whatever you assigned during database creation. The username and password you set up using bin/omero web settings is purely for the Django administration interface.

You can read more about what all the accounts are and what they mean here:

https://www.openmicroscopy.org/site/sup ... #section-2
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: errors at bin\omero db script installation step

Postby ahar » Tue Jan 26, 2010 11:12 am

Hi,
Now I'm getting somewhere. I should have read that password information rather than assuming....
I'm just setting this up for others to use so I'll get someone to check it's all working at the client end.
Thanks for all the assistance.
ahar
 
Posts: 37
Joined: Fri Jan 22, 2010 7:09 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest