UPDATED: RE: [rt-users] RTFM Install Problem - not sure what to do

Greg Evans gevans at hcc.net
Tue Jan 22 16:54:12 EST 2008


System Config: 
Thought this might help if someone was trying to look into this for me since
there is so little information with my problem on the net

Thanks again

Perl v5.8.8 under linux   Apache2::Const v2.000002;  Apache2::Log v2.000002;
Apache2::Module v2.000002;  Apache2::RequestIO v2.000002;
Apache2::RequestRec v2.000002;  Apache2::RequestUtil v2.000002;
Apache2::Response v2.000002;  Apache2::ServerUtil v2.000002;
Apache2::Status v4.00;  Apache::DBI v1.06;  Apache::Session v1.85;
Apache::Session::Generate::MD5 v2.1;  Apache::Session::Lock::MySQL v1.00;
Apache::Session::MySQL v1.01;  Apache::Session::Serialize::Storable v1.01;
Apache::Session::Store::DBI v1.02;  Apache::Session::Store::MySQL v1.04;
APR v0.009000;  APR::Pool v0.009000;  APR::Table v0.009000;  AutoLoader
v5.60;  base v2.07;  Benchmark v1.07;  bytes v1.02;
Cache::Simple::TimedExpiry v0.27;  capitalization v0.03;  Carp v1.04;  CGI
v3.15;  CGI::Cookie v1.26;  CGI::Util v1.5;  Class::Container v0.12;
Class::Data::Inheritable v0.06;  Class::ReturnValue v0.55;  Clone v0.28;
constant v1.05;  Cwd v3.26;  Data::Dumper v2.121_08;  Date::Format v2.22;
Date::Parse v2.27;  DateTime v0.41;  DateTime::Format::Mail v0.3001;
DateTime::Format::W3CDTF v0.04;  DateTime::Locale v0.35;  DateTime::TimeZone
v0.6904;  DateTime::TimeZone::Floating v0.01;  DateTime::TimeZone::Local
v0.01;  DateTime::TimeZone::OffsetOnly v0.02;  DateTime::TimeZone::UTC
v0.01;  DBD::mysql v3.0007;  DBI v1.601;  DBIx::SearchBuilder v1.50;
DBIx::SearchBuilder::Union v0;  DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.15;  Devel::StackTraceFrame v0.6;  Devel::Symdump
v2.08;  Digest::base v1.00;  Digest::MD5 v2.36;  DynaLoader v1.05;  Encode
v2.12;  Encode::Alias v2.04;  Encode::Config v2.01;  Encode::Encoding v2.02;
Encode::Guess v2.00;  Encode::Unicode v2.02;  Errno v1.0901;
Exception::Class v1.23;  Exception::Class::Base v1.2;  Exporter v5.58;
Exporter::Heavy v5.58;  Fcntl v1.05;  File::Basename v2.74;  File::Glob
v1.05;  File::Path v1.08;  File::Spec v3.26;  File::Spec::Functions v3.26;
File::Spec::Unix v3.26;  File::Temp v0.20;  FileHandle v2.01;  HTML::Element
v3.23;  HTML::Entities v1.35;  HTML::Formatter v2.04;  HTML::FormatText
v2.04;  HTML::Mason v1.32;  HTML::Mason::ApacheHandler v1.69;
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;  HTML::Tagset v3.10;
HTML::TreeBuilder v3.23;  HTTP::Date v1.47;  I18N::LangTags v0.35;
I18N::LangTags::Detect v1.03;  integer v1.00;  IO v1.22;  IO::File v1.13;
IO::Handle v1.25;  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.02;  IPC::Open3 v1.02;  lib v0.5565;
List::Util v1.18;  Locale::Maketext v1.09;  Locale::Maketext::Fuzzy v0.10;
Locale::Maketext::Lexicon v0.65;  Locale::Maketext::Lexicon::Gettext v0.16;
Log::Dispatch v2.20;  Log::Dispatch::Base v1.09;  Log::Dispatch::Output
v1.26;  Log::Dispatch::Screen v1.17;  Log::Dispatch::Syslog v1.18;
Mail::Address v2.02;  Mail::Field v2.02;  Mail::Field::AddrList v2.02;
Mail::Field::Date v2.02;  Mail::Field::Generic v2.02;  Mail::Header v2.02;
Mail::Internet v2.02;  Mail::Util v2.02;  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;  mod_perl v2.000002;  mod_perl2 v2.000002;
ModPerl::Const v2.000002;  Module::Versions::Report v1.03;  overload v1.04;
Params::Validate v0.89;  POSIX v1.09;  re v0.05;  Regexp::Common v2.120;
Regexp::Common::delimited v2.104;  RT v3.6.5;  RT::Interface::Email v2;
Scalar::Util v1.18;  SelectSaver v1.01;  Socket v1.78;  Storable v2.15;
strict v1.03;  Symbol v1.06;  Sys::Syslog v0.13;  Text::Autoformat v1.13;
Text::Quoted v2.03;  Text::Reform v1.11;  Text::Tabs v2005.0824;
Text::Template v1.44;  Text::WikiFormat v0.79;  Text::Wrapper v1.01;
Time::HiRes v1.86;  Time::JulianDay v2003.1125;  Time::Local v1.11;
Time::ParseDate v2006.0814;  Time::Timezone v2006.0814;  Time::Zone v2.22;
Tree::Simple v1.18;  UNIVERSAL v1.01;  UNIVERSAL::require v0.11;  URI v1.35;
URI::Escape v3.28;  URI::URL v5.03;  URI::WithBase v2.19;  utf8 v1.06;  vars
v1.01;  warnings v1.05;  warnings::register v1.01;  XML::Parser v2.36;
XML::Parser::Expat v2.36;  XML::RSS v1.31;  XSLoader v0.06;


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 RT_CommentAddressNotSet  
RT::CorrespondAddress RT_CorrespondAddressNotSet  
RT::DatabaseName rt3  
RT::DatabasePassword Password not printed  
RT::DatabaseType mysql  
RT::DatabaseUser root  
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::DefaultSummaryRows 10  
RT::EmailOutputEncoding utf-8  
RT::EtcPath /opt/rt3/etc  
RT::FriendlyFromLineFormat "%s via RT" <%s>  
RT::FriendlyToLineFormat "%s of HCC Ticket #%s":;  
RT::LocalEtcPath /opt/rt3/local/etc  
RT::LocalLexiconPath /opt/rt3/local/po  
RT::LocalPath /opt/rt3/local  
RT::LogDir /opt/rt3/var/log  
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::OldestTransactionsFirst 1  
RT::Organization hctc.com  
RT::OwnerEmail hctcadmins at hctc.com  
RT::RTAddressRegexp ^rt\@hctc.com$  
RT::RecordOutgoingEmail 1  
RT::RedistributeAutoGeneratedMessages privileged  
RT::SITE_CONFIG_FILE /opt/rt3/etc/RT_SiteConfig.pm  
RT::SendmailArguments -oi -t  
RT::SendmailBounceArguments -f "<>"  
RT::SendmailPath /usr/sbin/sendmail  
RT::ShowTransactionImages 1  
RT::StrictLinkACL 1  
RT::Timezone US/Pacific  
RT::UseFriendlyFromLine 1  
RT::VERSION 3.6.5  
RT::VarPath /opt/rt3/var  
RT::WebBaseURL http://localhost:80  
RT::WebDefaultStylesheet 3.5-default  
RT::WebFlushDbCacheEveryRequest 1  
RT::WebImagesURL /NoAuth/images/  
RT::WebPort 80  
RT::WebURL http://localhost:80/  
RT::rtname HCC  

