We're Hiring!

Cannot start windows service during startup

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.

Cannot start windows service during startup

Postby valbusagio » Wed Sep 16, 2009 10:45 am

Hi

we installed Omero on the windows XP operating system following the "OMERO.server Installation for Microsoft Windows" instructions.

The command prompt gives me this error message at startup:

C:\omero_dist>bin\omero admin start
No descriptor given. Using etc\grid\windefault.xml
[SC] StartService: OpenService FAILED 1060:

The specified service does not exist.


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

We are using the folowing packages:
ActivePython-2.5.4.4-win32-x86.msi
Ice-3.3.1-VC8.0.msi
jre-6u16-windows-i586.exe
omero-Beta4.0.3.zip
postgresql-8.4.1-1-windows.exe



Any ideas?
valbusagio
 
Posts: 2
Joined: Wed Sep 16, 2009 10:28 am

Re: Cannot start windows service during startup

Postby valbusagio » Wed Sep 16, 2009 4:14 pm

Ok now Omero is working,

The problem was related to the way OMERO use to detect if a service is running or not. It search for the string 'does not exist' in this error message:

"[SC] StartService: OpenService FAILED 1060:

The specified service does not exist."

But if your locale is not set to English it will surely fail because in Italy for example the same error message is: 'Il servizio specificato non esiste'

I saw in a thread that this BUG was already submitted by someone else.

Solving immediately the bug is very easy you have to edit line 188 in the file lib/python/omero/plugins/admin.py and change the string 'does not exist' into the proper error message in your language.

Another problem was that I didn't understand from the documentation that the default user is 'root' 'password'. It means that when you use webAdmin for the first time you have to enter that user/password.

That's all.
valbusagio
 
Posts: 2
Joined: Wed Sep 16, 2009 10:28 am

Re: Cannot start windows service during startup

Postby cxallan » Wed Sep 16, 2009 4:46 pm

Yes, we've solved the locale issue in the code base and I'm glad you found the solution from the archive! :) We're also looking at making the various "users" more clear in the documentation.

Thanks for the feedback!
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest