[rt-users] Not sending Email and Tools menu failure

Robert Canary rwcanary at ocdirect.net
Tue Mar 25 01:07:00 EDT 2008


I am get this error when I click on Tools.

Also, RT has stopped sending out emails.  I am 99% sure these are 
related.  It was working fine, however, I don't know if RedHat updates 
broke RT or what broke it.  This is all I can find.

error:   	Undefined subroutine &Scalar::Util::weaken called at
/opt/rt3/lib/RT/Action/Generic.pm line 108.
context:  	
...  	
104:  	$self->{'TicketObj'} = $args{'TicketObj'};
105:  	$self->{'TransactionObj'} = $args{'TransactionObj'};
106:  	$self->{'Type'} = $args{'Type'};
107:  	
108:  	Scalar::Util::weaken($self->{'ScripActionObj'});
109:  	Scalar::Util::weaken($self->{'ScripObj'});
110:  	Scalar::Util::weaken($self->{'TemplateObj'});
111:  	Scalar::Util::weaken($self->{'TicketObj'});
112:  	Scalar::Util::weaken($self->{'TransactionObj'});
...  	
code stack:  	/opt/rt3/lib/RT/Action/Generic.pm:108
/opt/rt3/lib/RT/Action/Generic.pm:80
/opt/rt3/share/html/Tools/Offline.html:107
/opt/rt3/share/html/autohandler:215


The System Configuration:
Perl v5.8.5 under linux
    Apache::Session v1.83;
    Apache::Session::Generate::MD5 v2.1;
    Apache::Session::Lock::MySQL v1.00;
    Apache::Session::MySQL v1.01;
    Apache::Session::Serialize::Storable v1.00;
    Apache::Session::Store::DBI v1.02;
    Apache::Session::Store::MySQL v1.04;
    AutoLoader v5.60;
    base v2.06;
    Benchmark v1.06;
    bytes v1.01;
    Cache::Simple::TimedExpiry v0.27;
    Carp v1.03;
    CGI v3.05;
    CGI::Cookie v1.24;
    CGI::Util v1.5;
    Class::Container v0.12;
    Class::Data::Inheritable v0.06;
    Class::ReturnValue v0.53;
    Clone v0.23;
    constant v1.04;
    Cwd v2.19;
    Data::Dumper v2.121;
    DBD::mysql v2.9004;
    DBI v1.57;
    DBIx::SearchBuilder v1.48;
    DBIx::SearchBuilder::Union v0;
    DBIx::SearchBuilder::Unique v0.01;
    Devel::StackTrace v1.15;
    Devel::StackTraceFrame v0.6;
    Digest::base v1.00;
    Digest::MD5 v2.33;
    DynaLoader v1.05;
    Encode v2.01;
    Encode::Alias v2.00;
    Encode::Config v2.00;
    Encode::Encoding v2.00;
    Errno v1.09;
    Exception::Class v1.23;
    Exception::Class::Base v1.2;
    Exporter v5.58;
    Exporter::Heavy v5.58;
    Fcntl v1.05;
    File::Basename v2.73;
    File::Glob v1.03;
    File::Path v1.06;
    File::Spec v3.25;
    File::Spec::Unix v1.5;
    File::Temp v0.14;
    FileHandle v2.01;
    Hook::LexWrap v0.20;
    HTML::Entities v1.35;
    HTML::Mason v1.36;
    HTML::Mason::CGIHandler v1.00;
    HTML::Mason::Exception v1.1;
    HTML::Mason::Exception::Abort v1.1;
    HTML::Mason::Exception::Compilation v1.1;
    HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
    HTML::Mason::Exception::Compiler v1.1;
    HTML::Mason::Exception::Decline v1.1;
    HTML::Mason::Exception::Params v1.1;
    HTML::Mason::Exception::Syntax v1.1;
    HTML::Mason::Exception::System v1.1;
    HTML::Mason::Exception::TopLevelNotFound v1.1;
    HTML::Mason::Exception::VirtualMethod v1.1;
    HTML::Mason::Exceptions v1.43;
    HTML::Parser v3.56;
    HTML::Scrubber v0.08;
    HTTP::Server::Simple v0.27;
    HTTP::Server::Simple::CGI v0.27;
    HTTP::Server::Simple::CGI::Environment v0.27;
    HTTP::Server::Simple::Mason v0.09;
    I18N::LangTags v0.33;
    I18N::LangTags::Detect v1.03;
    I18N::LangTags::List v0.29;
    integer v1.00;
    IO v1.21;
    IO::File v1.10;
    IO::Handle v1.24;
    IO::InnerFile v2.110;
    IO::Lines v2.110;
    IO::Scalar v2.110;
    IO::ScalarArray v2.110;
    IO::Seekable v1.09;
    IO::Wrap v2.110;
    IO::WrapTie v2.110;
    IPC::Open2 v1.01;
    IPC::Open3 v1.0106;
    lib v0.5565;
    List::Util v1.19;
    Locale::Maketext v1.09;
    Locale::Maketext::Fuzzy v0.02;
    Locale::Maketext::Lexicon v0.64;
    Locale::Maketext::Lexicon::Gettext v0.15;
    Log::Dispatch v2.18;
    Log::Dispatch::Base v1.09;
    Log::Dispatch::File v1.22;
    Log::Dispatch::Output v1.26;
    Log::Dispatch::Screen v1.17;
    Log::Dispatch::Syslog v1.18;
    Mail::Address v1.77;
    Mail::Field v1.77;
    Mail::Field::AddrList v1.77;
    Mail::Header v1.77;
    Mail::Internet v1.77;
    MIME::Base64 v3.01;
    MIME::Body v5.420;
    MIME::Decoder v5.420;
    MIME::Entity v5.420;
    MIME::Field::ContDisp v5.420;
    MIME::Field::ConTraEnc v5.420;
    MIME::Field::ContType v5.420;
    MIME::Field::ParamVal v5.420;
    MIME::Head v5.420;
    MIME::Parser v5.420;
    MIME::QuotedPrint v3.01;
    MIME::Tools v5.420;
    MIME::Words v5.420;
    Module::Versions::Report v1.03;
    overload v1.01;
    Params::Validate v0.88;
    PerlIO v1.03;
    PerlIO::encoding v0.07;
    POSIX v1.08;
    re v0.04;
    Regexp::Common v2.120;
    Regexp::Common::_support v2.101;
    Regexp::Common::balanced v2.101;
    Regexp::Common::CC v2.100;
    Regexp::Common::comment v2.116;
    Regexp::Common::delimited v2.104;
    Regexp::Common::lingua v2.105;
    Regexp::Common::list v2.103;
    Regexp::Common::net v2.105;
    Regexp::Common::number v2.108;
    Regexp::Common::profanity v2.104;
    Regexp::Common::SEN v2.102;
    Regexp::Common::URI v2.108;
    Regexp::Common::URI::fax v2.100;
    Regexp::Common::URI::file v2.100;
    Regexp::Common::URI::ftp v2.101;
    Regexp::Common::URI::gopher v2.100;
    Regexp::Common::URI::http v2.101;
    Regexp::Common::URI::news v2.100;
    Regexp::Common::URI::pop v2.100;
    Regexp::Common::URI::prospero v2.100;
    Regexp::Common::URI::RFC1035 v2.100;
    Regexp::Common::URI::RFC1738 v2.104;
    Regexp::Common::URI::RFC1808 v2.100;
    Regexp::Common::URI::RFC2384 v2.102;
    Regexp::Common::URI::RFC2396 v2.100;
    Regexp::Common::URI::RFC2806 v2.100;
    Regexp::Common::URI::tel v2.100;
    Regexp::Common::URI::telnet v2.100;
    Regexp::Common::URI::tv v2.100;
    Regexp::Common::URI::wais v2.100;
    Regexp::Common::whitespace v2.103;
    Regexp::Common::zip v2.112;
    RT v3.4.5;
    RT::Interface::Email v1.02;
    Scalar::Util v1.19;
    SelectSaver v1.00;
    Socket v1.77;
    Storable v2.13;
    strict v1.03;
    Symbol v1.05;
    Sys::Hostname v1.11;
    Sys::Syslog v0.08;
    Text::Autoformat v1.13;
    Text::Quoted v2.02;
    Text::Reform v1.11;
    Text::Tabs v98.112801;
    Text::Template v1.44;
    Text::Wrapper v1.01;
    Time::HiRes v1.9707;
    Time::JulianDay v2003.1125;
    Time::Local v1.1;
    Time::ParseDate v2006.0814;
    Time::Timezone v2006.0814;
    Tree::Simple v1.17;
    URI::Escape v3.28;
    utf8 v1.04;
    vars v1.01;
    warnings v1.03;
    warnings::register v1.00;
    XSLoader v0.02;



RT Variables
RT::AmbiguousDayInPast 	1
RT::BasePath 	/opt/rt3
RT::BinPath 	/opt/rt3/bin
RT::CORE_CONFIG_FILE 	/opt/rt3/etc/RT_Config.pm
RT::CommentAddress 	rwcanary at ocdirect.net
RT::CorrespondAddress 	rwcanary at ocdirect.net
RT::DatabaseHost 	localhost
RT::DatabaseName 	rt3
RT::DatabasePassword 	Password not printed
RT::DatabaseRTHost 	localhost
RT::DatabaseType 	mysql
RT::DatabaseUser 	rt_admin
RT::DateDayBeforeMonth 	1
RT::DefaultSearchResultFormat 	'<B><A
HREF="/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A
HREF="/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
Status, QueueName, OwnerName, Priority, '__NEWLINE__', '',
'<small>__Requestors__</small>', '<small>__CreatedRelative__</small>',
'<small>__ToldRelative__</small>',
'<small>__LastUpdatedRelative__</small>', '<small>__TimeLeft__</small>'
RT::EmailOutputEncoding 	utf-8
RT::EtcPath 	/opt/rt3/etc
RT::FriendlyFromLineFormat 	"%s via OCDirect Ticket Request" <%s>
RT::FriendlyToLineFormat 	"%s of ocdirect.net Ticket #%s":;
RT::LinkTransactionsRun1Scrip 	1
RT::LocalEtcPath 	/opt/rt3/local/etc
RT::LocalLexiconPath 	/opt/rt3/local/po
RT::LocalPath 	/opt/rt3/local
RT::LogDir 	/var/log/rt
RT::LogToFile 	1
RT::LogToFileNamed 	rt.log
RT::LogToScreen 	error
RT::LogToSyslog 	debug
RT::LogoURL 	/NoAuth/images/bplogo.gif
RT::LoopsToRTOwner 	1
RT::MailCommand 	sendmailpipe
RT::MasonComponentRoot 	/opt/rt3/share/html
RT::MasonDataDir 	/opt/rt3/var/mason_data
RT::MasonLocalComponentRoot 	/opt/rt3/local/html
RT::MasonSessionDir 	/opt/rt3/var/session_data
RT::MaxAttachmentSize 	10000000
RT::MaxInlineBody 	13456
RT::MessageBoxWidth 	72
RT::MessageBoxWrap 	HARD
RT::MinimumPasswordLength 	5
RT::MyRequestsLength 	10
RT::MyTicketsLength 	10
RT::Organization 	ocdirect.net
RT::OwnerEmail 	rwcanary at ocdirect.net
RT::RTAddressRegexp 	^rt\@ocdirect.net$
RT::RecordOutgoingEmail 	1
RT::RedistributeAutoGeneratedMessages 	1
RT::SITE_CONFIG_FILE 	/opt/rt3/etc/RT_SiteConfig.pm
RT::SendmailArguments 	-oi -t
RT::SendmailBounceArguments 	-f "<>"
RT::SendmailPath 	/usr/sbin/sendmail
RT::Timezone 	US/Central
RT::UseFriendlyFromLine 	1
RT::VERSION 	3.4.5
RT::VarPath 	/opt/rt3/var
RT::WebBaseURL 	http://mchn37.ocdirect.net:4400
RT::WebFlushDbCacheEveryRequest 	1
RT::WebImagesURL 	/NoAuth/images/
RT::WebURL 	http://mchn37.ocdirect.net:4400/
RT::rtname 	ocdirect.net
Perl configuration

Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
    Platform:
      osname=linux, osvers=2.6.9-55.0.9.elsmp,
archname=i386-linux-thread-multi
      uname='linux hs20-bc1-5.build.redhat.com 2.6.9-55.0.9.elsmp #1 smp
tue sep 25 02:16:15 edt 2007 i686 i686 i386 gnulinux '
      config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost
-Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red Hat, Inc.
-Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0'
      hint=recommended, useposix=true, d_sigaction=define
      usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
      useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
      use64bitint=undef use64bitall=undef uselongdouble=undef
      usemymalloc=n, bincompat5005=undef
    Compiler:
      cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
      optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4',
      cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
      ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-8)',
gccosandvers=''
      intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
      d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
      ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
      alignbytes=4, prototype=define
    Linker and Libraries:
      ld='gcc', ldflags =' -L/usr/local/lib'
      libpth=/usr/local/lib /lib /usr/lib
      libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
      perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
      libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
      gnulibc_version='2.3.4'
    Dynamic Linking:
      dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE'
      cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'



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

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


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






More information about the rt-users mailing list