[ome-users] OMERO on 64 bit Windows
Josh Moore
josh at glencoesoftware.com
Thu May 27 17:57:54 BST 2010
Forwarding to list.
~J.
Davies, Ian (GE Healthcare) writes:
>
> Hello Josh,
>
> Sorry it's been a while. I've been doing some more tinkering about but
> to no avail. After downgrading ICE and Python to the supported
> versions, the current output of omero admin diagnostics is:
>
> ========================================================================
> ========
> OMERO Diagnostics Beta-4.1.1-r5927-b91
> ========================================================================
> ========
> Commands: java -version 1.6.0
> (C:\WINDOWS\system32\java.EXE)
> Commands: python -V 2.5.5
> (C:\Python25\python.EXE)
> Commands: icegridnode --version 3.3.1
> (C:\ICE\bin\x64\icegridnode.EXE -- 2 others)
> Commands: icegridadmin --version 3.3.1
> (C:\ICE\bin\x64\icegridadmin.EXE -- 2 others)
> Commands: psql --version 8.4.3 (C:\Program Files
> (x86)\PostgreSQL\8.4\bin\psql.EXE)
>
> Server: icegridnode not started
>
> Log dir: C:\omero_dist\var\log exists
> Log files: Blitz-0.log 130.0 KB errors=6
> warnings=9
> Log files: DropBox.log n/a
> Log files: FSServer.log n/a
> Log files: Indexer-0.log 112.0 KB errors=6
> warnings=9
> Log files: OMEROweb.log 29.0 KB errors=70
> warnings=0
> Log files: Processor-0.log n/a
> 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.27 MB
>
> There's clearly a problem with icegridnode not starting and this is also
> reflected in the following:
>
> C:\omero_dist>icegridadmin
> icegridadmin: could not contact the registry:
> no default locator or router configured
>
> C:\omero_dist>icegridnode
> 05/26/10 09:53:11.176 icegridnode: error: property 'Ice.Default.Locator'
> is not set
>
> C:\omero_dist>bin\omero admin ice
> icegridadmin: could not contact the default locator:
> Network.cpp:1220: Ice::ConnectionRefusedException:
> connection refused: WSAECONNREFUSED
>
> C:\omero_dist>psql -V
> psql (PostgreSQL) 8.4.3
>
> C:\omero_dist>netstat -an | find "5432"
> TCP 127.0.0.1:5432 0.0.0.0:0 LISTENING
>
> Issuing omero admin start creates the OMERO.master service but does not
> start within five minutes. Trying to start the service from Windows
> Computer Management results in the error message:
>
> Windows could not start the OMERO.master on Local Computer. For
> more information, review the System Event Log. If this is a
> non-Microsoft service, contact the service vendor, and refer to service-
> specific error code 1.
>
> The contents of the event viewer log are attached.
>
> For information, I set up the Django server and successfully started it
> manually using python manage.py runserver. The OMERO Webadmin page was
> generated correctly but I cannot login without seeing
> 'Error: Connection not available, please check your username and
> password.'
>
>
> I hope you can help with this problem,
> Regards,
> Ian
>
> __________________________________________
> Ian Davies
> GE Healthcare
> T +44(0)29 2052 6413
> F +44(0)29 2052 6206
> D *368-6413
> Ian.Davies at ge.com
>
>
> -----Original Message-----
> From: Josh Moore [mailto:josh at glencoesoftware.com]
> Sent: 17 May 2010 12:47
> To: Davies, Ian (GE Healthcare)
> Cc: ome-users at lists.openmicroscopy.org.uk
> Subject: Re: [ome-users] OMERO on 64 bit Windows
>
>
> Davies, Ian (GE Healthcare) writes:
> > Hello Josh,
>
> Hi Ian,
>
> > I updated PATH as you suggested but this had no effect. I then
> updated > PYTHONPATH to include references to the 64bit versions and
> now the omero > db script command produces the desired result. pgAdmin
> III shows that > all the tables etc have been added, I assume
> correctly.
>
> Great. Good to hear.
>
> > Unfortunately, starting the server gives this:
> > C:\omero_dist>bin\omero admin start
> > Creating C:\omero_dist\var\master
> > Initializing C:\omero_dist\var\log
> > Creating C:\omero_dist\var\registry
> > No descriptor given. Using etc\grid\windefault.xml > [SC]
> CreateService SUCCESS > > SERVICE_NAME: OMERO.master
> > TYPE : 10 WIN32_OWN_PROCESS
> > STATE : 2 START_PENDING
> > (NOT_STOPPABLE, NOT_PAUSABLE,
> > IGNORES_SHUTDOWN))
> > WIN32_EXIT_CODE : 0 (0x0)
> > SERVICE_EXIT_CODE : 0 (0x0)
> > CHECKPOINT : 0x1
> > WAIT_HINT : 0x7d0
> > PID : 3364
> > FLAGS :
> >
> > Waiting on startup. Use CTRL-C to exit >
> ..............................Failed to startup after 5 minutes > > I
> include the diagnostics output as follows:
> >
> > 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.EXE)
> > Commands: python -V 2.6.5
> > (C:\Python26\python.EXE)
> > Commands: icegridnode --version 3.4.0
> > (C:\ICE\bin\x64\icegridnode.EXE -- 2 others) ...
> > Log files: master.err 0.0 KB
> > Log files: master.out 0.0 KB
> > Log files: Total size 0.27 MB
>
>
> Debugging on Windows is unfortunately quite painful because of Ice's
> handling of standard out/err. There are instructions for viewing issues
> in the Event Viewer here:
>
>
> http://lists.openmicroscopy.org.uk/pipermail/ome-users/2009-May/001769.h
> tml
>
> But before doing that, I'd highly recommed you downgrade to Ice 3.3.1
> which is the currently supported version. Ice 3.4 has definitely *not*
> been tested on Windows for use with OMERO.
>
> Sorry for the inconvience.
> ~Josh.
>
> > -----Original Message-----
> > From: Josh Moore [mailto:josh at glencoesoftware.com] > Sent: 14 May
> 2010 21:16 > To: Davies, Ian (GE Healthcare) > Cc:
> ome-users at lists.openmicroscopy.org.uk
> > Subject: [ome-users] OMERO on 64 bit Windows > > > Hi Ian, > >
> Looks like the Ice installation is not working properly. What did you >
> add to your PATH environment variable? Are the x64 directories before >
> the other Ice directories?
> >
> > For example, my PATH setting from a 64-bit Windows Server > 2003
> machine has: ...;C:\Ice-3.3.1\bin\x64;C:\Ice-3.3.1\bin
> >
> > Cheers,
> > ~Josh
> >
> >
> > Davies, Ian (GE Healthcare) writes:
> > >
> > > I'm trying to install OMERO4 (again), this time on a 64 bit
> Windows > > machine and I can't set up the database without seeing
> this:
> > >
> > >
> > > 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\python\Ice.py", line 47, in <module>
> > > import IcePy
> > > ImportError: DLL load failed: %1 is not a valid Win32 application.
> > > 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\python\Ice.py", line 47, in <module>
> > > import IcePy
> > > ImportError: DLL load failed: %1 is not a valid Win32 application.
> > > Error printing text
> > > DLL load failed: %1 is not a valid Win32 application.
> > > C:\omero_dist>bin\
> > >
> > >
> > > What do I need to do to make this work?
> > > Regards,
> > > Ian Davies
More information about the ome-users
mailing list