From olio-user-return-371-apmail-incubator-olio-user-archive=incubator.apache.org@incubator.apache.org Mon May 24 22:39:42 2010 Return-Path: Delivered-To: apmail-incubator-olio-user-archive@minotaur.apache.org Received: (qmail 93811 invoked from network); 24 May 2010 22:39:42 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 May 2010 22:39:42 -0000 Received: (qmail 77653 invoked by uid 500); 24 May 2010 22:39:42 -0000 Delivered-To: apmail-incubator-olio-user-archive@incubator.apache.org Received: (qmail 77636 invoked by uid 500); 24 May 2010 22:39:42 -0000 Mailing-List: contact olio-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: olio-user@incubator.apache.org Delivered-To: mailing list olio-user@incubator.apache.org Received: (qmail 77628 invoked by uid 99); 24 May 2010 22:39:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 May 2010 22:39:42 +0000 X-ASF-Spam-Status: No, hits=4.7 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brgsousa@gmail.com designates 74.125.83.175 as permitted sender) Received: from [74.125.83.175] (HELO mail-pv0-f175.google.com) (74.125.83.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 May 2010 22:39:36 +0000 Received: by pvc30 with SMTP id 30so301243pvc.6 for ; Mon, 24 May 2010 15:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=rchLOtwRRw1JrNUy51zHB/ghyWpA3ZwmV0WxJkJ5NyE=; b=KaN8syG3C3+rHVwjX31bIen+HIkiRUr5KdjfxqAfhiL76NKABmdOgrBxdpsNm0D+6z ZWmlZXgiKIyb0QVMKjTMxGD4RPMLOM/bKZeRE7SrU7MDMtXb6Rzfv5dqjuTk/L50eLRR NtMTNbWeMaGjIGMUmm/RZJD2/2oLH9fhVFUOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=vdmJ0gBWSTlQBcSB0NwGLdc5vSarTmYCDopHv3vEr3BU9IELY+kjBLgcRmptQNliBQ 4qTKfjVyHfUz4cFFKlCc1Hffix3bF0TL/0r3YKEcVXDdVPf3oj+Cuzx4cbjk2BLa6kZi +2PRll89m7q2YlgPqJRENE3hTDaGoxzkp1Tmg= Received: by 10.115.85.35 with SMTP id n35mr5385753wal.227.1274740754121; Mon, 24 May 2010 15:39:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.115.47.12 with HTTP; Mon, 24 May 2010 15:38:54 -0700 (PDT) In-Reply-To: References: From: =?ISO-8859-1?Q?Bruno_Guimar=E3es_Sousa?= Date: Mon, 24 May 2010 19:38:54 -0300 Message-ID: Subject: Re: Olio (rails) + FCGI To: olio-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e64dc986d4853604875eb54b X-Virus-Checked: Checked by ClamAV on apache.org --0016e64dc986d4853604875eb54b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is RubyInline ONLY used by image_science? Or is it used by other parts of the olio's code? -- Bruno Guimar=E3es Sousa www.ifba.edu.br PONTONET - DGTI - IFBA Ci=EAncia da Computa=E7=E3o UFBA Registered Linux user #465914 2010/5/24 Bruno Guimar=E3es Sousa > Nice! That really worked with Lighttpd. > Isn't there a solution for more web servers with the same problem? > Tried to set this line: > ENV['"INLINEDIR'] ||=3D '/export/faban/olio_rails/olioapp/tmp' > into *environment.rb* and *environments/production.rb* files but it didn'= t > work. > > regards, > > -- > Bruno Guimar=E3es Sousa > www.ifba.edu.br > PONTONET - DGTI - IFBA > Ci=EAncia da Computa=E7=E3o UFBA > Registered Linux user #465914 > > > On Sat, May 22, 2010 at 3:13 PM, Amanda Waite > wrote: > >> Hi Bruno, >> >> I've done lots of testing with Olio Rails with Lighttpd and FCGI. It wor= ks >> well once you have everything setup. The error messages you've posted >> suggest that the fastcgi backends aren't running or that they are crashi= ng >> on startup. Are you starting the backends manually or is lighttpd starti= ng >> them for you? Is there anything in the Olio application log files? >> >> One of the biggest issues with the backends is setting up image_science >> ruby_inline to work correctly, I blogged about this here: >> http://blogs.sun.com/mandy/category/Lighttpd >> >> Amanda >> >> 2010/5/22 Bruno Guimar=E3es Sousa >> >> Hi ! >>> Did anyone get olio (rails) working with FCGI? >>> >>> Trying to deploy Olio with lighttpd + ruby 1.8.7 + ruby-fcgi and had no >>> success yet. >>> dispatch.fcgi file is correctly placed and has execution permission. >>> >>> I'm getting *500 - Internal Server Error* >>> >>> LOGS: >>> 2010-05-22 11:32:38: (mod_fastcgi.c.1734) connect failed: Connection >>> refused on unix:/tmp/ruby-rails.socket-4 >>> 2010-05-22 11:32:38: (mod_fastcgi.c.3037) backend died; we'll disable i= t >>> for 1 seconds and send the request to another backend instead: reconnec= ts: 0 >>> load: 1 >>> 2010-05-22 11:32:39: (mod_fastcgi.c.2582) unexpected end-of-file (perha= ps >>> the fastcgi process died): pid: 29184 socket: unix:/tmp/ruby-rails.sock= et-4 >>> 2010-05-22 11:32:39: (mod_fastcgi.c.3367) response not received, reques= t >>> sent: 938 on socket: unix:/tmp/ruby-rails.socket-4 for /dispatch.fcgi?, >>> closing connection >>> >>> >>> The same configuration with another rails app, it DID work. >>> >>> -- >>> Bruno Guimar=E3es Sousa >>> www.ifba.edu.br >>> PONTONET - DGTI - IFBA >>> Ci=EAncia da Computa=E7=E3o UFBA >>> Registered Linux user #465914 >>> >> >> > --0016e64dc986d4853604875eb54b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is RubyInline ONLY used by image_science? Or is it used by other parts of t= he olio's code?

--
Bruno Guimar=E3es Sousa
<= a href=3D"http://www.ifba.edu.br">www.ifba.edu.br
PONTONET - DGTI - = IFBA
Ci=EAncia da Computa=E7=E3o UFBA
Registered Linux user #465914


2010/5/24 Bruno Guimar=E3es Sousa <brgsousa@gmail.com>
Nice! That really worked with Lighttpd.
Isn't there a solution for m= ore web servers with the same problem?
Tried to set this line:
ENV[&#= 39;"INLINEDIR'] ||=3D '/export/faban/olio_rails/olioapp/tmp= 9;
into environment.rb and environments/production.rb files but = it didn't work.

regards,

--Bruno Guimar=E3es Sousa
www.ifba.edu.br
PONTONET - DGTI - IFBA
Ci=EAncia da Computa=E7=E3o UFBA
Registered Linux user #465914


= On Sat, May 22, 2010 at 3:13 PM, Amanda Waite <amandarwaite@goog= lemail.com> wrote:
Hi Bruno,

I've done lots of testing with Olio Rails with Lighttp= d and FCGI. It works well once you have everything setup. The error message= s you've posted suggest that the fastcgi backends aren't running or= that they are crashing on startup. Are you starting the backends manually = or is lighttpd starting them for you? Is there anything in the Olio applica= tion log files?

One of the biggest issues with the backends is setting up image_science= ruby_inline to work correctly, I blogged about this here: http://blogs.sun= .com/mandy/category/Lighttpd

Amanda

2010/5/22 Bruno Guimar=E3es So= usa <brgsousa@gmail.com>

Hi !
Did anyone get olio (rails) working with FCGI?

Trying to dep= loy Olio with lighttpd + ruby 1.8.7 + ruby-fcgi and had no success yet.
= dispatch.fcgi file is correctly placed and has execution permission.

I'm getting 500 - Internal Server Error

LOGS:
2010= -05-22 11:32:38: (mod_fastcgi.c.1734) connect failed: Connection refused on= unix:/tmp/ruby-rails.socket-4
2010-05-22 11:32:38: (mod_fastcgi.c.3037)= backend died; we'll disable it for 1 seconds and send the request to a= nother backend instead: reconnects: 0 load: 1
2010-05-22 11:32:39: (mod_fastcgi.c.2582) unexpected end-of-file (perhaps t= he fastcgi process died): pid: 29184 socket: unix:/tmp/ruby-rails.socket-4<= br>2010-05-22 11:32:39: (mod_fastcgi.c.3367) response not received, request= sent: 938 on socket: unix:/tmp/ruby-rails.socket-4 for /dispatch.fcgi?, cl= osing connection


The same configuration with another rails app, it DID work.

--
Bruno Guimar=E3es Sousa
www.ifba.edu.br
PON= TONET - DGTI - IFBA
Ci=EAncia da Computa=E7=E3o UFBA
Registered Linux user #465914

<= /div>


--0016e64dc986d4853604875eb54b--