Perl configuration
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.9-42.0.3.elsmp,
archname=i386-linux-thread-multi
    uname='linux builder6.centos.org 2.6.9-42.0.3.elsmp #1 smp fri oct 6
06:28:26 cdt 2006 i686 athlon i386 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8
-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=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto
-Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5
-Dscriptdir=/usr/bin'
    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 -fno-strict-aliasing
-pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.1.1 20070105 (Red Hat 4.1.1-52)',
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.5.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -L/usr/local/lib'


Time to display: 0.047204 
>|< RT 3.6.5 Copyright 1996-2006 Best Practical Solutions, LLC.
-----Original Message-----
From: Greg Evans [mailto:gevans at hcc.net] 
Sent: Tuesday, January 22, 2008 1:32 PM
To: 'Greg Evans'; 'Emmanuel Lacour'
Cc: rt-users at lists.bestpractical.com
Subject: RE: [rt-users] RTFM Install Problem - not sure what to do


Anyone have any ideas on what I can do to fix this issue where
$RT::LocalPath is apparently not able to be found though the RT.pm file
clearly exists in /opt/rt3/lib and $LocalPath is clearly defined in RT.pm??


>From What I can tell, RT looks to be configured correctly as it is
functioning as I expect for creation and updating of tickets. This is really
frustrating as I don't know what I have either missed or should even be
looking for.

