We're Hiring!

OMERO.web error: .lock file being used by another process

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.

Re: OMERO.web error: .lock file being used by another proces

Postby VPrevosto » Tue Jul 28, 2015 11:24 pm

Hi Simon,
thanks for your reply.
The reason I tried omero web start is because the web server was apparently not running (as shown in omero diagnostics). Looking at omero web's help, I saw its restart function, I thought this could help -it did not ^^
Here's the output of omero config get --hide-password
Code: Select all
omero.data.dir=D:\\OmeroBinaries
omero.db.name=omero_database
omero.db.pass=********
omero.db.user=omero_user
omero.jvmcfg.max_system_memory=48000
omero.jvmcfg.percent.pixeldata=50
omero.jvmcfg.system_memory=60000
omero.pixeldata.threads=4
omero.web.cache_backend=file://C:/temp/


As for the command I used to install Omero and IIS, I just followed the sysadmin's procedure for Omero 5.1 (setting omero.db.name / omero.db.user / omero.db.pass, initializing the database then changing JVM settings)

If I browse to the Omero website (http://localhost/omero) I get an HTTP Error 500 documented here:
https://support.microsoft.com/en-us/kb/942031 . Since I'm running IIS 6.2, this information might also be relevant: https://support.microsoft.com/en-us/kb/311852. Would upgrading to IIS 7 help?
Thanks for your help.
Vincent
P.S.: just to be clear, omero.insight works, I just have trouble with the web server.
VPrevosto
 
Posts: 15
Joined: Wed Feb 25, 2015 12:42 am

Re: OMERO.web error: .lock file being used by another proces

Postby atarkowska » Wed Jul 29, 2015 9:26 am

Hi Vincent,

For IIS you do not use any of web start/stop commands. All should be handled from IIS Manager.
To be sure all unwanted fastcgi processes are killed stop everything first including omero (because it installs itself as a windows service).

Just try
Code: Select all
bin\omero admin stop
bin\omero web stop

In the worse case you may need to reboot the whole server but that shouldn't be necessary.

Stop IIS Default Web Site

Remove IIS config:
Code: Select all
bin\omero web iis --remove

Check if both entries: omero and static disappeared.

Start OMERO
Code: Select all
bin\omero admin start
bin\omero web iis


Start IIS Default Web Site

I hope that will help.
Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: OMERO.web error: .lock file being used by another proces

Postby VPrevosto » Wed Jul 29, 2015 2:27 pm

Thanks Ola for the step-by-step procedure. It did not work at first, but in combination with disabling 32 bit support in IIs (as mentioned by previous contributors), it now works perfectly.
Thanks a lot for your patient help!
VPrevosto
 
Posts: 15
Joined: Wed Feb 25, 2015 12:42 am

Re: OMERO.web error: .lock file being used by another proces

Postby manics » Wed Jul 29, 2015 3:18 pm

Which isapi_wsgi package did you install- 32 or 64 bit?
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: OMERO.web error: .lock file being used by another proces

Postby VPrevosto » Wed Jul 29, 2015 4:08 pm

I did not realize there was a 64 bit isapi_wsgi package available. I was initially upgrading my Omero installation to 5.1, and didn't re-install isapi_wsgi. I did so later, just to be on the safe side, using the one linked from Omero's instruction page: https://code.google.com/p/isapi-wsgi/downloads/list.
Should I build a more recent version from https://github.com/hexdump42/isapi-wsgi ?
VPrevosto
 
Posts: 15
Joined: Wed Feb 25, 2015 12:42 am

Re: OMERO.web error: .lock file being used by another proces

Postby manics » Wed Jul 29, 2015 4:54 pm

The one linked from http://www.openmicroscopy.org/site/supp ... #using-iis is the one we've tested. Did you install it with
Code: Select all
python setup.py install


If so this should've worked.
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: OMERO.web error: .lock file being used by another proces

Postby VPrevosto » Wed Jul 29, 2015 5:15 pm

It is that one, and I installed it with python setup.py install. But my omero.web access only works if I disallow 32 bit support in IIS.
VPrevosto
 
Posts: 15
Joined: Wed Feb 25, 2015 12:42 am

Re: OMERO.web error: .lock file being used by another proces

Postby manics » Wed Jul 29, 2015 5:20 pm

I'm not sure what's going on then. At least it's working!
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest