[rt-users] RT 3.2.1/Perl 5.8.5 EmailParser.pm/Create ticket problem

David Schnardthorst daves at wavesco.com
Tue Aug 24 16:59:38 EDT 2004


I am having the same issues as well.  I tried upgrading to 5.8.5 (installed
in /opt/rt/perl) and modified /usr/bin/mason_handler.fcgi to point to this
location.  When doing so, it still tried to execute /usr/bin/suidperl for
some reason, and of course all of the associated 5.8.0 libraries.

Any thoughts on how to correct this would be appreciated.

Also, please note, I did install all the RT required CPAN libraries (via a
bundle I created) for perl in /opt/rt/perl.

Thanks,

David J. Schnardthorst
Waves Corporation
Phone: 314.974.0932 / Fax: 636.410.0630
Email: daves at wavesco.com
http://www.wavesco.com



-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Michelle L.
Murillo
Sent: Monday, August 23, 2004 12:01 AM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] RT 3.2.1/Perl 5.8.5 EmailParser.pm/Create ticket problem

Hi,

On a Linux RHEL AS 3.x machine, I was originally using Perl 5.8.0 with a new
install of RT-3.2.1. When a ticket was created, I got the error listed
below. After reading the lists and the README, it looked like Perl 5.8.0 was
the culprit. I have installed Perl 5.8.5 (parallel to the RH default install
in /usr/), but I am still receiving this error. It looks like the old
install of Perl is still being referenced somehow, but I don't understand
how or why. (See trace below: 
/usr/lib/perl5/site_perl/5.8.0... is the original default install. It looks
like it has something to do with Mason?). My perl -V info is listed at the
very bottom. Also, I configured RT 3.2.1 to use the newer Perl by using the
environmental variables PERL5LIB and PERL.

Any help would be greatly appreciated!
Thanks!
Michelle

------------------------------------
error:     Unrecognised line: mmurillo at 
/usr/local/packages/rt/rt-3.2.1/lib/RT/EmailParser.pm line 448
   
context:    
...        
187:     # whether they should generate a full stack trace (confess() 
and cluck())   
188:     # or simply report the caller's package (croak() and carp()), 
respectively.   
189:     # confess() and croak() die, carp() and cluck() warn.   
190:        
191:     sub croak { die shortmess @_ }   
192:     sub confess { die longmess @_ }   
193:     sub carp { warn shortmess @_ }   
194:     sub cluck { warn longmess @_ }   
195:        
...        
code stack:     /usr/lib/perl5/5.8.0/Carp.pm:191
/usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm:122
/usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm:182
/usr/local/packages/rt/rt-3.2.1/lib/RT/EmailParser.pm:448
/usr/local/packages/rt/rt-3.2.1/lib/RT/User_Overlay.pm:553
/usr/local/packages/rt/rt-3.2.1/lib/RT/Ticket_Overlay.pm:520
/usr/local/packages/rt/rt-3.2.1/lib/RT/Interface/Web.pm:318
/usr/local/packages/rt/rt-3.2.1/share/html/Ticket/Display.html:75
/usr/local/packages/rt/rt-3.2.1/share/html/Ticket/Create.html:257
/usr/local/packages/rt/rt-3.2.1/share/html/autohandler:199
   

--------------------------------------
raw error:


Unrecognised line: mmurillo at
/usr/local/packages/rt/rt-3.2.1/lib/RT/EmailParser.pm line 448


Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm 
line 131
HTML::Mason::Exceptions::rethrow_exception('Unrecognised line: mmurillo 
at /usr/local/packages/rt/rt-3.2.1/lib/RT/EmailParser.pm line 448^J') 
called at /usr/lib/perl5/5.8.0/Carp.pm line 191
Carp::croak('Unrecognised line: mmurillo') called at 
/usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm line 122
Mail::Address::_tokenise('mmurillo') called at 
/usr/lib/perl5/site_perl/5.8.0/Mail/Address.pm line 182
Mail::Address::parse('Mail::Address', 'mmurillo') called at 
/usr/local/packages/rt/rt-3.2.1/lib/RT/EmailParser.pm line 448
RT::EmailParser::ParseAddressFromHeader('', 'mmurillo') called at 
/usr/local/packages/rt/rt-3.2.1/lib/RT/User_Overlay.pm line 553
RT::User::LoadOrCreateByEmail('RT::User=HASH(0x96e3074)', 'mmurillo') 
called at /usr/local/packages/rt/rt-3.2.1/lib/RT/Ticket_Overlay.pm line 520
RT::Ticket::Create('RT::Ticket=HASH(0x96cba00)', 'DependsOn', 
'ARRAY(0x915c8b0)', 'Requestor', 'ARRAY(0x915599c)', 'TimeEstimated', 
undef, 'RefersTo', 'ARRAY(0x915fc3c)', 'Cc', 'ARRAY(0x91559f0)', 
'ReferredToBy', 'ARRAY(0x915fc54)', 'Subject', '', 'Status', 'new', 
'Children', 'ARRAY(0x915c8f8)', 'FinalPriority', 0, 'TimeLeft', '', 
'Queue', 'database', 'AdminCc', 'ARRAY(0x915c550)', 'DependedOnBy', 
'ARRAY(0x915c8c8)', 'CustomField-2', '', 'Owner', 10, 'MIMEObj', 
'MIME::Entity=HASH(0x96c79a0)', 'Type', 'ticket', 'InitialPriority', 0, 
'Parents', 'ARRAY(0x915c8e0)', 'Starts', '1970-01-01 00:00:00', 
'TimeWorked', '', 'Due', '1970-01-01 00:00:00') called at 
/usr/local/packages/rt/rt-3.2.1/lib/RT/Interface/Web.pm line 318
HTML::Mason::Commands::CreateTicket('Attachments', undef, 
'CustomField-2-Values', '', 'Status', 'new', 'new-DependsOn', '', 
'Queue', 'database', 'AdminCc', '', 'Requestors', 'mmurillo', 
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 
'id', 'new', 'Cc', '', 'Subject', '', 'FinalPriority', 0, 
'new-RefersTo', '', 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', 
'', 'Owner', 10, 'new-MemberOf', '', 'CustomField-2-Values-Magic', 1, 
'MemberOf-new', '', 'Content', 'asdfa', 'Due', '') called at 
/usr/local/packages/rt/rt-3.2.1/share/html/Ticket/Display.html line 75
HTML::Mason::Commands::__ANON__('Owner', 10, 'DependsOn-new', '', 
'Requestors', 'mmurillo', 'Cc', '', 'InitialPriority', 0, 
'CustomField-2-Values-Magic', 1, 'new-MemberOf', '', 'Subject', '', 
'Starts', '', 'CustomField-2-Values', '', 'MemberOf-new', '', 'Attach', 
'', 'Status', 'new', 'FinalPriority', 0, 'new-RefersTo', '', 
'TimeWorked', '', 'new-DependsOn', '', 'Content', 'asdfa', 'TimeLeft', 
'', 'RefersTo-new', '', 'id', 'new', 'Queue', 'database', 'Due', '', 
'AdminCc', '') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x96cb70
c)', 
'Owner', 10, 'DependsOn-new', '', 'Requestors', 'mmurillo', 'Cc', '', 
'InitialPriority', 0, 'CustomField-2-Values-Magic', 1, 'new-MemberOf', 
'', 'Subject', '', 'Starts', '', 'CustomField-2-Values', '', 
'MemberOf-new', '', 'Attach', '', 'Status', 'new', 'FinalPriority', 0, 
'new-RefersTo', '', 'TimeWorked', '', 'new-DependsOn', '', 'Content', 
'asdfa', 'TimeLeft', '', 'RefersTo-new', '', 'id', 'new', 'Queue', 
'database', 'Due', '', 'AdminCc', '') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1074
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'Owner', 10, 'DependsOn-new', 
'', 'Requestors', 'mmurillo', 'Cc', '', 'InitialPriority', 0, 
'CustomField-2-Values-Magic', 1, 'new-MemberOf', '', 'Subject', '', 
'Starts', '', 'CustomField-2-Values', '', 'MemberOf-new', '', 'Attach', 
'', 'Status', 'new', 'FinalPriority', 0, 'new-RefersTo', '', 
'TimeWorked', '', 'new-DependsOn', '', 'Content', 'asdfa', 'TimeLeft', 
'', 'RefersTo-new', '', 'id', 'new', 'Queue', 'database', 'Due', '', 
'AdminCc', '') called at 
/usr/local/packages/rt/rt-3.2.1/share/html/Ticket/Create.html line 257
HTML::Mason::Commands::__ANON__('CustomField-2-Values', '', 'Status', 
'new', 'new-DependsOn', '', 'Queue', 'database', 'AdminCc', '', 
'Requestors', 'mmurillo', 'InitialPriority', 0, 'Starts', '', 'Attach', 
'', 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', '', 
'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', 
'', 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 
'CustomField-2-Values-Magic', 1, 'MemberOf-new', '', 'Content', 'asdfa', 
'Due', '', 'CustomField-2-Values', '', 'Status', 'new', 'new-DependsOn', 
'', 'Queue', 'database', 'AdminCc', '', 'Requestors', 'mmurillo', 
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 
'id', 'new', 'Cc', '', 'Subject', '', 'FinalPriority', 0, 
'new-RefersTo', '', 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', 
'', 'Owner', 10, 'new-MemberOf', '', 'CustomField-2-Values-Magic', 1, 
'MemberOf-new', '', 'Content', 'asdfa', 'Due', '') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x96572d
c)', 
'CustomField-2-Values', '', 'Status', 'new', 'new-DependsOn', '', 
'Queue', 'database', 'AdminCc', '', 'Requestors', 'mmurillo', 
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 
'id', 'new', 'Cc', '', 'Subject', '', 'new-RefersTo', '', 
'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', 
'', 'Owner', 10, 'new-MemberOf', '', 'CustomField-2-Values-Magic', 1, 
'MemberOf-new', '', 'Content', 'asdfa', 'Due', '', 
'CustomField-2-Values', '', 'Status', 'new', 'new-DependsOn', '', 
'Queue', 'database', 'AdminCc', '', 'Requestors', 'mmurillo', 
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 
'id', 'new', 'Cc', '', 'Subject', '', 'FinalPriority', 0, 
'new-RefersTo', '', 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', 
'', 'Owner', 10, 'new-MemberOf', '', 'CustomField-2-Values-Magic', 1, 
'MemberOf-new', '', 'Content', 'asdfa', 'Due', '') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1074
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, 'CustomField-2-Values', '', 
'Status', 'new', 'new-DependsOn', '', 'Queue', 'database', 'AdminCc', 
'', 'Requestors', 'mmurillo', 'InitialPriority', 0, 'Starts', '', 
'Attach', '', 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', '', 
'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', 
'', 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 
'CustomField-2-Values-Magic', 1, 'MemberOf-new', '', 'Content', 'asdfa', 
'Due', '', 'CustomField-2-Values', '', 'Status', 'new', 'new-DependsOn', 
'', 'Queue', 'database', 'AdminCc', '', 'Requestors', 'mmurillo', 
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 
'id', 'new', 'Cc', '', 'Subject', '', 'FinalPriority', 0, 
'new-RefersTo', '', 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', 
'', 'Owner', 10, 'new-MemberOf', '', 'CustomField-2-Values-Magic', 1, 
'MemberOf-new', '', 'Content', 'asdfa', 'Due', '') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x
9611a54)', 
'CustomField-2-Values', '', 'Status', 'new', 'new-DependsOn', '', 
'Queue', 'database', 'AdminCc', '', 'Requestors', 'mmurillo', 
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 
'id', 'new', 'Cc', '', 'Subject', '', 'FinalPriority', 0, 
'new-RefersTo', '', 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', 
'', 'Owner', 10, 'new-MemberOf', '', 'CustomField-2-Values-Magic', 1, 
'MemberOf-new', '', 'Content', 'asdfa', 'Due', '') called at 
/usr/local/packages/rt/rt-3.2.1/share/html/autohandler line 199
HTML::Mason::Commands::__ANON__('CustomField-2-Values', '', 'Status', 
'new', 'new-DependsOn', '', 'Queue', 'database', 'AdminCc', '', 
'Requestors', 'mmurillo', 'InitialPriority', 0, 'Starts', '', 'Attach', 
'', 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', '', 
'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', 
'', 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 
'CustomField-2-Values-Magic', 1, 'MemberOf-new', '', 'Content', 'asdfa', 
'Due', '') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x96693a
c)', 
'CustomField-2-Values', '', 'Status', 'new', 'new-DependsOn', '', 
'Queue', 'database', 'AdminCc', '', 'Requestors', 'mmurillo', 
'InitialPriority', 0, 'Starts', '', 'Attach', '', 'TimeWorked', '', 
'id', 'new', 'Cc', '', 'Subject', '', 'new-RefersTo', '', 
'FinalPriority', 0, 'RefersTo-new', '', 'TimeLeft', '', 'DependsOn-new', 
'', 'Owner', 10, 'new-MemberOf', '', 'CustomField-2-Values-Magic', 1, 
'MemberOf-new', '', 'Content', 'asdfa', 'Due', '') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1069
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef, 'CustomField-2-Values', 
'', 'Status', 'new', 'new-DependsOn', '', 'Queue', 'database', 
'AdminCc', '', 'Requestors', 'mmurillo', 'InitialPriority', 0, 'Starts', 
'', 'Attach', '', 'TimeWorked', '', 'id', 'new', 'Cc', '', 'Subject', 
'', 'new-RefersTo', '', 'FinalPriority', 0, 'RefersTo-new', '', 
'TimeLeft', '', 'DependsOn-new', '', 'Owner', 10, 'new-MemberOf', '', 
'CustomField-2-Values-Magic', 1, 'MemberOf-new', '', 'Content', 'asdfa', 
'Due', '') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9611a
54)') 
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm 
line 134
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm 
line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandl
er=HASH(0x9611a54)') 
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm 
line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(
0x8628b00)', 
'Apache::RequestRec=SCALAR(0x86252f0)') called at 
/usr/local/packages/rt/rt-3.2.1/bin/webmux.pl line 105
eval {...} at /usr/local/packages/rt/rt-3.2.1/bin/webmux.pl line 105
RT::Mason::handler('Apache::RequestRec=SCALAR(0x86252f0)') called at -e 
line 0
eval {...} at -e line 0


