From owner-freebsd-questions@FreeBSD.ORG Sat May 7 06:33:49 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1391A16A4D8 for ; Sat, 7 May 2005 06:33:49 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8DFF43D1D for ; Sat, 7 May 2005 06:33:48 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so660193nzo for ; Fri, 06 May 2005 23:33:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TrULywaMdEtElRJQSneyPnM6+gy1jHh5mqj8FcAhWtkAFAj1qFWOLW9GfyZrzVG+9U8CnV4EyWUkq5IygfDKF4CFWIjJ8Gko8IAIOZ8PoN40iYNAD1A4JSbxzf3pubXcdLBGwvs9A2W3I5w9Ox/XpzWDBBqtllgBB0LlAL26HRQ= Received: by 10.36.32.10 with SMTP id f10mr802792nzf; Fri, 06 May 2005 23:33:48 -0700 (PDT) Received: by 10.36.48.9 with HTTP; Fri, 6 May 2005 23:33:48 -0700 (PDT) Message-ID: <810a540e050506233354db1401@mail.gmail.com> Date: Sat, 7 May 2005 00:33:48 -0600 From: Pat Maddox To: FreeBSD Questions In-Reply-To: <810a540e050506231311654663@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <810a540e050506231311654663@mail.gmail.com> Subject: Re: lighttpd + fastcgi socket connection error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pat Maddox List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 06:33:49 -0000 Also, I occasionally get a 500 Internal Server Error, with the following in the logs: 2005-05-07 00:32:01: (mod_fastcgi.c.1921) unexpected end-of-file (perhaps the fastcgi process died): pid: 6342 fcgi-fd: 8 remote-fd: 6 2005-05-07 00:32:01: (mod_fastcgi.c.2743) child exited, pid: 6342 status: 0= =20 2005-05-07 00:32:01: (mod_fastcgi.c.2782) response not sent, request sent: 960 connection-fd: 6 fcgi-fd: 8 On 5/7/05, Pat Maddox wrote: > I've managed to get lighttpd with fastcgi working on FreeBSD 5.3 a > couple times, but every time I restart lighttpd, it doesn't work > anymore. I get the following message in my error log: > 2005-05-06 23:55:05: (mod_fastcgi.c.1466) connect failed: 8 Connection > refused 61 0 /tmp/rails.socket-3 >=20 > I've never been able to figure out what causes that problem. And it > really frustrates me that sometimes it'll run fine, but usually not. > Can anyone tell me how to make it work, and explain to me what's going > on so I know how to do things right in the future? >