Page 1 of 2
Can't access web console 500 error
Posted:
Fri Jan 21, 2011 9:26 pm
by pwnage
Hey guys,
I just upgraded and all is well with the remote clients and DB. I'm having trouble though with the web consoles for Omero. I'm on a Win 7 VM using IIS. All the ports are open and the strange thing is I had it working before. This is the spicific error I'm getting:
"500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
A server error occurred. Please contact the administrator."
I looked over the logs and didn't find anything.
Re: Can't access web console 500 error
Posted:
Fri Jan 21, 2011 9:41 pm
by pwnage
New development. Now the clients don't work. This might be unrelated but I figure I would throw it out there anyway.
- Code: Select all
c:\OMERO>bin\omero web syncmedia
Traceback (most recent call last):
File "c:\OMERO\bin\\omero", line 123, in <module>
rv = omero.cli.argv()
File "c:\OMERO\lib\python\omero\cli.py", line 1151, in argv
cli.invoke(args[1:])
File "c:\OMERO\lib\python\omero\cli.py", line 704, in invoke
stop = self.onecmd(line, previous_args)
File "c:\OMERO\lib\python\omero\cli.py", line 773, in onecmd
self.execute(line, previous_args)
File "c:\OMERO\lib\python\omero\cli.py", line 853, in execute
args.func(args)
File "c:\OMERO\lib\python\omero\plugins\web.py", line 190, in syncmedia
os.remove(os.path.abspath(location / 'media' / app))
WindowsError: [Error 5] Access is denied: u'c:\\OMERO\\lib\\python\\omeroweb\\me
dia\\webgateway'
Re: Can't access web console 500 error
Posted:
Fri Jan 21, 2011 9:44 pm
by atarkowska
Hi,
Could you please give more details, how did you get through the installation steps listed on
http://www.openmicroscopy.org.uk/site/support/omero4/server/install_web#section-5Did you face any problems?
Ola
Re: Can't access web console 500 error
Posted:
Fri Jan 21, 2011 9:47 pm
by atarkowska
Did you try to run it as an administrator?
Ola
Re: Can't access web console 500 error
Posted:
Fri Jan 21, 2011 10:07 pm
by pwnage
I didn't run this because I was unsure what I was using I'm assuming that I'm using the default.
- Code: Select all
bin/omero config set omero.web.application_server "fastcgi-tcp" / "fastcgi" / "development"
I did run these:
I entered in my domain name in place of the "mydomain." I then try changing it back after every thing blew up.
- Code: Select all
bin/omero config set omero.web.application_host "http://mydomain.com:80/"
I left this one at the default.
- Code: Select all
bin/omero config set omero.web.server_list '[["prod.a.com", 4064, "prod"], ["dev.a.com", 4064, "dev"]]'
I didn't run into any errors when getting everything setup. It went pretty smoothly actually.
You mean run cmd as admin? Yeah I did. I tend to do that for anything I do in cmd.
Re: Can't access web console 500 error
Posted:
Fri Jan 21, 2011 10:13 pm
by pwnage
Clients are working again. I rebooted omero with bin\omero admin stop / start. I have no idea if it will fail again. I'm going to test a bit more. Though the web stuff is still an issue.
Re: Can't access web console 500 error
Posted:
Fri Jan 21, 2011 10:14 pm
by pwnage
Broke again. Seems like the client is only good for one login and then it tanks the server. I also have tried to start the web server with bin\omero web start. That gives me:
Starting OMERO.web...
WARNING: Unless you **really** know what you are doing you should NOT be using bin\omero web start on Windows with FastCGI.
[OK]
Re: Can't access web console 500 error
Posted:
Sat Jan 22, 2011 8:40 am
by jmoore
Are you still attempting to use IIS? If so, you don't need to run bin\omero web start. IIS will start the processes itself.
~Josh
Re: Can't access web console 500 error
Posted:
Mon Jan 24, 2011 4:36 pm
by pwnage
Yeah I'm still trying to use IIS.
Re: Can't access web console 500 error
Posted:
Mon Jan 24, 2011 5:29 pm
by pwnage
Alright so I found part of the problem on why I couldn't hit the web console. I had ran a .net update and something in there got messed up. I reinstalled IIS and I can now see the console but am not able to log in.