[ome-users] OMERO.server4.4.4 Settings Configuration (Could not import omero.cli! No module named Ice)

Josh Moore josh at glencoesoftware.com
Fri Nov 23 08:28:00 GMT 2012


On Nov 20, 2012, at 1:24 PM, UNAI LORENZO SIERRA wrote:
> Dear Blazej,

Hi Unai,

> Sorry for the delay answering your email.
> I changed all the permissions and now I'm the system administrator.
> But I'm still having problems with 'omero admin start'.
> 
> Could you please take a look at the command line?
> 
> 
> O:\omero_dist>bin\omero admin start
> No descriptor given. Using etc\grid\windefault.xml
> [SC] StartService ERROR 1053:
> 
> El servicio no respondió a tiempo a la solicitud de inicio o de control.
> 
> 
> Waiting on startup. Use CTRL-C to exit
> .
> 
> 
> (The service didn't respond on time to the start request)

After this latest attempt, could you again send us the output of bin\omero admin diagnostics and the contents of var\log? One other thing to check is if your previous attempts didn't leave a process running. We usually use Process Explorer ("procexp.exe") available here http://technet.microsoft.com/en-us/sysinternals/bb896653. I've taken a screenshot of a healthy OMERO installation here:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ss-win-procexp-omero.png
Type: image/png
Size: 17297 bytes
Desc: not available
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20121123/0ff0ac52/attachment.png>
-------------- next part --------------


Cheers,
~Josh


> Thanks again,
> Unai
> 
> 
> 
> Blazej Pindelski <b.pindelski at dundee.ac.uk> escribió:
> 
>>> Hi Blazej,
>> 
>> Hi
>> 
>>> I've been running all the commands again as an administrator and I still get the same access error.
>>> 
>>> I'm installing OMERO.server from an account that is not the Administrator user (I suppose it is an standard user account).
>>> 
>>> Could it be a problem?
>>> 
>>> Regars,
>>> Unai
>> 
>> I've noticed you are using two partition letters when setting up OMERO (C:\ and O:\). Maybe the permissions on
>> both these partitions are different?
>> Please also consult the forums (esp. this thread - http://www.openmicroscopy.org/community/viewtopic.php?f=5&t=586).
>> 
>> Regards,
>> Blazej
>> 
>>> 
>>> Blazej Pindelski <b.pindelski at dundee.ac.uk> escribió:
>>> 
>>>>> Dear Blazej,
>>>> 
>>>> Hi Unai,
>>>> 
>>>>> Thanks for your e-mail. I created, by mistake, an enviroment variable called "PYTONPATH" instead of "PYTHONPATH". That's the reason of the error.
>>>>> 
>>>>> I changed that variable and configured the settings for the database.
>>>>> Apparently, I was also able to create the database initialization script, and initialize the database via SQL Shell.
>>>> 
>>>> That's good to hear that you managed to successfully complete this step.
>>>> 
>>>>> 
>>>>> But something is wrong and now I can't start the server with the command 'bin\omero admin start'.
>>>>> 
>>>>> Could you please take a look at the command line? I have also attached the 'admin diagnostics' command, in case you need it.
>>>>> 
>>>>> 
>>>>> O:\omero_dist>bin\\omero admin diagnostics
>>>>> 
>>>>> ================================================================================
>>>>> 
>>>>> OMERO Diagnostics 4.4.4-ice34-b3099
>>>>> ================================================================================
>>>>> 
>>>>> 
>>>>> Commands:   java -version                  1.7.0     (C:\Windows\system32\java.E
>>>>> XE)
>>>>> Commands:   python -V                      2.6.6     (C:\Python26\python.EXE)
>>>>> Commands:   icegridnode --version          3.4.2     (C:\Program Files\ZeroC\Ice
>>>>> -3.4.2\bin\icegridnode.EXE)
>>>>> Commands:   icegridadmin --version         3.4.2     (C:\Program Files\ZeroC\Ice
>>>>> -3.4.2\bin\icegridadmin.EXE)
>>>>> Commands:   psql --version                 not found
>>>>> 
>>>>> Server:     icegridnode                    not started
>>>>> 
>>>>> Log dir:    O:\omero_dist\var\log          exists
>>>>> 
>>>>> Log files:  Blitz-0.log                    n/a
>>>>> Log files:  DropBox.log                    n/a
>>>>> Log files:  FileServer.log                 n/a
>>>>> Log files:  Indexer-0.log                  n/a
>>>>> Log files:  MonitorServer.log              n/a
>>>>> Log files:  OMEROweb.log                   n/a
>>>>> Log files:  Processor-0.log                n/a
>>>>> Log files:  Tables-0.log                   n/a
>>>>> Log files:  TestDropBox.log                n/a
>>>>> Log files:  Total size                     0.00 MB
>>>>> 
>>>>> Error while parsing logs
>>>>> 
>>>>> Environment:OMERO_HOME=(unset)
>>>>> Environment:OMERO_NODE=(unset)
>>>>> Environment:OMERO_MASTER=(unset)
>>>>> Environment:PATH=C:\Windows\system32\cmd.exe;C:\Program Files\ZeroC\Ice-3.4.2\bi
>>>>> n;C:\Python26;C:\Program Files\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\Sy
>>>>> stem32\Wbem;C:\Program Files\Intel\DMIX;C:\Windows\System32\Windows System Resou
>>>>> rce Manager\bin;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Pan
>>>>> da Security\WaAgent\Common;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Window
>>>>> s\system32\cmd.exe
>>>>> Environment:ICE_HOME=(unset)
>>>>> Environment:LD_LIBRARY_PATH=(unset)
>>>>> Environment:DYLD_LIBRARY_PATH=(unset)
>>>>> 
>>>>> OMERO data dir: 'P:\OMERO'      Exists? True    Is writable? True
>>>>> OMERO.web status... [NOT STARTED]
>>>>> 
>>>>> 
>>>>> O:\omero_dist>bin\\omero admin start
>>>>> No descriptor given. Using etc\grid\windefault.xml
>>>>> Traceback (most recent call last):
>>>>> File "O:\omero_dist\bin\\omero", line 123, in <module>
>>>>>  rv = omero.cli.argv()
>>>>> File "O:\omero_dist\lib\python\omero\cli.py", line 1184, in argv
>>>>>  cli.invoke(args[1:])
>>>>> File "O:\omero_dist\lib\python\omero\cli.py", line 734, in invoke
>>>>>  stop = self.onecmd(line, previous_args)
>>>>> File "O:\omero_dist\lib\python\omero\cli.py", line 803, in onecmd
>>>>>  self.execute(line, previous_args)
>>>>> File "O:\omero_dist\lib\python\omero\cli.py", line 883, in execute
>>>>>  args.func(args)
>>>>> File "O:\omero_dist\lib\python\omero\plugins\prefs.py", line 68, in open_and_c
>>>>> lose_config
>>>>>  return func(*args, **kwargs)
>>>>> File "O:\omero_dist\lib\python\omero\plugins\admin.py", line 419, in start
>>>>>  self.startasync(args, config)
>>>>> File "O:\omero_dist\lib\python\omero\plugins\prefs.py", line 68, in open_and_c
>>>>> lose_config
>>>>>  return func(*args, **kwargs)
>>>>> File "O:\omero_dist\lib\python\omero\plugins\admin.py", line 381, in startasyn
>>>>> c
>>>>>  output = self._query_service(svc_name)
>>>>> File "O:\omero_dist\lib\python\omero\plugins\admin.py", line 225, in _query_se
>>>>> rvice
>>>>>  hscm = win32service.OpenSCManager(None, None, win32service.SC_MANAGER_ALL_AC
>>>>> CESS)
>>>>> pywintypes.error: (5, 'OpenSCManager', 'Acceso denegado.')
>>>> 
>>>> The 'Acceso denegado.' message indicates that the Python process doesn't have sufficient permissions
>>>> to modify the Windows Services configuration. Please make sure that you are running 'bin\omero' in
>>>> a Command Prompt started from the Administrator user account ('Run as Administrator...').
>>>> 
>>>>> 
>>>>> Thanks,
>>>>> Unai
>>>> 
>>>> Regards,
>>>> Blazej



More information about the ome-users mailing list