RT Not Sending emails Out


#1

Hello RT users,
I was wondering if anyone knows of a solution to this problem. RT is not
sending any email messages and its returning an Undefined subroutine
&Scalar::Util. I’ve verified that particular perl lib does exist on the
system. Any thoughts?

Here are the log messages:
Jun 17 15:49:47 austrack01 RT: Scrip Prepare 10 died. - Undefined
subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 107. Stack:
[/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444] [/opt/rt3/lib/RT/Ticket_Overlay.pm:3526]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3257] [/opt/rt3/lib/RT/Record.pm:934]
[/opt/rt3/lib/RT/Interface/Web.pm:1026]
[/opt/rt3/lib/RT/Interface/Web.pm:1141]
[/opt/rt3/share/html/Ticket/Display.html:151]
[/opt/rt3/share/html/Ticket/Update.html:216]
[/opt/rt3/share/html/autohandler:292]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:479)
Jun 17 15:49:48 austrack01 RT: Scrip Prepare 2 died. - Undefined subroutine
&Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 107.
Stack: [/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444] [/opt/rt3/lib/RT/Ticket_Overlay.pm:3078]
[/opt/rt3/lib/RT/Interface/Web.pm:1157]
[/opt/rt3/share/html/Ticket/Display.html:151]
[/opt/rt3/share/html/Ticket/Update.html:216]
[/opt/rt3/share/html/autohandler:292]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:479)
Jun 17 15:49:59 austrack01 RT: Encode::Guess failed: ; fallback to
iso-8859-1 (/opt/rt3/lib/RT/I18N.pm:414)
Jun 17 15:49:59 austrack01 RT: Encode::Guess failed: ; fallback to
iso-8859-1 (/opt/rt3/lib/RT/I18N.pm:414)
Jun 17 15:49:59 austrack01 RT: Scrip Prepare 8 died. - Undefined subroutine
&Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 107.
Stack: [/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444] [/opt/rt3/lib/RT/Ticket_Overlay.pm:2441]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2305]
[/opt/rt3/share/html/Ticket/Elements/PreviewScrips:82]
[/opt/rt3/share/html/Ticket/Update.html:137]
[/opt/rt3/share/html/autohandler:292]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:479)
Jun 17 15:49:59 austrack01 RT: Scrip Prepare 9 died. - Undefined subroutine
&Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 107.
Stack: [/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444] [/opt/rt3/lib/RT/Ticket_Overlay.pm:2441]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2305]
[/opt/rt3/share/html/Ticket/Elements/PreviewScrips:82]
[/opt/rt3/share/html/Ticket/Update.html:137]
[/opt/rt3/share/html/autohandler:292]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:479)

Enrique


#2

If RedHat updated Scalar::Util, you will need to download from CPAN and
recompile since they do not include weaken by default.
http://wiki.bestpractical.com/view/TroubleShooting
http://www.gossamer-threads.com/lists/rt/users/69775

Enrique Gaona wrote:

Hello RT users,
I was wondering if anyone knows of a solution to this problem. RT is
not sending any email messages and its returning an Undefined
subroutine &Scalar::Util. I’ve verified that particular perl lib does
exist on the system. Any thoughts?

Here are the log messages:
Jun 17 15:49:47 austrack01 RT: Scrip Prepare 10 died. - Undefined
subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 107. Stack:
[/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3526]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3257]
[/opt/rt3/lib/RT/Record.pm:934]
[/opt/rt3/lib/RT/Interface/Web.pm:1026]
[/opt/rt3/lib/RT/Interface/Web.pm:1141]
[/opt/rt3/share/html/Ticket/Display.html:151]
[/opt/rt3/share/html/Ticket/Update.html:216]
[/opt/rt3/share/html/autohandler:292]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:479)
Jun 17 15:49:48 austrack01 RT: Scrip Prepare 2 died. - Undefined
subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 107. Stack:
[/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:3078]
[/opt/rt3/lib/RT/Interface/Web.pm:1157]
[/opt/rt3/share/html/Ticket/Display.html:151]
[/opt/rt3/share/html/Ticket/Update.html:216]
[/opt/rt3/share/html/autohandler:292]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:479)
Jun 17 15:49:59 austrack01 RT: Encode::Guess failed: ; fallback to
iso-8859-1 (/opt/rt3/lib/RT/I18N.pm:414)
Jun 17 15:49:59 austrack01 RT: Encode::Guess failed: ; fallback to
iso-8859-1 (/opt/rt3/lib/RT/I18N.pm:414)
Jun 17 15:49:59 austrack01 RT: Scrip Prepare 8 died. - Undefined
subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 107. Stack:
[/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2441]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2305]
[/opt/rt3/share/html/Ticket/Elements/PreviewScrips:82]
[/opt/rt3/share/html/Ticket/Update.html:137]
[/opt/rt3/share/html/autohandler:292]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:479)
Jun 17 15:49:59 austrack01 RT: Scrip Prepare 9 died. - Undefined
subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 107. Stack:
[/opt/rt3/lib/RT/Action/Generic.pm:107]
[/opt/rt3/lib/RT/Action/Generic.pm:79]
[/opt/rt3/lib/RT/ScripAction_Overlay.pm:177]
[/opt/rt3/lib/RT/Scrip_Overlay.pm:471]
[/opt/rt3/lib/RT/Scrips_Overlay.pm:237]
[/opt/rt3/lib/RT/Transaction_Overlay.pm:171]
[/opt/rt3/lib/RT/Record.pm:1444]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2441]
[/opt/rt3/lib/RT/Ticket_Overlay.pm:2305]
[/opt/rt3/share/html/Ticket/Elements/PreviewScrips:82]
[/opt/rt3/share/html/Ticket/Update.html:137]
[/opt/rt3/share/html/autohandler:292]
(/opt/rt3/lib/RT/Scrip_Overlay.pm:479)

Enrique



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

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

Drew Barnes
Applications Analyst
Network Resources Department
Raymond Walters College
University of Cincinnati