RT 4.0 mod_perl2 install failure on apache2

Hi,

I installed RT 4 on my debian box, all dependencies were met, using
mod_perl2, postgres, standalone (Starlet?) webserver works but when I
configure apache according to documentation it report error upon start
and I can’t reach RT. I’m running it as http://mybox/rt4/ (prefix
rt4). The error reported is:

[warning]: (in cleanup) Error while loading /opt/rt4/sbin/rt-server:
Can’t locate object method “PSGIApp” via package
“RT::Interface::Web::Handler” at /opt/rt4/sbin/rt-server line 138.
(/usr/share/request-tracker3.8/lib/RT.pm:394)

I found similar issue here Carbon60: Cloud Consulting - Services and Solutions

Anyone else having this problem? Does anyone know how to solve it?

Thanks

Hello,

rt-server from /opt/rt4, RT.pm from request-tracker3.8 dir. This is
for sure may result in such errors.On Sat, Apr 30, 2011 at 1:51 PM, IgiLama igilama.register@gmail.com wrote:

Hi,

I installed RT 4 on my debian box, all dependencies were met, using
mod_perl2, postgres, standalone (Starlet?) webserver works but when I
configure apache according to documentation it report error upon start
and I can’t reach RT. I’m running it as http://mybox/rt4/ (prefix
rt4). The error reported is:

[warning]: (in cleanup) Error while loading /opt/rt4/sbin/rt-server:
Can’t locate object method “PSGIApp” via package
“RT::Interface::Web::Handler” at /opt/rt4/sbin/rt-server line 138.
(/usr/share/request-tracker3.8/lib/RT.pm:394)

I found similar issue here Carbon60: Managed Cloud Services

Anyone else having this problem? Does anyone know how to solve it?

Thanks

Best regards, Ruslan.

Ou, I did not notice that … sure, that’s the problem. But how do I
force it to load a proper RT.pm from /opt/rt4? I suspect it’s loading
it because it is sooner in include path or something (it’s not
specified anywhere explicitly for sure). Am I required to remove RT

I’m not sure. Do you try to run both versions in one apache server
with mod_perl?
In this case you have to isolate instances:

http://requesttracker.wikia.com/wiki/MultipleInstances#mod_perl_2.x

Also, Check @INC path in perl -V output.

3.8? I’d like to make sure that RT 4.0 works as expected before I do
that.

You’re not required to remove RT3, but you must isolate instances from
each other. Don’t copy old files from RT 3.x and/or install RT4.0 over
RT3.

Thanks

Cc list on replies.

Best regards, Ruslan.