Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

apache/perl error for rt 3.8.1 on apache start

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


jesspdx at gmail

Aug 20, 2008, 11:37 AM

Post #1 of 4 (593 views)
Permalink
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


falcone at bestpractical

Aug 20, 2008, 11:48 AM

Post #2 of 4 (546 views)
Permalink
Re: apache/perl error for rt 3.8.1 on apache start [In reply to]

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
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales [at] bestpractical
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


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


falcone at bestpractical

Aug 20, 2008, 12:57 PM

Post #3 of 4 (548 views)
Permalink
Re: apache/perl error for rt 3.8.1 on apache start [In reply to]

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 [at] bestpractical
> > 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
> > _______________________________________________

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales [at] bestpractical


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


jesspdx at gmail

Aug 20, 2008, 1:04 PM

Post #4 of 4 (543 views)
Permalink
Re: apache/perl error for rt 3.8.1 on apache start [In reply to]

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.

-jess



On Wed, Aug 20, 2008 at 3:57 PM, Kevin Falcone <falcone [at] bestpractical>wrote:

>
> 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 [at] bestpractical
> > > 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
> > > _______________________________________________
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales [at] bestpractical
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.