Page 1 of 1

windows 7 installation problem

PostPosted: Mon Jan 17, 2011 2:32 pm
by mahogny
Hello!

I am stuck on the step below. my user is administrator. I also tried disabling UAC in the control panel to no avail. what else can I try?


============

C:\omero_dist>bin\omero admin start
Creating c:\omero_dist\var\master
Creating c:\omero_dist\var\registry
No descriptor given. Using etc\grid\windefault.xml
Traceback (most recent call last):
File "C:\omero_dist\bin\\omero", line 123, in <module>
rv = omero.cli.argv()
File "C:\omero_dist\lib\python\omero\cli.py", line 1151, in argv
cli.invoke(args[1:])
File "C:\omero_dist\lib\python\omero\cli.py", line 704, in invoke
stop = self.onecmd(line, previous_args)
File "C:\omero_dist\lib\python\omero\cli.py", line 773, in onecmd
self.execute(line, previous_args)
File "C:\omero_dist\lib\python\omero\cli.py", line 853, in execute
args.func(args)
File "C:\omero_dist\lib\python\omero\plugins\prefs.py", line 67, in open_and_c
lose_config
return func(*args, **kwargs)
File "C:\omero_dist\lib\python\omero\plugins\admin.py", line 412, in start
self.startasync(args, config)
File "C:\omero_dist\lib\python\omero\plugins\prefs.py", line 67, in open_and_c
lose_config
return func(*args, **kwargs)
File "C:\omero_dist\lib\python\omero\plugins\admin.py", line 374, in startasyn
c
output = self._query_service(svc_name)
File "C:\omero_dist\lib\python\omero\plugins\admin.py", line 218, in _query_se
rvice
hscm = win32service.OpenSCManager(None, None, win32service.SC_MANAGER_ALL_AC
CESS)
pywintypes.error: (5, 'OpenSCManager', 'Access is denied.')


==============

C:\omero_dist>bin\omero admin diagnostics

================================================================================

OMERO Diagnostics Beta4.2.2-r8718-Beta4.2-b56
================================================================================


Commands: java -version 1.6.0 (C:\Windows\system32\java.E
XE)
Commands: python -V 2.5.5 (C:\Python25\python.EXE)
Commands: icegridnode --version 3.3.1 (C:\Ice-3.3.1\bin\icegridno
de.EXE)
Commands: icegridadmin --version 3.3.1 (C:\Ice-3.3.1\bin\icegridad
min.EXE)
Commands: psql --version not found

Server: icegridnode not started

Log dir: C:\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 0.0 KB
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:\Python25\;C:\Windows\system32;C:\Windows;C:\Windows\System32
\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common
Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\1
0.0\DLLShared\;C:\Ice-3.3.1\bin
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)

OMERO data dir: 'x:\\omero' Exists? True Is writable? True
OMERO.web status... [NOT STARTED]



===========================

Re: windows 7 installation problem

PostPosted: Tue Jan 18, 2011 1:30 pm
by jmoore
Has anyone else on the forums seen this? Just searching I turned up possible fixes:

However, if you are going to manually change the properties on the service, you will probably want to read about how to prevent the service from being deleted on each shutdown:

https://www.openmicroscopy.org/community/viewtopic.php?f=5&t=477&p=1818&hilit=sc.exe#p1818

In the meantime, we'll see if we can reproduce and provide more concrete steps.

Cheers,
~Josh

Re: windows 7 installation problem

PostPosted: Fri Oct 14, 2011 6:35 am
by artx
I have the same problem. OMERO 4.3 on Win 7 64bit,

error as above;

c:\omero_dist>bin\omero admin diagnostics

================================================================================

OMERO Diagnostics 4.3.2-8fc94b85-b2882
================================================================================


Commands: java -version 1.7.0 (C:\Windows\system32\java.E
XE)
Commands: python -V 2.5.6 (C:\Python25\python.EXE)
Commands: icegridnode --version 3.3.1 (C:\Ice-3.3.1\bin\icegridno
de.EXE)
Commands: icegridadmin --version 3.3.1 (C:\Ice-3.3.1\bin\icegridad
min.EXE)
Commands: psql --version not found

Server: icegridnode not started

Log dir: c:\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 0.0 KB
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:\Python25\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Co
mmon;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ESTsoft\ALZip\;C:\Ice-3.3.1\bin;
C:\Program Files (x86)\ESTsoft\ALZip\
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)

OMERO data dir: '/OMERO' Exists? True Is writable? True
OMERO.web status... [NOT STARTED]




how to fix it?
Thanks!

Re: windows 7 installation problem

PostPosted: Thu Oct 20, 2011 3:09 pm
by jmoore
Hi Art,

you will likely need to open the console when launching OMERO via "Run as administrator". We've had reports of similar issues elsewhere, and we'll be updating the installation and upgrade manuals with details.

Sorry for any confusion.
~Josh.

See: https://trac.openmicroscopy.org.uk/ome/ticket/7055