From owner-freebsd-questions@FreeBSD.ORG Fri Aug 3 10:29:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A125D106564A for ; Fri, 3 Aug 2012 10:29:28 +0000 (UTC) (envelope-from liweitian@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5E4D18FC0A for ; Fri, 3 Aug 2012 10:29:28 +0000 (UTC) Received: by qcsg15 with SMTP id g15so315328qcs.13 for ; Fri, 03 Aug 2012 03:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=InaK7j3Imf7ZJ88hh4gARbHw7yN3gRtiJfgVl5iiQj4=; b=b6X6pX3Sci5+i+KkIv6/kNXYkT5MDdup3eZ3AfZIHyx8psOmUYDKYdeu2g6NP+djN7 ciGTSQqUWKguk/jHSjAXVb5CdO9yyrH9STGq6E88C5N6wOtaJ3qeA78tTbs7I2Z5bPXk 0bYED5pz48KdIXbUQYub5rijzRdl7fP3grLcKYciHjFx6hTt3jFTAFhx1/J7Ll32eXzY Up1uS1tCwP0SqMOa12t1QVFq7v4cJuiYuFWiFTEU023znGWK5Ij4H6duGZbiIio8r7QQ mFSXeGFxx4LUlLtzc/DEaRMtUOE73xDYIsnRciDE5ifjYOckVvulKyk1vd64tkHeHHKX MXFw== MIME-Version: 1.0 Received: by 10.229.134.200 with SMTP id k8mr524306qct.135.1343989767384; Fri, 03 Aug 2012 03:29:27 -0700 (PDT) Received: by 10.49.104.227 with HTTP; Fri, 3 Aug 2012 03:29:27 -0700 (PDT) Date: Fri, 3 Aug 2012 17:29:27 +0700 Message-ID: From: Roby Sadeli To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: installing rt40 from ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 10:29:28 -0000 Hi. I am planning to deploy rt40 (sqlite backend) with nginx (fastcgi). (nginx-devel and rt40 from /usr/ports) After installing rt40, I setup the initial database by executing /usr/local/sbin/rt-setup-database --action init I have no problem using the standalone server: /usr/local/bin/standalone_httpd and rt40 works as expected. I have tried setting up rt40 using nginx with no success. I try running fcgi from command line: /usr/local/bin/spawn-fcgi -n -u www -g rt -p 9000 -- /usr/local/sbin/rt-server.fcgi but always starts for a moment, then crashes. My nginx.conf is as follows: location /rt/ { root /usr/local/share/rt40/html; fastcgi_pass 127.0.0.1:9000; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param PATH_INFO $fastcgi_script_name; } # location /rt/ location /rt/NoAuth/ { alias /usr/local/share/rt40/html/NoAuth/; } # location /rt/NoAuth/ Please help me. Thanks. Fyi, my system is: FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64