We're Hiring!

omero.web fails after upgrading to 4.3.1

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 fails after upgrading to 4.3.1

Postby jacques2020 » Mon Jul 18, 2011 2:10 pm

jacques2020
 
Posts: 102
Joined: Fri Jul 15, 2011 7:46 am

Re: omero.web fails after upgrading to 4.3.1

Postby atarkowska » Mon Jul 18, 2011 3:55 pm

I do not see anything wrong with application and config and it seams that Django process started without any issues. Your logfile says that last time you restarted the omero.web application on Thu, 14 Jul 2011 22:57:34 root INFO Application Starting..., then you were attempting to log in on Fri, 15 Jul 2011 09:45:10 but you were using wrong password
Code: Select all
Fri, 15 Jul 2011 09:45:10 blitz_gateway DEBUG    Error: exception ::Glacier2::PermissionDeniedException
{
    reason = Password check failed
}

That suggests that application was working until Fri Jul 15 10:34:00 2011 [error] [client 129.20.155.106] FastCGI: incomplete headers (0 bytes). But in the meantime omero server was restarted few times.

I am not sure what caused 500 Internal Server Error but I would suggest double check apache config, delete every *.pyc under omero dir, restart apache and fastcgi processes.

Did you try to google and check if people had similar problems to yours? Try this http://www.google.co.uk/search?q=you%20were%20attempting%20to%20log&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a&source=hp&channel=np#sclient=psy&hl=en&client=firefox-a&rls=org.mozilla:en-GB%3Aofficial&channel=np&source=hp&q=FastCGI:+comm+with+server+aborted%3A+idle+timeout+%2830+sec%29+django&aq=f&aqi=&aql=&oq=&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=e4723f049c2a2d03&biw=1680&bih=780

Thanks
Ola
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: omero.web fails after upgrading to 4.3.1

Postby jacques2020 » Mon Jul 18, 2011 7:09 pm

Hi Ola,

The permission error is just me that misspelled the password. I am unsure to get you well. The server start and I can log on it. I then land in the "home" webpage. Then when I want to switch to userdata page, then the 500 error is triggered. I attach the apache2.conf to be on the safe side. I anyway removed all pyc, restarted omero.web and the problem remains the same.

I tried to google previously and found nothing special about apache. Using your words (django in particular) led me to http://webcache.googleusercontent.com/s ... ogle.co.uk

where they write the text below. The apache daemon is started as root (?) and omero (server and web as jacques). Could it be the issue? (I "chown jacques" and "chmod u+rw" to be sure). Except that, I found nothing obviously appropriate. Would you have suggestions in investigating the issue.

Thanks a lot for your help

Jacques

===================
There is something wrong with your script, and this is its output. Fix the script.

FastCGI: comm with (dynamic) server "/var/www/test/htdocs/app.py" aborted:
(first read) idle timeout (30 sec)

For some reason FastCGI was not able to communicate with your Python script. Possible reasons include a faulty socket (write permission denied or wrong ownership or group), failure in your script to correctly read from the socket or incorrect reading from the socket.
=====================
jacques@cedre-5a:/usr/local/OMERO.server-Current$ ps aux | grep apache
root 3523 0.0 0.0 166328 15288 ? Ss 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3527 0.0 0.0 166904 9276 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3528 0.0 0.0 166984 9320 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3531 0.0 0.0 166984 9308 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3604 0.0 0.0 166992 9336 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3625 0.0 0.0 166904 9164 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3626 0.0 0.0 166904 9164 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3648 0.0 0.0 166904 9164 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3649 0.0 0.0 166904 9164 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 3650 0.0 0.0 166464 8932 ? S 20:59 0:00 /usr/sbin/apache2 -k start
www-data 4067 0.0 0.0 166904 9168 ? S 21:00 0:00 /usr/sbin/apache2 -k start
jacques 5071 0.0 0.0 7548 880 pts/12 S+ 21:04 0:00 grep apache

===========================
Attachments
apache2.conf.zip
(3.51 KiB) Downloaded 151 times
jacques2020
 
Posts: 102
Joined: Fri Jul 15, 2011 7:46 am

Re: omero.web fails after upgrading to 4.3.1

Postby jacques2020 » Mon Jul 18, 2011 7:17 pm

Hi Ola,

I forgot to say that the socket in <omero root>/var is accessible in writing only to user "jacques". Is that the way it is supposed to be for apache / django ?

-rw-r--r-- 1 jacques jacques 5 Jul 18 20:59 django.pid
srwxr-xr-x 1 jacques jacques 0 Jul 14 22:01 django_fcgi.sock

I also attach various log

thank you so much for your help

Jacques
Attachments
OMEROweb.log 2.zip
(53.32 KiB) Downloaded 151 times
apache-error.log.zip
(4.83 KiB) Downloaded 153 times
jacques2020
 
Posts: 102
Joined: Fri Jul 15, 2011 7:46 am

Re: omero.web fails after upgrading to 4.3.1

Postby atarkowska » Tue Jul 19, 2011 9:16 am

Could you also attach other logs from omero/var/log?
atarkowska
 
Posts: 327
Joined: Mon May 18, 2009 12:44 pm

Re: omero.web fails after upgrading to 4.3.1

Postby jacques2020 » Tue Jul 19, 2011 9:41 am

Ola,

Here they are.
There is also errors related to issue investigated here viewtopic.php?f=5&t=750&p=2763#p2763

Thanks for helping

Jacques
Attachments
other_logs.tar.bz2
(23.1 KiB) Downloaded 149 times
Indexer-0.log.part.bz2
(252.71 KiB) Downloaded 146 times
jacques2020
 
Posts: 102
Joined: Fri Jul 15, 2011 7:46 am

Re: omero.web fails after upgrading to 4.3.1

Postby jacques2020 » Tue Jul 19, 2011 9:43 am

and the Blitz log
Attachments
Blitz-0.log.end.bz2
(189.57 KiB) Downloaded 154 times
Blitz-0.log.middle.bz2
(189.75 KiB) Downloaded 149 times
Blitz-0.log.begin.bz2
(163.19 KiB) Downloaded 151 times
jacques2020
 
Posts: 102
Joined: Fri Jul 15, 2011 7:46 am

Re: omero.web fails after upgrading to 4.3.1

Postby jacques2020 » Tue Jul 19, 2011 9:45 am

The last chunk for yesterday evening of Blitz log
Attachments
Blitz-0.log.evening.bz2
(239.23 KiB) Downloaded 149 times
jacques2020
 
Posts: 102
Joined: Fri Jul 15, 2011 7:46 am

Re: omero.web fails after upgrading to 4.3.1

Postby cxallan » Tue Jul 19, 2011 11:09 am

This is highly related to your other thread. Thumbnails are taking many, many minutes to get created which is causing havoc with your system, blocking all available worker threads on your server and causing all of the grief you're seeing in OMERO.web. Until we get the other thread under control for you and find out why your thumbnail generation is taking many, many minutes you're going to continue to have all the issue you see in this thread because the OMERO.web workers cannot even speak to your OMERO.server as it is completely overloaded.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest