From owner-freebsd-questions@FreeBSD.ORG Fri Aug 3 10:49:52 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C71C71065670 for ; Fri, 3 Aug 2012 10:49:52 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id EBB968FC08 for ; Fri, 3 Aug 2012 10:49:51 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5-x) with ESMTP id q73AnhsY005261 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 3 Aug 2012 11:49:43 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q73AnhsY005261 Authentication-Results: smtp.infracaninophile.co.uk/q73AnhsY005261; dkim=none (no signature); dkim-adsp=none Message-ID: <501BACBD.9010206@FreeBSD.org> Date: Fri, 03 Aug 2012 11:49:33 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org References: In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig08EECDD4F8D8D1BE3AD0A180" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Subject: Re: 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:49:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig08EECDD4F8D8D1BE3AD0A180 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/08/2012 11:29, Roby Sadeli wrote: > I am planning to deploy rt40 (sqlite backend) with nginx (fastcgi). > (nginx-devel and rt40 from /usr/ports) Sqlite is really only suitable for development usage: RT expects a more fully featured database that supports concurrent usage by several instances simultaneously. This may well be the problem you're seeing when trying to fire up spawn-fcgi, if that is trying to run several fcgi threads. Personally I prefer and recommend postgresql as the backend to RT. > After installing rt40, I setup the initial database by executing > /usr/local/sbin/rt-setup-database --action init >=20 > I have no problem using the standalone server: > /usr/local/bin/standalone_httpd and rt40 works as expected. >=20 > 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. Does it generate a core file? Is there anything relevant in the Log? If necessary, try turning up the log level in ${LOCALBASE}/etc/rt40/RT_SiteConfig.pm -- Set($LogToSyslog, "debug"); and possibly enable the 'all.log' by following the instructions in /etc/syslog.conf Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig08EECDD4F8D8D1BE3AD0A180 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAbrMYACgkQ8Mjk52CukIwTpwCdFRcNAdOnMN7a+8Bu4QaG5xHh NcAAoI1gVD6Ua9SNOS+g+1W1rMGX8icV =107A -----END PGP SIGNATURE----- --------------enig08EECDD4F8D8D1BE3AD0A180--