Internal server error

I’ve installed RT 2 using apt on my new Debian system. My Apache setup has
mod_perl configured, and I added this to my httpd.conf per the README:

Alias /request-tracker /usr/share/request-tracker/WebRT/html
PerlModule Apache::DBI
PerlFreshRestart On
<Location /request-tracker>
PerlRequire /usr/share/request-tracker/bin/webmux.pl
SetHandler perl-script
PerlHandler RT::Mason

However, when I try to access RT, I get an error 500, with the following
output to my error.log:

[Thu Nov 14 12:22:45 2002] [error] Can’t locate object method “new” via
package “RT::Handle” at /usr/share/request-tracker/lib/RT.pm line 26.

Any ideas what I might be doing wrong?

Best regards,

Owen B. Mehegan
MIS Manager, Perseus Development Corp.
Landline: (781) 848-8100 x263
Mobile: (617) 285-1701
SurveySolutions for the Web: Winner of the PC Magazine Editors’ Choice
Award

Folks, I’m running:

RT 4.2.9
CentOS 6.7
httpd-2.2.15-47.el6.centos.x86_64

when I go to the rt URL:

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, root@localhost and inform them
of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.15 (CentOS) Server at rtdev.whoi.edu Port 443

I checked /opt/rt4/var/log and discovered that I needed something called

[1920] [Wed Sep 23 20:33:11 2015] [critical]: Can’t locate
RT/Authen/ExternalAuth.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/lib /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/opt/rt4/sbin/…/lib/RT.pm line 729. (/opt/rt4/sbin/…/lib/RT.pm:388)

so I got that via

cpan> install RT::Authen::ExternalAuth

seemed to work OK. Restarted the web server,

Then I got this:

[3160] [Wed Sep 23 21:39:04 2015] [critical]: Can’t locate
RT/Extension/ActivityReports.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/…/lib
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at /opt/rt4/sbin/…/lib/RT.pm line
729, line 755. (/opt/rt4/sbin/…/lib/RT.pm:388)

I was able to get that install in

/opt/rt4/local/plugins/RT-Extension-ActivityReports/lib/RT/Extension/ActivityReports.pm

Now I’m looking for something called Ex.pm

[3414] [Wed Sep 23 21:55:08 2015] [critical]: Can’t locate RT/Ex.pm in
@INC (@INC contains: /opt/rt4/sbin/…/local/lib
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib
/opt/rt4/local/plugins/RT-Extension-ActivityReports/lib
/opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at /opt/rt4/sbin/…/lib/RT.pm line
729, line 755. (/opt/rt4/sbin/…/lib/RT.pm:388)

Can someone direct me to a place where I can download that? I can’t seem
to find that specific module anywhere.

Also, if I can get that installed, is there a way to make sure that I
can get all the dependencies associated with it? Or is the normal mode
to just keep chasing each one individually. Happy to do that, or
(most)anything to get this running. Sorry, absolute beginner here.

Thank you, Jonathan

Folks, I’m running:

RT 4.2.9
CentOS 6.7
httpd-2.2.15-47.el6.centos.x86_64

when I go to the rt URL:

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, root@localhost and inform them
of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.15 (CentOS) Server at rtdev.whoi.edu Port 443

I checked /opt/rt4/var/log and discovered that I needed something called

[1920] [Wed Sep 23 20:33:11 2015] [critical]: Can’t locate
RT/Authen/ExternalAuth.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/lib /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/opt/rt4/sbin/…/lib/RT.pm line 729. (/opt/rt4/sbin/…/lib/RT.pm:388)

so I got that via

cpan> install RT::Authen::ExternalAuth

seemed to work OK. Restarted the web server,

Then I got this:

[3160] [Wed Sep 23 21:39:04 2015] [critical]: Can’t locate
RT/Extension/ActivityReports.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/…/lib
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at /opt/rt4/sbin/…/lib/RT.pm line
729, line 755. (/opt/rt4/sbin/…/lib/RT.pm:388)

I was able to get that install in

/opt/rt4/local/plugins/RT-Extension-ActivityReports/lib/RT/Extension/ActivityReports.pm

Now I’m looking for something called Ex.pm

[3414] [Wed Sep 23 21:55:08 2015] [critical]: Can’t locate RT/Ex.pm in
@INC (@INC contains: /opt/rt4/sbin/…/local/lib
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib
/opt/rt4/local/plugins/RT-Extension-ActivityReports/lib
/opt/rt4/sbin/…/lib /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at /opt/rt4/sbin/…/lib/RT.pm line
729, line 755. (/opt/rt4/sbin/…/lib/RT.pm:388)

Can someone direct me to a place where I can download that? I can’t seem
to find that specific module anywhere.

Also, if I can get that installed, is there a way to make sure that I
can get all the dependencies associated with it? Or is the normal mode
to just keep chasing each one individually. Happy to do that, or
(most)anything to get this running. Sorry, absolute beginner here.

Thank you, Jonathan

This was a typo in /opt/rt4/etc/RT_SiteConfig.pm

carriage return truncated the plugins line.

Set( @Plugins, qw(RT::Authen::ExternalAuth
RT::Extension::ActivityReports RT::Extension::CommandByMail) );