[rt-users] Patching RedHat breaks RT

Kemp, Darren Darren.Kemp at xerox.com
Fri Jun 23 10:31:34 EDT 2006


Thanks, that got it!

-dkk
 

-----Original Message-----
From: Ruslan Zakirov [mailto:ruslan.zakirov at gmail.com] 
Sent: Thursday, June 22, 2006 9:11 PM
To: Kemp, Darren
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Patching RedHat breaks RT

On 6/23/06, Kemp, Darren <Darren.Kemp at xerox.com> wrote:
>
>
> I recently patched my RT server to the latest levels (it is redhat ES 
> 4) (yah I know, bad idea)
>
> Unfortunately this horribly broke my RT install. I have managed to fix

> and update most of the modules and issues I have encountered, but this

> last one is puzzling, I can no longer get mail to go through
rt-mailgate.
Rebuild Log::Dispatch from sources, don't forget to run test suite.
Also, read http://wiki.bestpractical.com/index.cgi?NoConnectionToSyslog

>
> From sendmail the error appears as so:
>
> Jun 22 16:24:40 sauron sendmail[3436]: k5MKOeFT003435:
> to="|/etc/smrsh/rt-mailgate --queue 'operations' --action comment 
> --url http://foo.bar.com/", ctladdr=<operations at foo.bar.com> (8/0), 
> delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30574, dsn=4.0.0,
> stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
>
> I tried a manual send with debug on and recieved the following:
>
> [root at sauron dkemp]# /usr/local/rt/bin/rt-mailgate --queue operations 
> --action correspond --debug --url=http://foo.bar.com < ./testmsg 
> Connecting to http://foo.bar.com/REST/1.0/NoAuth/mail-gateway at 
> /usr/local/rt/bin/rt-mailgate line 99, <> chunk 1.
> no connection to syslog available
>         - _PATH_LOG not available in syslog.h at 
> /usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch/Syslog.pm
> line 77
>
> Stack:
>   [/usr/local/lib/perl5/5.8.7/Carp.pm:269]
>   [/usr/local/lib/perl5/5.8.7/i686-linux/Sys/Syslog.pm:412]
>   [/usr/local/lib/perl5/5.8.7/i686-linux/Sys/Syslog.pm:241]
>
> [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch/Syslog.pm:77]
>
> [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch/Output.pm:41]
>   [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch.pm:95]
>   [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch.pm:74]
>   [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch.pm:22]
>   [/usr/local/rt/lib/RT/I18N.pm:410]
>   [/usr/local/rt/lib/RT/I18N.pm:367]
>   [/usr/local/rt/lib/RT/I18N.pm:190]
>   [/usr/local/rt/lib/RT/EmailParser.pm:266]
>   [/usr/local/rt/lib/RT/EmailParser.pm:237]
>   [/usr/local/rt/lib/RT/EmailParser.pm:176]
>   [/usr/local/rt/lib/RT/EmailParser.pm:136]
>   [/usr/local/rt/lib/RT/Interface/Email.pm:515]
>
> [/usr/local/rt/share/html/REST/1.0/NoAuth/mail-gateway:59]
> RT server error.
>
> The RT server which handled your email did not behave as expected. It
> said:
>
> no connection to syslog available
>         - _PATH_LOG not available in syslog.h at 
> /usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch/Syslog.pm
> line 77
>
> Stack:
>   [/usr/local/lib/perl5/5.8.7/Carp.pm:269]
>   [/usr/local/lib/perl5/5.8.7/i686-linux/Sys/Syslog.pm:412]
>   [/usr/local/lib/perl5/5.8.7/i686-linux/Sys/Syslog.pm:241]
>
> [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch/Syslog.pm:77]
>
> [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch/Output.pm:41]
>   [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch.pm:95]
>   [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch.pm:74]
>   [/usr/local/lib/perl5/site_perl/5.8.7/Log/Dispatch.pm:22]
>   [/usr/local/rt/lib/RT/I18N.pm:410]
>   [/usr/local/rt/lib/RT/I18N.pm:367]
>   [/usr/local/rt/lib/RT/I18N.pm:190]
>   [/usr/local/rt/lib/RT/EmailParser.pm:266]
>   [/usr/local/rt/lib/RT/EmailParser.pm:237]
>   [/usr/local/rt/lib/RT/EmailParser.pm:176]
>   [/usr/local/rt/lib/RT/EmailParser.pm:136]
>   [/usr/local/rt/lib/RT/Interface/Email.pm:515]
>
> [/usr/local/rt/share/html/REST/1.0/NoAuth/mail-gateway:59]
>
> Google has come up short on tihs issue except for some solaris 
> specific bugs way back in perl 5.8.0 I have tried to force a reinstall