******************************
perl -V


Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
  Platform:
    osname=linux, osvers=2.4.21-15.0.3.el, archname=i686-linux
    uname='linux arctic.lternet.edu 2.4.21-15.0.3.el #1 tue jun 29 
18:17:52 edt
2004 i686 i686 i386 gnulinux '
    config_args='-de -Dprefix=/usr/local/packages/perl-5.8.5'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=unde
f
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include 
-D_LARGEF
ILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -I/usr/local/include 
-I/usr/include/gdb
m'
    ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-39)', 
gccosand
vers=''
    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='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Aug 22 2004 19:58:42
  %ENV:
    PERL="/usr/local/packages/perl-5.8.5/bin/perl"
    
PERL5LIB="/usr/local/packages/perl-5.8.5/lib:/usr/local/packages/perl-5.8.5/
lib/site_perl/i686-linux"
  @INC:
    /usr/local/packages/perl-5.8.5/lib/5.8.5/i686-linux
    /usr/local/packages/perl-5.8.5/lib/5.8.5
    /usr/local/packages/perl-5.8.5/lib
    /usr/local/packages/perl-5.8.5/lib/site_perl/i686-linux
    /usr/local/packages/perl-5.8.5/lib/5.8.5/i686-linux
    /usr/local/packages/perl-5.8.5/lib/5.8.5
    /usr/local/packages/perl-5.8.5/lib/site_perl/5.8.5/i686-linux
    /usr/local/packages/perl-5.8.5/lib/site_perl/5.8.5
    /usr/local/packages/perl-5.8.5/lib/site_perl
    .







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

Be sure to check out the RT wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list