[rt-users] Two RT intances in two Apache servers in the same box.Is it possible?

Jan Algermissen jalgermissen at topicmapping.com
Mon Jun 21 12:52:58 EDT 2004


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
>   <Location />
>         SetHandler perl-script
>         PerlHandler RT::Mason  ßerased!
>     </Location>
> 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
> http://wiki.bestpractical.com/index.cgi?MultipleInstances 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:
> <VirtualHost mydomain>
>     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>
> </VirtualHost>
> 
> ---- 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 at cesca.es
> Tf:  93 205.64.64 - ext 4454
> CESCA (Centre de Supercomputació de Catalunya)
> http://www.cesca.es
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> 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



More information about the rt-users mailing list