Regards,

Greg



Previous messages below


Oops,

That was $LocalPath = '/opt/rt3/local';  not 'LocalPath=...'  I just missed
the $ when I copied and pasted.
-----Original Message-----
From: Greg Evans [mailto:gevans at hcc.net] 
Sent: Saturday, January 19, 2008 11:41 AM
To: Emmanuel Lacour
Cc: Greg Evans; rt-users at lists.bestpractical.com
Subject: Re: [rt-users] RTFM Install Problem - not sure what to do

Hi Emmanuel,  Checked what you told me and t his is what I found in / 
opt/rt3/lib/RT.pm:

LocalPath = '/opt/rt3/local';

I have beein doing everything on this machine as root, so I think that  
having permission shouldn't be  a problem. I am perplexed. I am not  
sure what I may have not configured since I am a RT newbie.

Any Ideas? I can send any config files that might be necessary as  
well, or look in any config files :)

Regards,

Greg Evans


On Jan 19, 2008, at 12:21 AM, Emmanuel Lacour wrote:

> On Fri, Jan 18, 2008 at 12:36:31PM -0800, Greg Evans wrote:
>> I had tried that previously and forgot to put that in my last  
>> message. Here
>> are the results when I do that. I looked at /opt/rt3/lib and I  
>> didn't see
>> $RT::LocalPath defined anywhere in there.
>>
>
> It should be defined in RT.pm:
>
> ex: $LocalPath = '/opt/rt3/local';
>
>> Currently the RTFM directory lies in ~/Desktop/RTFM-<version>. Do I  
>> need to
>> place it elsewhere for the install?
>>
>
> it doesn't matter.
>
>> Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
>> /usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
>> /usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/ 
>> 5.10.0
>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
>> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
>> /usr/lib/perl5/site_perl /us . /opt/rt3/lib /opt/lib/rt3 /opt/lib
>> /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/rt3/lib
>> /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/ 
>> lib
>> /sw/lib/rt3 /sw/lib
>> Path to your RT.pm:  /opt/rt3/lib
>> Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
>> /usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
>> /usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/ 
>> 5.10.0
>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
>> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
>> /usr/lib/perl5/site_perl /us . /opt/rt3/lib /opt/lib/rt3 /opt/lib
>> /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/rt3/lib
>> /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/ 
>> lib
>> /sw/lib/rt3 /sw/lib /opt/rt3/lib /opt/rt3/lib/rt3/lib /opt/rt3/lib/ 
>> lib/rt3
>> /opt/rt3/lib/lib
>> Path to your RT.pm:
>>
>
> I can't reproduce tour problem here, maybe the user that run "perl
> Makefile.PL" has no right to read /opt/rt3/lib/RT.pm ? Or maybe your  
> RT
> is half configured ?
>
> Try to first open /opt/rt3/lib/RT.pm, and look if it seems a valid  
> file
> (search for LocalPath) inside, then as the same user run your perl
> Makefile.PL, it should works.
> _______________________________________________
> 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