We're Hiring!

Windows 2008R2 install failure

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Windows 2008R2 install failure

Postby daviesi123 » Fri Oct 21, 2011 10:07 am

I've tried to install everything in the default locations on Windows 2008R2 but keep having problems with the server not starting. This is the output from bin\omero admin start:

C:\omero_dist>bin\omero admin start
No descriptor given. Using etc\grid\windefault.xml
[SC] StartService FAILED 2:
The system cannot find the file specified.
Waiting on startup. Use CTRL-C to exit
.............................
Failed to startup some components after 5 minutes
Calling "stop" on remaining components
Server not running
C:\omero_dist>


This is the output from bin\omero admin diagnostics:

C:\omero_dist>bin\omero admin diagnostics
================================================================================
OMERO Diagnostics 4.3.3-00d1137e-b2894
================================================================================
Commands: java -version 1.6.0 (C:\Windows\system32\java.EXE)
Commands: python -V 2.5.6 (C:\Python25\python.EXE)
Commands: icegridnode --version 3.3.1 (C:\Ice-3.3.1\bin\icegridnode.EXE)
Commands: icegridadmin --version 3.3.1 (C:\Ice-3.3.1\bin\icegridadmin.EXE)
Commands: psql --version 9.1.1 (C:\PostgreSQL\9.1\bin\psql.EXE)

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 13.0 KB errors=20 warnings=0
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.01 MB

Error while parsing logs

Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:PATH=C:\Python25\;f:\icmhcm\proj_dir\Shared;c:\icmhcm\user_dir\product\6.5\bin;c:\icmhcm\proj_dir\Shared;C:\app\Administrator\product\11.1.0\db_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;
c:\icmhcm\user_dir\product\6.5\fusion;C:\Ice-3.3.1\bin;C:\PostgreSQL\9.1\bin
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]


The OMEROweb.log file contents shows repeating instances of the following text:

Fri, 21 Oct 2011 11:00:17 root ERROR Exception while loading configuration retrying...
Traceback (most recent call last):
File "C:\omero_dist\lib\python\omeroweb\settings.py", line 76, in <module>
CONFIG_XML = omero.config.ConfigXml(CONFIG_XML)
File "C:\omero_dist\lib\python\omero\config.py", line 58, in __init__
portalocker.lock(self.lock, portalocker.LOCK_NB|portalocker.LOCK_EX)
File "C:\omero_dist\lib\python\portalocker.py", line 93, in lock
raise LockException(LockException.LOCK_FAILED, exc_value[2])
LockException: (1, 'The process cannot access the file because another process has locked a portion of the file.')


Please can anyone help with this problem?
Best regards,
Ian
daviesi123
 
Posts: 1
Joined: Fri Oct 21, 2011 9:53 am

Re: Windows 2008R2 install failure

Postby jmoore » Mon Oct 24, 2011 6:33 am

Hi Ian,

daviesi123 wrote:I've tried to install everything in the default locations on Windows 2008R2 but keep having problems with the server not starting. This is the output from bin\omero admin start:

C:\omero_dist>bin\omero admin start
No descriptor given. Using etc\grid\windefault.xml
[SC] StartService FAILED 2:
The system cannot find the file specified.
Waiting on startup. Use CTRL-C to exit
.............................
Failed to startup some components after 5 minutes
Calling "stop" on remaining components
Server not running
C:\omero_dist>


This sounds like icegridnode is not available to the service user. You did add the c:\ice-3.3.1\bin directory to the system path and not the user path? (And restarted afterwards?) Further, I wonder if you need the c:\ice-3.3.1\bin\x64 directory before the c:\ice-3.3.1\bin.

If that doesn't work, you might make sure you're running the console as administrator as discussed in this thread: https://www.openmicroscopy.org/community/viewtopic.php?f=5&t=586

The OMEROweb.log file contents shows repeating instances of the following text:

Fri, 21 Oct 2011 11:00:17 root ERROR Exception while loading configuration retrying...
Traceback (most recent call last):
File "C:\omero_dist\lib\python\omeroweb\settings.py", line 76, in <module>
CONFIG_XML = omero.config.ConfigXml(CONFIG_XML)
File "C:\omero_dist\lib\python\omero\config.py", line 58, in __init__
portalocker.lock(self.lock, portalocker.LOCK_NB|portalocker.LOCK_EX)
File "C:\omero_dist\lib\python\portalocker.py", line 93, in lock
raise LockException(LockException.LOCK_FAILED, exc_value[2])
LockException: (1, 'The process cannot access the file because another process has locked a portion of the file.')


This is a result of the server not starting and can be ignored until bin\omero admin start successfully passes.

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest