Apache/perl error for rt 3.8.1 on apache start

I can’t get Apache to start after adding the RT virtual host.

Solaris 10u5
Apache 2.2.9
mod_perl 2.0.4
RT 3.8.1

I get the following error in the Apache error log.

[Wed Aug 20 14:35:17 2008] [error] Can’t locate object method "mk_classdata"
via package “Exception::Class::Base” at
/opt/csw/share/perl/site_perl/Exception/Class.pm line 198.\nBEGIN
failed–compilation aborted at
/opt/csw/share/perl/site_perl/Exception/Class.pm line 211.\nCompilation
failed in require at /opt/csw/share/perl/csw/HTML/Mason/Exceptions.pm line
73.\nBEGIN failed–compilation aborted at
/opt/csw/share/perl/csw/HTML/Mason/Exceptions.pm line 73.\nCompilation
failed in require at /opt/csw/share/perl/csw/HTML/Mason/Tools.pm line
18.\nBEGIN failed–compilation aborted at
/opt/csw/share/perl/csw/HTML/Mason/Tools.pm line 18.\nCompilation failed in
require at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line 40.\nBEGIN
failed–compilation aborted at /opt/csw/share/perl/csw/HTML/Mason/Request.pm
line 40.\nCompilation failed in require at
/opt/csw/share/perl/csw/HTML/Mason/ApacheHandler.pm line 49.\nBEGIN
failed–compilation aborted at
/opt/csw/share/perl/csw/HTML/Mason/ApacheHandler.pm line 49.\nCompilation
failed in require at /opt/rt3/bin/…/lib/RT/Interface/Web/Handler.pm line
140.\nCompilation failed in require at (eval 2) line 1.\n

Am I missing a Perl Module, or is there a version mismatch?

Thanks,
Jess

I can’t get Apache to start after adding the RT virtual host.

Solaris 10u5
Apache 2.2.9
mod_perl 2.0.4
RT 3.8.1

I get the following error in the Apache error log.

[Wed Aug 20 14:35:17 2008] [error] Can’t locate object method
“mk_classdata” via package “Exception::Class::Base” at

Sounds like you failed to install Class::Data::Inheritable which
Exception::Class requires and is in turn required by HTML::Mason

-kevin

Please don’t reply to me privately off the list, it means other people
can’t see a reply and offer insight

Thanks.
CPAN install claims that Class::Data::Inheritable is up to date. And
the RT “make testdeps” shows that dependencies are all found.

You should test with the standalone_httpd or rt-server binaries to try
and narrow down what is going wrong, it looks like the inheritance in
mason exceptions is breaking somewhere.

-kevin> On Wed, Aug 20, 2008 at 2:48 PM, Kevin Falcone <falcone@bestpractical.com wrote:

On Aug 20, 2008, at 2:37 PM, Jess wrote:

I can’t get Apache to start after adding the RT virtual host.

Solaris 10u5
Apache 2.2.9
mod_perl 2.0.4
RT 3.8.1

I get the following error in the Apache error log.

[Wed Aug 20 14:35:17 2008] [error] Can’t locate object method
“mk_classdata” via package “Exception::Class::Base” at

Sounds like you failed to install Class::Data::Inheritable which
Exception::Class requires and is in turn required by HTML::Mason

-kevin

