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

UNAI LORENZO SIERRA ulorenzo001 at ikasle.ehu.es
Wed Nov 14 12:41:33 GMT 2012


Hi Blazej,

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


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
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
>
>







More information about the ome-users mailing list