[rt-users] rt-3.0-beta/apache-1.3.27/modperl1 - nightmare

darren chamberlain darren at boston.com
Thu Feb 13 12:21:05 EST 2003


* dr john halewood <john at frumious.unidec.co.uk> [2003-02-13 12:08]:
> On Thursday 13 February 2003 16:13, Odhiambo Washington wrote:
> > I am fighting a losing war with apache-1.3.27+modper1 and
> > rt-3.0-beta.  beastie# apachectl configtest
> > 
> > Subroutine handler redefined at /opt/rt3/bin/webmux.pl line 111.
> > [Thu Feb 13 15:34:28 2003] [error] Undefined subroutine
> > &RT::LoadConfig called at /opt/rt3/bin/webmux.pl line 60. Compilation
> > failed in require at (eval 78) line 1.
> 
> Got bitten by the very same thing myself, but Phil Homewood helpfully
> sorted this out: you can't run RT2 & RT3 in the same Apache instance
> with mod_perl.  Either switch one of them off, or run one (or both)
> with fastcgi instead.
> 
> This might cause a few problems for people trying to upgrade from
> RT2->RT3 though. Anyone know of a workaround?

There isn't one, because of how mod_perl keeps a single Perl interpreter
resident in each child, and because Perl doesn't allow multiple versions
of a module to be loaded at once.

If you could get Jesse to re-namespace RT3 from RT:: to RT3::, there
wouldn't be a problem...

(darren)

-- 
When your hammer is C++, everything begins to look like a thumb.
    -- Steve Haflich



More information about the rt-users mailing list