Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2012 11:49:33 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: installing rt40 from ports
Message-ID:  <501BACBD.9010206@FreeBSD.org>
In-Reply-To: <CAHNgfndArCetkByOcBgXUHog1u_HnQpaXKNgzg=DfsiJc=Dx9Q@mail.gmail.com>
References:  <CAHNgfndArCetkByOcBgXUHog1u_HnQpaXKNgzg=DfsiJc=Dx9Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501BACBD.9010206>