> of Sys::Syslog but it did not help.
>
> Anyone who has any insight to this issue, please let me know.
>
> -dkk
>
>
> version information:
>
> Sendmail 8.12.11.20060308/8.12.11;
>
> Perl v5.8.7 under linux
>   Apache::Session v1.81;
>   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.07;
>   Benchmark v1.07;
>   bytes v1.02;
>   Cache::Simple::TimedExpiry v0.23;
>   capitalization v0.03;
>   Carp v1.04;
>   CGI v3.20;
>   CGI::Cookie v1.27;
>   CGI::Fast v1.07;
>   CGI::Util v1.5;
>   Class::Container v0.12;
>   Class::Data::Inheritable v0.04;
>   Class::ReturnValue v0.53;
>   Clone v0.20;
>   constant v1.05;
>   Cwd v3.18;
>   Data::Dumper v2.121_04;
>   DBD::mysql v3.0002;
>   DBI v1.51;
>   DBIx::SearchBuilder v1.43;
>   DBIx::SearchBuilder::Unique v0.01;
>   Devel::StackTrace v1.13;
>   Devel::StackTraceFrame v0.6;
>   Devel::Symdump v2.0601;
>   Digest::base v1.00;
>   Digest::MD5 v2.36;
>   DynaLoader v1.05;
>   Encode v2.18;
>   Encode::Alias v2.06;
>   Encode::Config v2.03;
>   Encode::Encoding v2.04;
>   Encode::Guess v2.02;
>   Encode::Unicode v2.03;
>   Errno v1.0901;
>   Exception::Class v1.23;
>   Exception::Class::Base v1.2;
>   Exporter v5.58;
>   Exporter::Heavy v5.58;
>   FCGI v0.67;
>   Fcntl v1.05;
>   File::Basename v2.73;
>   File::Glob v1.04;
>   File::Path v1.07;
>   File::Spec v3.18;
>   File::Spec::Unix v1.5;
>   File::Temp v0.16;
>   FileHandle v2.01;
>   HTML::Entities v1.35;
>   HTML::Mason v1.33;
>   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.54;
>   HTML::Scrubber v0.08;
>   I18N::LangTags v0.35;
>   integer v1.00;
>   IO v1.23;
>   IO::File v1.14;
>   IO::Handle v1.27;
>   IO::InnerFile v2.110;
>   IO::Lines v2.110;
>   IO::Scalar v2.110;
>   IO::ScalarArray v2.110;
>   IO::Seekable v1.1;
>   IO::Wrap v2.110;
>   IO::WrapTie v2.110;
>   IPC::Open2 v1.01;
>   IPC::Open3 v1.0106;
>   lib v0.5565;
>   List::Util v1.18;
>   Locale::Maketext v1.10;
>   Locale::Maketext::Fuzzy v0.02;
>   Locale::Maketext::Lexicon v0.62;
>   Locale::Maketext::Lexicon::Gettext v0.15;
>   Log::Dispatch v2.11;
>   Log::Dispatch::Base v1.09;
>   Log::Dispatch::Output v1.26;
>   Log::Dispatch::Screen v1.17;
>   Log::Dispatch::Syslog v1.18;
>   Mail::Address v1.74;
>   Mail::Field v1.74;
>   Mail::Field::AddrList v1.74;
>   Mail::Header v1.74;
>   Mail::Internet v1.74;
>   MIME::Base64 v3.07;
>   MIME::Body v5.420;
>   MIME::Decoder v5.420;
>   MIME::Decoder::NBit 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.07;
>   MIME::Tools v5.420;
>   MIME::Words v5.420;
>   Module::Versions::Report v1.02;
>   overload v1.03;
>   Params::Validate v0.85;
>   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.2;
>   RT::Interface::Email v1.02;
>   Scalar::Util v1.18;
>   SelectSaver v1.01;
>   Socket v1.77;
>   Storable v2.15;
>   strict v1.03;
>   Symbol v1.06;
>   Sys::Syslog v0.16;
>   Text::Autoformat v1.13;
>   Text::Quoted v1.8;
>   Text::Reform v1.11;
>   Text::Tabs v2005.0824;
>   Text::Template v1.44;
>   Text::Wrapper v1.000;
>   Time::HiRes v1.87;
>   Time::JulianDay v2003.1125;
>   Time::Local v1.12;
>   Time::ParseDate v2003.1126;
>   Time::Timezone v2003.0211;
>   utf8 v1.05;
>   vars v1.01;
>   warnings v1.03;
>   warnings::register v1.00;
>   XSLoader v0.02;
>
>
>
>
> Darren Kemp
> XGS
> Darren.Kemp at xerox.com (585)264-5031
>
> _______________________________________________
> 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
>
>
> We're hiring! Come hack Perl for Best Practical:
> http://bestpractical.com/about/jobs.html
>
>


--
Best regards, Ruslan.



More information about the rt-users mailing list