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

Hi - just did (dir var/mason_data/obj), same error…> On Mon, May 10, 2010 at 1:43 PM, Steve Anderson < steve.anderson@bipsolutions.com> wrote:

Did you do the step of wiping out the Mason cache?

From: rt-users-bounces@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Razvan Cosma
Sent: 10 May 2010 11:35 AM
To: rt-users@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
Managed Cyber Security Solutions | iomart


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.


Did you do the step of wiping out the Mason cache?From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Razvan Cosma
Sent: 10 May 2010 11:35 AM
To: rt-users@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

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.

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 http://www.widexs.nl/
Tel +31 (0)20 7570780 Fax +31 (0)20 6116302
Zekeringstraat 43, 1014 BV Amsterdam, NLFrom: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Steve Anderson
Sent: Monday, May 10, 2010 12:43 PM
To: Razvan Cosma; rt-users@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@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Razvan Cosma
Sent: 10 May 2010 11:35 AM
To: rt-users@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

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.

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@widexs.nlwrote:

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@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Steve Anderson
Sent: Monday, May 10, 2010 12:43 PM
To: Razvan Cosma; rt-users@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@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Razvan Cosma
Sent: 10 May 2010 11:35 AM
To: rt-users@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
Managed Cyber Security Solutions | iomart


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.


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@gmail.comwrote:

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@widexs.nlwrote:

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@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Steve Anderson
Sent: Monday, May 10, 2010 12:43 PM
To: Razvan Cosma; rt-users@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@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Razvan Cosma
Sent: 10 May 2010 11:35 AM
To: rt-users@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
Managed Cyber Security Solutions | iomart


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.


Razvan Cosma wrote:

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
You didn’t mention that you ran the upgrade scripts that are in the
./etc/upgrade by issuing the following command and to what it tells you
todo:

make upgrade-instruct

Regards,

Joop

Hi - the database was upgraded as instructed (no errors), and I don’t see
anything new in RT_Config that might need to be edited…On Tue, May 11, 2010 at 9:52 AM, Joop JoopvandeWege@mococo.nl wrote:

Razvan Cosma wrote:

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

You didn’t mention that you ran the upgrade scripts that are in the
./etc/upgrade by issuing the following command and to what it tells you
todo:

make upgrade-instruct

Regards,

Joop

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 SiddarthOn Mon, May 10, 2010 at 5:03 PM, Razvan Cosma razvan.cosma@gmail.comwrote:

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@gmail.comwrote:

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@widexs.nlwrote:

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@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Steve Anderson
Sent: Monday, May 10, 2010 12:43 PM
To: Razvan Cosma; rt-users@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@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Razvan Cosma
Sent: 10 May 2010 11:35 AM
To: rt-users@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
Managed Cyber Security Solutions | iomart


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

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@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@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@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@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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Steve
Anderson
Sent: Monday, May 10, 2010 12:43 PM
To: Razvan Cosma; rt-users@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@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Razvan Cosma
Sent: 10 May 2010 11:35 AM
To: rt-users@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
Managed Cyber Security Solutions | iomart



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.

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.

Thanks,

– Benno

ruz@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.

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

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.

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…

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
Managed Cyber Security Solutions | iomart



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

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

Hi,On 8/27/10 7:00 PM, Kevin Falcone wrote:

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.

Sorry, thought the patch was a solution. :slight_smile:

I upgraded RT from 3.8.6 to 3.8.8 using FreeBSD ports. The RT 3.8.6
installation worked without problems. After the upgrade to 3.8.8, the
Apache httpd continued to run without errors. Only after restarting
Apache, the httpd stopped because of the “Require of RT::Action::
failed.” error.

I haven’t changed anything in between, and have no idea where to start
looking for the script that picked a Null action. Is there a hint to
easily debug RT? From the error messages in the httpd-error.log I
couldn’t figure exactly which script is triggering this error on startup.

Thanks,

– Benno

Benno J. Overeinder
NLnet Labs

Hi,

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.

Sorry, thought the patch was a solution. :slight_smile:

No, the patch bandaids over the fact that you created an invalid
Scrip. 3.8.9 will make it harder for you to make that mistake.

I upgraded RT from 3.8.6 to 3.8.8 using FreeBSD ports. The RT 3.8.6
installation worked without problems. After the upgrade to 3.8.8, the
Apache httpd continued to run without errors. Only after restarting
Apache, the httpd stopped because of the “Require of RT::Action::
failed.” error.

I haven’t changed anything in between, and have no idea where to start
looking for the script that picked a Null action. Is there a hint to
easily debug RT? From the error messages in the httpd-error.log I
couldn’t figure exactly which script is triggering this error on startup.

Select * from Scrips where ScripAction = 0;

-kevin

Benno,

Take a look at your log. The number for the scrip is always shown. That will
tell you which one.

Kenn
LBNLOn Mon, Aug 30, 2010 at 3:16 AM, Benno Overeinder benno@nlnetlabs.nlwrote:

Hi,

On 8/27/10 7:00 PM, Kevin Falcone wrote:

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.

Sorry, thought the patch was a solution. :slight_smile:

I upgraded RT from 3.8.6 to 3.8.8 using FreeBSD ports. The RT 3.8.6
installation worked without problems. After the upgrade to 3.8.8, the
Apache httpd continued to run without errors. Only after restarting
Apache, the httpd stopped because of the “Require of RT::Action::
failed.” error.

I haven’t changed anything in between, and have no idea where to start
looking for the script that picked a Null action. Is there a hint to
easily debug RT? From the error messages in the httpd-error.log I
couldn’t figure exactly which script is triggering this error on startup.

Thanks,

– Benno


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!

Kenn,On 8/30/10 6:27 PM, Kenneth Crocker wrote:

Take a look at your log. The number for the scrip is always shown. That
will tell you which one.

Thanks, I found the scrip triggering the empty action. I had to go back
a bit in the history of the log file. During “normal” operation the
scrip generated an error message that allowed me to pinpoint the
problem: empty action at On Create Autoreply To Requestors.

On one of the queues, we want to disable autoreply if a new ticket is
created by email. Have to find another manner to disable this.
(Suggestions?)

Thanks,

– Benno

Benno J. Overeinder
NLnet Labs

Hi.

Either delete scrip or set stage to disabled.

написал:

Kenn,On 8/30/10 6:27 PM, Kenneth Crocker wrote:

Take a look at your log. The number for the scrip is a…
Thanks, I found the scrip triggering the empty action. I had to go back
a bit in the history of the log file. During “normal” operation the
scrip generated an error message that allowed me to pinpoint the
problem: empty action at On Create Autoreply To Requestors.

On one of the queues, we want to disable autoreply if a new ticket is
created by email. Have to find another manner to disable this.
(Suggestions?)

Thanks,

– Benno

Benno J. Overeinder
NLnet Labs

RT Training in Was…