[rt-users] RT::Action not found after upgrade 3.8.2 -> 3.8.8

Kevin Falcone falcone at bestpractical.com
Fri Aug 27 13:00:37 EDT 2010


On Thu, Aug 26, 2010 at 04:31:30PM +0200, Benno Overeinder wrote:
> I haven't the original email thread to reply to, but this might be
> valuable to the email list.
> 
> The change Ruslan proposed works for me.  I had the same problem here,
> but after the change in webmux.pl, apache started again.

You should still go find the Scrip where you picked a Null action and
either delete it or pick a proper action.

-kevin

> -- Benno
> 
> ruz at bestpractical.com wrote:
> 
> Hello,
> 
> Try to change RT::InitClasses( Heavy => 1 ) to RT::InitClasses( Heavy
> => 0 ) in webmux.pl instead of using the patch (revert it) and report
> back if it helps.
> 
> On Tue, May 11, 2010 at 4:58 PM, Raghu Siddarth <raghusiddarth at
> gmail.com> wrote:
> > I got the same issue here. Upgrade script went through without any errors,
> > cleared mason and restarted apache, but it failed to start with the
> > following error :
> >
> > [error] Require of RT::Action:: failed.
> >
> > Can't locate RT/Action/.pm in @INC (@INC contains:
> /opt/rt3/bin/../local/lib
> > /opt/rt3/local/plugins/RT-Extension-PriorityAsString/lib
> /opt/rt3/bin/../lib
> > /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
> > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> > /usr/local/lib/site_perl . /etc/apache2) at (eval 1318) line
> > 3.\n\nCompilation failed in require at (eval 2) line 1.
> >
> > [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server
> > ritsnet-rt.mine.nu:0, exiting...
> >
> >
> > Thanks Razvan for the quick fix below. It worked for me. I'm trying to
> > understand why are only a few users getting affected.
> >
> >  -- Raghu Siddarth
> >
> > On Mon, May 10, 2010 at 5:03 PM, Razvan Cosma <razvan.cosma at gmail.com>
> > wrote:
> >>
> >> Can't figure out the problem source, and I am in a hurry, so for now:
> >> if(eval "require $type") {
> >>     $self->{'Action'}  = $type->new ( Argument => $self->Argument,
> >>                                       CurrentUser => $self->CurrentUser,
> >>                                       ScripActionObj => $self,
> >>                                       ScripObj => $args{'ScripObj'},
> >>                                       TemplateObj => $self->TemplateObj,
> >>                                       TicketObj => $args{'TicketObj'},
> >>                                       TransactionObj =>
> >> $args{'TransactionObj'},
> >>                                     );
> >>     } else {
> >>       warn "Require of $type failed.\n$@\n";
> >>     }
> >> Then application seems to work fine otherwise.
> >>
> >> On Mon, May 10, 2010 at 2:22 PM, Razvan Cosma <razvan.cosma at gmail.com>
> >> wrote:
> >>>
> >>> OK, tried another trick now: created a RT/Action/.pm file that only does
> >>> print caller(); and it seems it's called from RT::ScripAction which
> leads to
> >>> the file ScripAction_Overlay.pm and at line 173
> >>> eval "require $type" || die "Require of $type failed.\n$@\n";
> >>> still digging..
> >>>
> >>>>
> >>>> On Mon, May 10, 2010 at 2:17 PM, Richard Pijnenburg <Richard at
> widexs.nl>
> >>>> wrote:
> >>>>>
> >>>>> I have the same issue.
> >>>>>
> >>>>> Cleaned the mason cache and restarted apache, but same result.
> >>>>>
> >>>>>
> >>>>>
> >>>>> Met vriendelijke groet / With kind regards,
> >>>>>
> >>>>> Richard Pijnenburg
> >>>>> Changes and Incident Coordinator
> >>>>>
> >>>>> WideXS                                  http://www.widexs.nl
> >>>>> Tel +31 (0)20 7570780              Fax +31 (0)20 6116302
> >>>>> Zekeringstraat 43,                    1014 BV Amsterdam, NL
> >>>>>
> >>>>>
> >>>>>
> >>>>> From: rt-users-bounces at lists.bestpractical.com
> >>>>> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of
> Steve
> >>>>> Anderson
> >>>>> Sent: Monday, May 10, 2010 12:43 PM
> >>>>> To: Razvan Cosma; rt-users at lists.bestpractical.com
> >>>>> Subject: Re: [rt-users] RT::Action not found after upgrade 3.8.2 ->
> >>>>> 3.8.8
> >>>>>
> >>>>>
> >>>>>
> >>>>> Did you do the step of wiping out the Mason cache?
> >>>>>
> >>>>>
> >>>>>
> >>>>> From: rt-users-bounces at lists.bestpractical.com
> >>>>> [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of
> Razvan Cosma
> >>>>> Sent: 10 May 2010 11:35 AM
> >>>>> To: rt-users at lists.bestpractical.com
> >>>>> Subject: [rt-users] RT::Action not found after upgrade 3.8.2 -> 3.8.8
> >>>>>
> >>>>>
> >>>>>
> >>>>>  Hi all,
> >>>>> Just did a ./configure && make upgrade, and while there were no errors
> >>>>> and all dependencies seem to be in place, httpd won't start
> anymore (running
> >>>>> on centos with mod_perl), complaining about
> >>>>> [error] Require of RT::Action:: failed.\nCan't locate RT/Action/.pm in
> >>>>> @INC
> >>>>> This looks like a typo in some file or scrip, but I have done a
> grep in
> >>>>> the webroot, and deleted all my scrips from mysql - it wasn't there
> >>>>> There's no file name in the error, only
> >>>>> at (eval 2442) line 3.\n\nCompilation failed in require at (eval 2)
> >>>>> line 1.\n
> >>>>> Any hints on where this eval happens?
> >>>>> Thank you very much
> >>>>>
> >>>>>
> >>>>>
> >>>>> ________________________________
> >>>>>
> >>>>> This email has been scanned by Netintelligence
> >>>>> http://www.netintelligence.com/email
> >>>>>
> >>>>> ________________________________
> >>>>>
> >>>>>
> >>>>>
> >>>>> ________________________________
> >>>>>
> >>>>> BiP Solutions Limited is a company registered in Scotland with Company
> >>>>> Number SC086146 and VAT number 383030966 and having its registered
> >>>>> office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.
> >>>>>
> >>>>>
> >>>>>
> ****************************************************************************
> >>>>> This e-mail (and any attachment) is intended only for the attention of
> >>>>> the addressee(s). Its unauthorised use, disclosure, storage or copying
> >>>>> is not permitted. If you are not the intended recipient, please
> destroy
> >>>>> all copies and inform the sender by return e-mail.
> >>>>> This e-mail (whether you are the sender or the recipient) may be
> >>>>> monitored, recorded and retained by BiP Solutions Ltd.
> >>>>> E-mail monitoring/ blocking software may be used, and e-mail content
> >>>>> may
> >>>>> be read at any time.You have a responsibility to ensure laws are not
> >>>>> broken when composing or forwarding e-mails and their contents.
> >>>>>
> >>>>>
> ****************************************************************************
> >>>>
> >>>
> >>
> >>
> >>
> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> >> Buy a copy at http://rtbook.bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> >
> 
> 
> 
> -- 
> Best regards, Ruslan.
> 
> -- 
> Benno J. Overeinder
> NLnet Labs
> http://www.nlnetlabs.nl/
> 
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100827/b4603b45/attachment.sig>


More information about the rt-users mailing list