/opt/csw/share/perl/site_perl/Exception/Class.pm line 198.\nBEGIN
failed–compilation aborted at /opt/csw/share/perl/site_perl/
Exception/Class.pm line 211.\nCompilation failed in require at /opt/
csw/share/perl/csw/HTML/Mason/Exceptions.pm line 73.\nBEGIN failed–
compilation aborted at /opt/csw/share/perl/csw/HTML/Mason/
Exceptions.pm line 73.\nCompilation failed in require at /opt/csw/
share/perl/csw/HTML/Mason/Tools.pm line 18.\nBEGIN failed–
compilation aborted at /opt/csw/share/perl/csw/HTML/Mason/Tools.pm
line 18.\nCompilation failed in require at /opt/csw/share/perl/csw/
HTML/Mason/Request.pm line 40.\nBEGIN failed–compilation aborted
at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line
40.\nCompilation failed in require at /opt/csw/share/perl/csw/HTML/
Mason/ApacheHandler.pm line 49.\nBEGIN failed–compilation aborted
at /opt/csw/share/perl/csw/HTML/Mason/ApacheHandler.pm line
49.\nCompilation failed in require at /opt/rt3/bin/…/lib/RT/
Interface/Web/Handler.pm line 140.\nCompilation failed in require at
(eval 2) line 1.\n

Am I missing a Perl Module, or is there a version mismatch?

Thanks,
Jess


Sorry about that, I meant to hit “reply-all”.
I found the problem though (Truss or DTrace should always be step a first
step, duh). I had attempted to install 3.8.0 on this host and fought through
all of the autoconf and other issues with that, and then when 3.8.1 came out
I just installed over the existing directory. I removed the old rt3
directory and did a clean install of 3.8.1 and I now have a login page.

Thanks for such quick responses.

-jessOn Wed, Aug 20, 2008 at 3:57 PM, Kevin Falcone falcone@bestpractical.comwrote:

On Aug 20, 2008, at 3:49 PM, Jess wrote:

Please don’t reply to me privately off the list, it means other people
can’t see a reply and offer insight

Thanks.
CPAN install claims that Class::Data::Inheritable is up to date. And
the RT “make testdeps” shows that dependencies are all found.

You should test with the standalone_httpd or rt-server binaries to try
and narrow down what is going wrong, it looks like the inheritance in
mason exceptions is breaking somewhere.

-kevin

On Wed, Aug 20, 2008 at 2:48 PM, Kevin Falcone < falcone@bestpractical.com wrote:

On Aug 20, 2008, at 2:37 PM, Jess wrote:

I can’t get Apache to start after adding the RT virtual host.

Solaris 10u5
Apache 2.2.9
mod_perl 2.0.4
RT 3.8.1

I get the following error in the Apache error log.

[Wed Aug 20 14:35:17 2008] [error] Can’t locate object method
“mk_classdata” via package “Exception::Class::Base” at

Sounds like you failed to install Class::Data::Inheritable which
Exception::Class requires and is in turn required by HTML::Mason

-kevin

/opt/csw/share/perl/site_perl/Exception/Class.pm line 198.\nBEGIN
failed–compilation aborted at /opt/csw/share/perl/site_perl/
Exception/Class.pm line 211.\nCompilation failed in require at /opt/
csw/share/perl/csw/HTML/Mason/Exceptions.pm line 73.\nBEGIN failed–
compilation aborted at /opt/csw/share/perl/csw/HTML/Mason/
Exceptions.pm line 73.\nCompilation failed in require at /opt/csw/
share/perl/csw/HTML/Mason/Tools.pm line 18.\nBEGIN failed–
compilation aborted at /opt/csw/share/perl/csw/HTML/Mason/Tools.pm
line 18.\nCompilation failed in require at /opt/csw/share/perl/csw/
HTML/Mason/Request.pm line 40.\nBEGIN failed–compilation aborted
at /opt/csw/share/perl/csw/HTML/Mason/Request.pm line
40.\nCompilation failed in require at /opt/csw/share/perl/csw/HTML/
Mason/ApacheHandler.pm line 49.\nBEGIN failed–compilation aborted
at /opt/csw/share/perl/csw/HTML/Mason/ApacheHandler.pm line
49.\nCompilation failed in require at /opt/rt3/bin/…/lib/RT/
Interface/Web/Handler.pm line 140.\nCompilation failed in require at
(eval 2) line 1.\n

Am I missing a Perl Module, or is there a version mismatch?

Thanks,
Jess



The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com