[ome-users] Omero4.0.3 start error on Windows SP2

Javier Diaz javiereduardodiaz at gmail.com
Fri Jul 3 17:06:12 BST 2009


Hi Josh!

Muchas gracias!, creo que vas a convertirte en un políglota! (Thank you 
very much!, I think you are going to be a polyglot!).

It Works! or at least we have the service running, because we have new 
problems: When I tried to log in on webadmin I got this: Error: 
PermissionDeniedException. Every time that I try to log in, the 
OMEROWeb.log appends this:

-----------------------------------------------------------------------------------------
2009-07-03 12:35:05,055 views-admin : ERROR    Traceback (most recent 
call last):
  File "c:\omero_dist\lib\python\omeroweb\webadmin\views.py", line 144, 
in getConnection
    conn.connect()
  File "C:\omero_dist\lib\python\omeroweb\extlib\gateway.py", line 187, 
in connect
    raise x
PermissionDeniedException: exception ::Glacier2::PermissionDeniedException
{
    reason = internal server error
}
-----------------------------------------------------------------------------------------

I don't know whether it is related or not with the message: "Failed to 
startup after 5 minutes" that is still there (after the "bin\omero admin 
start" command).

-----------------------------------------------------------------------------------------------
C:\omero_dist>bin\omero admin start
No descriptor given. Using etc\grid\windefault.xml
[SC] CreateService CORRECTO


NOMBRE_SERVICIO: OMERO.master
        TIPO               : 10  WIN32_OWN_PROCESS
        ESTADO             : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, 
IGNORES_SHUTDOWN)
        CÓD_SALIDA_WIN32   : 0  (0x0)
        CÓD_SALIDA_SERVICIO: 0  (0x0)
        PUNTO_COMPROB.     : 0x0
        INDICACIÓN_INICIO  : 0x7d0
        PID                : 5816
        MARCADORES         :

Waiting on startup. Use CTRL-C to exit
.............................Failed to startup after 5 minutes
-----------------------------------------------------------------------------------------------

Again, I am and I will be very grateful for all your help.

Javier

josh.moore at gmx.de escribió:
> Hi Javier,
>
> got it!! Sorry for putting you through the paces for what turns out to
> be a case of horrible anglo-centrism. There's a check on Windows for
> the string: "does not exist", which of course doesn't quite match "no
> existe".
>
> For the moment, you can edit line 188 of
> lib/python/omero/plugins/admin.py:
>
> 188c188
> <             if 0 <= output.find("does not exist"):
> ---
>   
>>             if 0 <= output.find("no existe"):
>>     
>
> and I'll search for a more sensible way to check the existence of a
> service on Windows.
>
>
> Best wishes,
> ~Josh
>
>
> Javier Diaz writes:
>
>  > I was repeating the stepts of the installation.
>  > 
>  > - I chose the c:\omero_dist as installation directory.
>  > 
>  > - I set the system variable PATH to:
>  > "C:\python25;C:\Ice-3.3.1\bin". I have to add "C:\python25" because
>  > the command python was not recognized.
>  > 
>  > - I set the PYTHONPATH system variable to "C:\Ice-3.3.1\python",
>  > instead of C:\Ice-3.3.1\bin because I had an import error.
>  > 
>  > I restarted the computer after any change of the variables system.
>  > 
>  > Then,
>  > 
>  >     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] StartService: OpenService FAILED 1060:
>  > 
>  >     El servicio especificado no existe como servicio instalado.
>  > 
>  >     Waiting on startup. Use CTRL-C to exit
>  >     .............................Failed to startup after 5 minutes
>  > 
>  > After that, the directories master, log and  registry have nothing. The 
>  > event viewer does not show new events when I execute the commands.
>  > 
>  > The commands that you send me
>  > 
>  >     C:\omero_dist>bin\omero admin stop
>  >     [SC] OpenService FAILED 1060:
>  > 
>  >     El servicio especificado no existe como servicio instalado.
>  > 
>  > 
>  >     [SC] OpenService FAILED 1060:
>  > 
>  >     El servicio especificado no existe como servicio instalado.
>  > 
>  > 
>  >     Waiting on shutdown. Use CTRL-C to exit
>  > 
>  >     C:\omero_dist>bin\omero admin start
>  >     No descriptor given. Using etc\grid\windefault.xml
>  >     [SC] StartService: OpenService FAILED 1060:
>  > 
>  >     El servicio especificado no existe como servicio instalado.
>  > 
>  > 
>  >     Waiting on startup. Use CTRL-C to exit
>  >     .............................Failed to startup after 5 minutes
>  > 
>  > 
>  > There is no registration of new events when I executed the
>  > commnads.  This is the last event that I see in the event viewer.
>  > 
>  >     Tipo de suceso:    Información
>  >     Origen del suceso:    PostgreSQL
>  >     Categoría del suceso:    Ninguno
>  >     Id. suceso:    0
>  >     Fecha:        29/06/2009
>  >     Hora:        12:12:46 p.m.
>  >     Usuario:        No disponible
>  >     Equipo:    MICROSCOPIA12
>  >     Descripción:
>  >     Server started and accepting connections
>  > 
>  > Best regards.
>  > 
>  > Javier
>
>
>
>  > josh.moore at gmx.de escribió:
>  > > Javier Diaz writes:
>  > >  > Josh,
>  > >
>  > > Javier,
>  > >
>  > >  > I am sorry, I forgot to tell you that in the var/log directory there is 
>  > >  > nothing.
>  > >
>  > > Hmm....strange. Ok, without any logs or errors it's a bit difficult to
>  > > know where to begin, but a few things: After adding C:\Ice-3.3.1 to
>  > > the _system_ PATH, did you restart? Can you show us the output of
>  > > doing:
>  > >
>  > >   bin\omero admin stop
>  > >   bin\omero admin start
>  > >
>  > > Are there any logs (either in the Event Viewer or under var\logs)
>  > > after doing so? What directory are you using for your installation
>  > > directory? C:\omero_dist? 
>  > >
>  > > Best wishes,
>  > > ~Josh.
>  > >
>  > >
>  > >  > 
>  > >  > josh.moore at gmx.de escribió:
>  > >  > > Sorry, I sent too quickly. The appropriate link was:
>  > >  > >
>  > >  > > http://lists.openmicroscopy.org.uk/pipermail/ome-users/2009-May/001769.html
>  > >  > >
>  > >  > > Have a good weekend everyone,
>  > >  > > ~j.
>  > >  > >
>  > >  > > Javier Diaz writes:
>  > >  > >  > Hi,
>  > >  > >  > 
>  > >  > >  > My name is Javier Diaz and I am from Argentine. I completed all steps of 
>  > >  > >  > the installation guide for windows until I had to start omero server, 
>  > >  > >  > when I got the following error:
>  > >  > >  > 
>  > >  > >  > bin\omero admin start
>  > >  > >  > Creating var\master
>  > >  > >  > Initializing var\log
>  > >  > >  > Creating var\registry
>  > >  > >  > No descriptor given. Using etc\grid\windefault.xml
>  > >  > >  > [SC] StartService: OpenService ERROR 1060:
>  > >  > >  > 
>  > >  > >  > El servicio especificado no existe como servicio instalado.
>  > >  > >  > 
>  > >  > >  > I will appreciate any help. Thanks in advance.
>  > >  > >  > 
>  > >  > >  > Javier
>  > >  > >
>  > >  > >   
>  > >  > _______________________________________________
>  > >  > ome-users mailing list
>  > >  > ome-users at lists.openmicroscopy.org.uk
>  > >  > http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>  > >
>  > >   
>  > 
>  > 
>  > josh.moore at gmx.de escribió:
>  > > Javier Diaz writes:
>  > >  > Josh,
>  > >
>  > > Javier,
>  > >
>  > >  > I am sorry, I forgot to tell you that in the var/log directory there is 
>  > >  > nothing.
>  > >
>  > > Hmm....strange. Ok, without any logs or errors it's a bit difficult to
>  > > know where to begin, but a few things: After adding C:\Ice-3.3.1 to
>  > > the _system_ PATH, did you restart? Can you show us the output of
>  > > doing:
>  > >
>  > >   bin\omero admin stop
>  > >   bin\omero admin start
>  > >
>  > > Are there any logs (either in the Event Viewer or under var\logs)
>  > > after doing so? What directory are you using for your installation
>  > > directory? C:\omero_dist? 
>  > >
>  > > Best wishes,
>  > > ~Josh.
>  > >
>  > >
>  > >  > 
>  > >  > josh.moore at gmx.de escribió:
>  > >  > > Sorry, I sent too quickly. The appropriate link was:
>  > >  > >
>  > >  > > http://lists.openmicroscopy.org.uk/pipermail/ome-users/2009-May/001769.html
>  > >  > >
>  > >  > > Have a good weekend everyone,
>  > >  > > ~j.
>  > >  > >
>  > >  > > Javier Diaz writes:
>  > >  > >  > Hi,
>  > >  > >  > 
>  > >  > >  > My name is Javier Diaz and I am from Argentine. I completed all steps of 
>  > >  > >  > the installation guide for windows until I had to start omero server, 
>  > >  > >  > when I got the following error:
>  > >  > >  > 
>  > >  > >  > bin\omero admin start
>  > >  > >  > Creating var\master
>  > >  > >  > Initializing var\log
>  > >  > >  > Creating var\registry
>  > >  > >  > No descriptor given. Using etc\grid\windefault.xml
>  > >  > >  > [SC] StartService: OpenService ERROR 1060:
>  > >  > >  > 
>  > >  > >  > El servicio especificado no existe como servicio instalado.
>  > >  > >  > 
>  > >  > >  > I will appreciate any help. Thanks in advance.
>  > >  > >  > 
>  > >  > >  > Javier
>
>   



More information about the ome-users mailing list