[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
Mon Nov 26 09:42:14 GMT 2012


Hi Josh,

Please find attached an image  with all the permissions for O:\ and  
P:\ folders.

As you can see, all the objects have total control over both folders.  
Should I also add "NT AUTHORITY\LocalService" manually, to start the  
server?

Thanks,
Unai


Josh Moore <josh at glencoesoftware.com> escribió:

>
> On Nov 23, 2012, at 6:09 PM, UNAI LORENZO SIERRA wrote:
>
>>
>> Hi Josh,
>
>
> Hi Unai,
>
>> I can't start the service, I got the same previous error.
>> Something is definitely wrong with the OMERO.master service: I  
>> tried to initialize it manually but it didn't succeed either.
>
> I would think we're now back to the situation we were in before.  
> What are the permissions on O:\ and P:\ for "NT  
> AUTHORITY\LocalService"?
>
> Cheers,
> ~Josh.
>
>
>> Please, find attached the screenshot of the service error.
>>
>> I hope it helps.
>>
>>
>> Thanks,
>> Unai
>>
>>
>>
>> Josh Moore <josh at glencoesoftware.com> escribió:
>>
>>>
>>> On Nov 23, 2012, at 4:55 PM, UNAI LORENZO SIERRA wrote:
>>>
>>>> Hi Josh,
>>>
>>> Hi Unai,
>>>
>>>> Since I was having problems with all the permissions I  
>>>> uninstalled all the prerequisites and, after that, installed them  
>>>> again as an administrator.
>>>>
>>>> I believe that something went wrong, because I can't populate the  
>>>> database using SQL Shell:
>>>>
>>>> Server [localhost]:
>>>> Database [postgres]: omero_database
>>>> Port [5432]:
>>>> Username [postgres]: db_user
>>>> Contrase±a para usuario db_user:
>>>> psql (9.2.1)
>>>> ADVERTENCIA: El código de página de la consola (850) difiere del código
>>>>           de página de Windows (1252).
>>>>           Los caracteres de 8 bits pueden funcionar incorrectamente.
>>>>           Vea la página de referencia de psql «Notes for Windows users»
>>>>           para obtener más detalles.
>>>> Digite «help» para obtener ayuda.
>>>>
>>>> omero_database=> \i O:\omero_dist\OMERO4.4__0.sql
>>>> O:: Invalid argument
>>>
>>> This looks primarily like a slash handling issue. Try:
>>>
>>> 	\i 'O:\\omero_dist\\OMERO4.4__0.sql'
>>>
>>> And then try to start the server again if the command succeeds.
>>>
>>> Cheers,
>>> ~Josh.
>>>
>>>
>>>> This is the otput of 'admin diagnostics':
>>>>
>>>>
>>>> O:\omero_dist>bin\omero admin diagnostics
>>>>
>>>> ================================================================================
>>>>
>>>> OMERO Diagnostics 4.4.4-ice34-b3099
>>>> ================================================================================
>>>>
>>>>
>>>> WARNING:omero.util.UpgradeCheck:UPGRADE AVAILABLE:Please upgrade  
>>>> to 4.4.5 See ht
>>>> tp://trac.openmicroscopy.org.uk/omero for the latest version
>>>>
>>>> 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:\Python26;C:\Program  
>>>> Files\PHP\;C:\Windows\system32;C:\Window
>>>> s;C:\Windows\System32\Wbem;C:\Program  
>>>> Files\Intel\DMIX;C:\Windows\System32\Windo
>>>> ws System Resource Manager\bin;C:\Program Files\MySQL\MySQL  
>>>> Server 5.1\bin;C:\Pr
>>>> ogram Files\Panda  
>>>> Security\WaAgent\Common;C:\Windows\System32\WindowsPowerShell\
>>>> v1.0\;C:\Windows\system32\cmd.exe;C:\Program Files\ZeroC\Ice-3.4.2\bin;
>>>> 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]
>>>>
>>>>
>>>> Thanks again,
>>>> Unai
>>>>
>>>>
>>>>
>>>> Josh Moore <josh at glencoesoftware.com> escribió:
>>>>
>>>>> On Nov 23, 2012, at 10:42 AM, UNAI LORENZO SIERRA wrote:
>>>>>>
>>>>>> Dear Josh,
>>>>>
>>>>> Hi Unai,
>>>>>
>>>>>> Please find attached the screenshots of the security settings.
>>>>>> My username is AdmOmero (the one I selected in both screenshots).
>>>>>
>>>>> I think I've tracked down the source of the confusion. Our  
>>>>> Windows documentation [1] doesn't make it clear that the process  
>>>>> is launched as "LocalService" therefore the permissions you've  
>>>>> configured do not suffice. You can see either of these threads  
>>>>> for more discussion of the issue:
>>>>>
>>>>> * https://www.openmicroscopy.org/community/viewtopic.php?f=5&t=424#p1219
>>>>>
>>>>> *  
>>>>> https://www.openmicroscopy.org/community/viewtopic.php?f=5&t=436&start=10
>>>>>
>>>>> Sorry for the hassle!
>>>>> ~Josh.
>>>>>
>>>>> [1]  
>>>>> https://www.openmicroscopy.org/site/support/omero4/sysadmins/windows/server-binary-repository.html#permissions
>>>>> [2] https://trac.openmicroscopy.org.uk/ome/ticket/9938
>>>>>
>>>>>> Cheers,
>>>>>> Unai
>>>>>>
>>>>>>
>>>>>> Josh Moore <josh at glencoesoftware.com> escribió:
>>>>>>
>>>>>>>
>>>>>>> On Nov 23, 2012, at 9:59 AM, UNAI LORENZO SIERRA wrote:
>>>>>>>
>>>>>>>> Hi Josh,
>>>>>>>
>>>>>>> Hi.
>>>>>>>
>>>>>>>> This is the output of 'bin\omero admin diagnostics':
>>>>>>>>
>>>>>>>>
>>>>>>>> O:\omero_dist>bin\omero admin diagnostics
>>>>>>>>
>>>>>>>> ================================================================================
>>>>>>>>
>>>>>>>> OMERO Diagnostics 4.4.4-ice34-b3099
>>>>>>>> ================================================================================
>>>>>>>>
>>>>>>>>
>>>>>>>> WARNING:omero.util.UpgradeCheck:UPGRADE AVAILABLE:Please  
>>>>>>>> upgrade to 4.4.5 See ht
>>>>>>>> tp://trac.openmicroscopy.org.uk/omero for the latest version
>>>>>>>>
>>>>>>>> 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]
>>>>>>>>
>>>>>>>>
>>>>>>>> I can't send you the var\log file because it doesn't exist.
>>>>>>>
>>>>>>> Understood. Could you provide us with a screenshot of the  
>>>>>>> directory security settings for both P:\OMERO and O:\omero_dist?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> ~Josh.
>>>>>>>
>>>>>>>
>>>>>>>> Please, do not hesitate to ask me about any kind of  
>>>>>>>> information in case you need it.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Unai
>>>>>>>>
>>>>>>>>
>>>>>>>> Josh Moore <josh at glencoesoftware.com> escribió:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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: permissions.jpg
Type: image/jpeg
Size: 197211 bytes
Desc: not available
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20121126/e1f50eca/attachment.jpg>


More information about the ome-users mailing list