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

Javier Diaz javiereduardodiaz at gmail.com
Fri Jul 3 20:13:53 BST 2009


Josh,

All is working!. I did not configure windefault.xml file, sorry for this.

Thank you very much. I am like a kid with a new toy, now.

I will be writing soon.

Javier



josh.moore at gmx.de escribió:
> Javier Diaz writes:
>  > Muchas gracias!, creo que vas a convertirte en un políglota! (Thank
>  > you very much!, I think you are going to be a polyglot!).
>
> De nada. Se me olivido mucho, pero "no existe" es facil.
>
>  > 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:
>
> This sounds more like an error I know how to deal with.
>
>  > 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).
>
> Yes, these together say that your server has not (and won't be) able
> to start. The most likely cause is the database connection. Have you
> checked that you are able to connect from the command line? As
> Bernhard pointed out recently,
>
>   psql -h localhost -U omero omero -c "select * from image"
>
> "omero" and "omero" should be the user name and the database name,
> respectively. If they aren't the default values, did you configure
> windefault.xml with the real values? If all that doesn't help, looking
> at var\log\Blitz-0.log will hopefully help.
>
>
>  > Again, I am and I will be very grateful for all your help.
>
>
> No hay de que.
> ~J.
>
> P.S. the "does not exist" issue has been created as:
> https://trac.openmicroscopy.org.uk/omero/ticket/1400
>
>  > 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