Page 1 of 1

Cannot start windows service during startup

PostPosted: Wed Sep 16, 2009 10:45 am
by valbusagio
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?

Re: Cannot start windows service during startup

PostPosted: Wed Sep 16, 2009 4:14 pm
by valbusagio
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.

Re: Cannot start windows service during startup

PostPosted: Wed Sep 16, 2009 4:46 pm
by cxallan
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!