Two RT intances in two Apache servers in the same box.Is it possible?

Marc Boix wrote:

Hi guys,

I?m setting up a second RT instance, for testing, in the same box where we
have the production RT instance.
Often, we need stop and restart the Apache server to show the most recent
changes, but we can?t to do this with the production site. So, I?ve
installed another Apache server (both Apache/1.3.31) and another instance of
RT (3.0.10 for production and 3.0.11 for testing).

Food. You needed to do that anyway in order to have two instances of RT. You cannot
serve two instances from one Web server, because Mason caches compiled pages.

The production RT instance runs still great, but RT test instance causes
always an ?Internal Server Error?.

Can you send a snippet from your Apache error log and also RT error log? What do
they say?

When, from RT_Siteconfig,

YOu mean httpd.conf, yes?

Jan

I erase a line

SetHandler perl-script PerlHandler RT::Mason �erased! I can see the index.html page (but not compiled with Mason?), so I imagine than the error comes from this sentence.

After googeling, search in wiki page (there is
Request Tracker Wiki but the two
instances have the same Apache server) and search in users list, I?ve found
an error with mason permissions who return �Internal Server Error � too
(http://perl.org.il/pipermail/perl/2004-January/003972.html), but I think my
case isn?t a permissions problem.

Finally, I?m completely lost?
Any ideas?

---- Configuration:
Debian Woody Kernel 2.4
Apache/1.3.31
mod_perl/1.29
RT 3.0.11

---- Apache relevant configuration:

ServerName mydomain
DocumentRoot /opt/test/rt3/share/html
ErrorLog /opt/test/rt3/var/log/error_log
TransferLog /opt/test/rt3/var/log/access_log
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /opt/test/rt3/bin/webmux.pl

<Location />
    SetHandler perl-script
    PerlHandler RT::Mason
</Location>

---- Tail of the error_log:
[Mon Jun 21 17:47:57 2004] [notice] caught SIGTERM, shutting down
[Mon Jun 21 17:48:03 2004] [notice] Apache/1.3.31 (Unix) mod_perl/1.29
configured – resuming normal operations
[Mon Jun 21 17:48:03 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)

---- Web interface
Internal Server Error (500)
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact?

Thanks a lot!

Marc


Marc Boix i Ricart
Dept. de Comunicacions
E-mail: mboix@cesca.es
Tf: 93 205.64.64 - ext 4454
CESCA (Centre de Supercomputaci� de Catalunya)
http://www.cesca.es


The rt-users Archives

RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited.

Jan Algermissen http://www.topicmapping.com
Consultant & Programmer http://www.gooseworks.org

The production RT instance runs still great, but RT test instance causes
always an ?Internal Server Error?.

Can you send a snippet from your Apache error log and also RT error log?
What do
they say?

I was working at 7:00 PM, too much later :stuck_out_tongue_winking_eye:
I didn’t watch the RT error log, because I was pretty sure than it was an
Apache problem…
Actually, it was a mistake in RT_Siteconfig!

So, two RT instances with two Apache(+mod_perl) servers work wonderful in
the same box.

Thanks very much!
Marc