[ome-devel] starting up omero 4 server: StartService FAILED error -- connection refused

Cornelissen, Frans [PRDBE] FCORNELI at its.jnj.com
Wed Apr 1 09:47:31 BST 2009


Hi Chris,

I did move & rename to C:\ICE-3.3.0,
And corrected the PATH & PYTHONPATH.
Started a new shell and tried to start the server.
Process goes a bit further, but 
I now get the follwing error:
----------------------------------------------------------------
C:\Documents and
Settings\fcorneli\Desktop\omero-Beta4.0.0\omero-Beta4.0.0>bin\omero
admin start
No descriptor given. Using etc/grid/default.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                : 4636
        FLAGS              :

Waiting on startup. Use CTRL-C to exit
icegridadmin: could not contact the default locator:
Network.cpp:1220: Ice::ConnectionRefusedException:
connection refused: WSAECONNREFUSED
.
------------------------------------------------------------------

What's next for me to try? :-)

Thanks in advance,best regards, frans

-----Original Message-----
From: Chris Allan [mailto:callan at glencoesoftware.com] 
Sent: Wednesday, 1 April 2009 10:24 AM
To: Cornelissen, Frans [PRDBE]
Cc: ome-devel at lists.openmicroscopy.org.uk
Subject: Re: starting up omero 4 server: StartService FAILED error --
connection refused

On Wed, 2009-04-01 at 10:07 +0200, Cornelissen, Frans [PRDBE] wrote:
> Hi,

Hi Frans.

> When starting up the omero 4 server, I get the following error:
> 
> > bin\omero admin start
> 
> Creating c:\omero\var\master
> Initializing c:\omero\var\log
> Creating c:\omero\var\registry
> No descriptor given. Using etc/grid/default.xml
> [SC] CreateService SUCCESS
> 
> [SC] StartService FAILED 3:
> 
> The system cannot find the path specified.
> 
> Waiting on startup. Use CTRL-C to exit
> icegridadmin: could not contact the default locator:
> Network.cpp:1220: Ice::ConnectionRefusedException:
> connection refused: WSAECONNREFUSED
> .icegridadmin: could not contact the default locator:
> Network.cpp:1220: Ice::ConnectionRefusedException:
> connection refused: WSAECONNREFUSED
> .icegridadmin: could not contact the default locator:
> Network.cpp:1220: Ice::ConnectionRefusedException:
> connection refused: WSAECONNREFUSED
> 
> --------------------------------------------------------
> The previous steps all went well:
> 
> C:\Documents and
> Settings\fcorneli\Desktop\omero-Beta4.0.0\omero-Beta4.0.0>bin\omero db
> script
> Please enter omero.db.version [OMERO4]:
> Please enter omero.db.patch [0]:
> Please enter password for new OMERO root user:
> Please re-enter password for new OMERO root user:
> Saving to C:\Documents and
>
Settings\fcorneli\Desktop\omero-Beta4.0.0\omero-Beta4.0.0\OMERO4__0.sql
> 
> C:\Documents and
> Settings\fcorneli\Desktop\omero-Beta4.0.0\omero-Beta4.0.0>xcopy /E /Y
> etc\Windows\* etc
> etc\Windows\log4j.xml
> etc\Windows\README
> etc\Windows\Windows.cfg
> etc\Windows\grid\templates.xml
> 4 File(s) copied
> ---------------------------------------------------------------------
> 
> any suggestions?

I'm going to assume you have the Ice-3.3.1 download installed? The
problem comes from some hard coded PATHs and the way Windows handles
them. An oversight on our part. The ticket (not much more information)
is here:

http://trac.openmicroscopy.org.uk/omero/ticket/1287

For now the easiest solution is:

 * Run "bin/omero admin stop" (this ensures that the service is removed)
 * Move C:\Ice-3.3.1 to C:\Ice-3.3.0; these *must* be the exact paths
 * Edit the PATH values you inserted when following the install notes

We'll be making the Windows deployment easier in 4.0.1 which we're
hoping to release towards the end of next week.

> 
> Thanks, best regards, frans

Thanks for your patience.

-Chris




More information about the ome-devel mailing list