RT 3.8.4 and RTFM 2.4.2 No errors, but no RTFM links, have added "Set(@Plugins,qw(RT::FM)); " to RT_Siteconfig.pm

Ok, I’ve been beating my head on this one. I had RTFM up and working on a test RT 3.8.2 server and then it just disappeared from the menu. I tried to figure out why, but after spending an afternoon trying to figure it out I decided that I wouldn’t worry about it as I was going to be reinstalling from scratch for the production system anyway.

So, now I have RT 3.8.4 working, and when I install RTFM 2.4.2 it completes with no errors. I added Set(@Plugins,qw(RT::FM)); to my RT_Siteconfig.pm and flushed the mason cache and restarted httpd. I log into RT, but RTFM isn’t there. RTFM isn’t listed in the System Configuration.

I’ve got RT’s debug log on, and there are no errors there (except for graphviz) and there are no errors in apache’s logs either.

I’ve searched the web and the mailing lists for this, but almost all of them are due to the missing Set(@Plugins,qw(RT::FM)); or the install location not being in /opt/rt3/local/plugins (which it is for my install). I’m stuck. Any help would be appreciated.

Here is my RT_Siteconfig.pm:

Any configuration directives you include here will override

RT’s default configuration file, RT_Config.pm

To include a directive here, just copy the equivalent statement

from RT_Config.pm and change the value. We’ve included a single

sample value below.

This file is actually a perl module, so you can include valid

perl code, as well.

The converse is also true, if this file isn’t valid perl, you’re

going to run into trouble. To check your SiteConfig file, use

this comamnd:

perl -c /path/to/your/etc/RT_SiteConfig.pm

Set( $rtname, ‘rt.example.com’);
Set( $Organization, ‘Helpdesk’);
Set( $CorrespondAddress, ‘rt@rt.example.com’);
Set( $CommentAddress, ‘rt-comments@rt.example.com’);
Set( $Timezone, ‘America/Winnipeg’);
Set( $LogToSyslog, undef);
Set( $LogToScreen, ‘error’);
Set( $LogToFile, ‘debug’);
Set( $LogDir, ‘/usr/local/rt3/var/log’);
Set( $LogToFileNamed, ‘rt.log’);

The Database

Set( $DatabaseType, ‘mysql’);
Set( $DatabaseUser, ‘rt_user’);
Set( $DatabasePassword, ‘s3kr3t’);
Set( $DatabaseName, ‘rt3’);

The Webserver

#Set( $WebPath, ‘/rt’);
Set( $WebBaseURL, ‘http://rt.example.com’);

Set(@Plugins,qw(RT::FM));
Set( @Plugins, qw(RT::Authen::ExternalAuth));
Set( $ExternalAuthPriority, [‘My_LDAP’]);
Set( $ExternalInfoPriority, [‘My_LDAP’]);
Set( $ExternalSettings, {
‘My_LDAP’ => {
‘type’ => ‘ldap’,
‘server’ => ‘netware.example.com’,
‘user’ => ‘cn=username,ou=local,o=ACME’,
‘pass’ => ‘s3kr3t’,
‘base’ => ‘ou=Local,o=ACME’,
‘port’ => ‘389’,
‘filter’ => ‘(objectClass=Person)’,
‘d_filter’ => ‘(loginDisabled=TRUE)’,

‘tls’ => 1,

‘ssl_version’ => 3,

‘attr_match_list’ => [
‘Name’,
‘EmailAddress’,
],
‘attr_map’ => {
‘Name’ => ‘uid’,
‘ExternalAuthId’ => ‘uid’,
‘RealName’ => ‘displayName’,
‘EmailAddress’ => ‘mail’,
‘WorkPhone’ => ‘telephoneNumber’,

‘Address1’ => ‘postalAddress’,

‘Gecos’ => ‘cn’,
‘NickName’ => ‘givenName’,
‘Address1’ => ‘postalAddress’,
‘Lang’ => ‘Language’,

‘ExtraInfo’ => ‘title’

},
}
}
);
1;

And here is my System Configuration:

Loaded perl modules

Perl v5.8.8 under linux
Apache2::Const v2.000004;
Apache2::Log v2.000004;
Apache2::RequestIO v2.000004;
Apache2::RequestRec v2.000004;
Apache2::RequestUtil v2.000004;
Apache2::Response v2.000004;
Apache2::ServerUtil v2.000004;
Apache2::Status v4.00;
Apache::Session v1.88;
Apache::Session::Generate::MD5 v2.12;
Apache::Session::lock::MySQL v1.01;
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;
bytes v1.02;
Cache::Simple::TimedExpiry v0.27;
capitalization v0.03;
Carp v1.04;
CGI v3.43;
CGI::Cookie v1.29;
CGI::Util v1.5_01;
Class::Accessor v0.33;
Class::Accessor::Fast v0.33;
Class::Container v0.12;
Class::Data::Inheritable v0.08;
Class::Inspector v1.24;
Class::ISA v0.33;
Class::ReturnValue v0.55;
Clone v0.31;
constant v1.05;
Convert::ASN1 v0.22;
CSS::Squish v0.08;
Cwd v3.3;
Data::Dumper v2.124;
DateTime v0.50;
DateTime::Locale v0.43;
DateTime::TimeZone v0.91;
DateTime::TimeZone::Floating v0.01;
DateTime::TimeZone::Local v0.01;
DateTime::TimeZone::OffsetOnly v0.02;
DateTime::TimeZone::UTC v0.01;
DBD::mysql v4.011;
DBI v1.609;
DBIx::SearchBuilder v1.55;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.21;
Devel::StackTraceFrame v1.21;
Devel::Symdump v2.08;
Digest::base v1.00;
Digest::MD5 v2.39;
DynaLoader v1.05;
Email::Address v1.889;
Encode v2.33;
Encode::Alias v2.12;
Encode::Config v2.05;
Encode::Encoding v2.05;
Errno v1.0901;
Exception::Class v1.29;
Exception::Class::Base v1.20;
Exporter v5.58;
Exporter::Heavy v5.58;
Fcntl v1.05;
File::Basename v2.74;
File::Glob v1.05;
File::Path v1.08;
File::ShareDir v1.00;
File::Spec v3.3;
File::Spec::Unix v3.3;
File::Temp v0.22;
FileHandle v2.01;
GD v2.43;
GD::Image v2.38;
HTML::Element v3.23;
HTML::Entities v3.60;
HTML::Formatter v2.04;
HTML::FormatText v2.04;
HTML::Mason v1.42;
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.61;
HTML::Scrubber v0.08;
HTML::Tagset v3.20;
HTML::TreeBuilder v3.23;
I18N::LangTags v0.35;
integer v1.00;
IO v1.22;
IO::File v1.13;
IO::Handle v1.25;
IO::InnerFile v2.110;
IO::Lines v2.110;
IO::ScalarArray v2.110;
IO::Seekable v1.1;
IO::Select v1.17;
IO::Socket v1.29;
IO::Socket::INET v1.29;
IO::Socket::UNIX v1.22;
IO::WrapTie v2.110;
IPC::Open2 v1.02;
IPC::Open3 v1.02;
List::MoreUtils v0.22;
List::Util v1.21;
Locale::Maketext v1.13;
Locale::Maketext::Fuzzy v0.10;
Locale::Maketext::Guts v1.13;
Locale::Maketext::GutsLoader v1.13;
Locale::Maketext::Lexicon v0.77;
Locale::Maketext::Lexicon::Gettext v0.17;
Log::Dispatch v2.22;
Log::Dispatch::Base v1.09;
Log::Dispatch::File v1.22;
Log::Dispatch::Output v1.26;
Log::Dispatch::Screen v1.17;
Mail::Address v2.04;
Mail::Field v2.04;
Mail::Field::AddrList v2.04;
Mail::Field::Date v2.04;
Mail::Field::Generic v2.04;
Mail::Header v2.04;
Mail::Internet v2.04;
Mail::Mailer v2.04;
Mail::Util v2.04;
MIME::Base64 v3.07;
MIME::Body v5.427;
MIME::Decoder v5.427;
MIME::Entity v5.427;
MIME::Field::ContDisp v5.427;
MIME::Field::ConTraEnc v5.427;
MIME::Field::ContType v5.427;
MIME::Field::ParamVal v5.427;
MIME::Head v5.427;
MIME::Parser v5.427;
MIME::QuotedPrint v3.07;
MIME::Tools v5.427;
MIME::Words v5.427;
mod_perl v2.000004;
mod_perl2 v2.000004;
ModPerl::Const v2.000004;
Module::Versions::Report v1.06;
Net::LDAP v0.39;
Net::LDAP::ASN v0.08;
Net::LDAP::Constant v0.07;
Net::LDAP::Filter v0.15;
Net::LDAP::Message v1.11;
Net::LDAP::Util v0.11;
overload v1.04;
Params::Util v1.00;
Params::Validate v0.91;
PerlIO v1.04;
PerlIO::scalar v0.04;
POSIX v1.09;
re v0.05;
Regexp::Common v2.122;
Regexp::Common::delimited v2.106;
RT v3.8.4;
RT::Authen::ExternalAuth v0.08;
RT::Interface::Email v2;
RT::Interface::Web::Request v0.30;
RTx::AssetTracker v0.0.0;
Scalar::Util v1.21;
SelectSaver v1.01;
Socket v1.78;
Storable v2.20;
strict v1.03;
Symbol v1.06;
Text::Template v1.45;
Text::Wrapper v1.02;
Tie::Hash v1.02;
Time::HiRes v1.9719;
Time::JulianDay v2003.1125;
Time::Local v1.11;
Time::ParseDate v2006.0814;
Time::Timezone v2006.0814;
Time::Zone v2.22;
UNIVERSAL v1.01;
UNIVERSAL::require v0.13;
URI v1.38;
URI::Escape v3.29;
URI::file v4.20;
utf8 v1.06;
vars v1.01;
warnings v1.05;
warnings::register v1.01;
XSLoader v0.06;

RT Config

ActiveStatus
new, open, stalled

core config

Active_MakeClicky

core config

AmbiguousDayInFuture
0

core config

AmbiguousDayInPast
0

core config

ApprovalRejectionNotes
1

core config

AutoLogoff
0

core config

CanonicalizeOnCreate
0

core config

CanonicalizeRedirectURLs
0

core config

CommentAddress
rt-comments@rt.acme.com

site config

CorrespondAddress
rt@rt.acme.com

site config

CustomFieldValuesSources

core config

DashboardAddress

core config

DashboardSubject
%s Dashboard: %s

core config

DatabaseHost
localhost

core config

DatabaseName
rt3

site config

DatabasePassword
Password not printed

site config

DatabasePort

core config

DatabaseRTHost
localhost

core config

DatabaseType
mysql

site config

DatabaseUser
rt_user

site config

DateDayBeforeMonth
1

core config

DateTimeFormat
DefaultFormat

core config

DefaultSearchResultFormat
id/TITLE:#’, ‘Subject/TITLE:Subject’, Status, QueueName, OwnerName, Priority, ‘NEWLINE’, ‘’, ‘Requestors’, ‘CreatedRelative’, ‘ToldRelative’, ‘LastUpdatedRelative’, ‘TimeLeft

core config

DefaultSummaryRows
10

core config

DefaultTimeUnitsToHours
0

core config

DevelMode
0

core config

DisableGraphViz
1

core config

EmailFrequency
Individual messages

core config

EmailInputEncodings
utf-8, iso-8859-1, us-ascii

core config

EmailOutputEncoding
utf-8

core config

EnableReminders
1

core config

ExternalAuthPriority
My_LDAP

site config

ExternalInfoPriority
My_LDAP

site config

ExternalSettings
My_LDAP, HASH(0xa58aef0)

site config

ExtractSubjectTagMatch
Regexp

core config

ExtractSubjectTagNoMatch
Regexp

core config

ForwardFromUser
0

core config

FriendlyFromLineFormat
"%s via RT" <%s>

core config

FriendlyToLineFormat
"%s of rt.acme.com Ticket #%s":;

core config

GnuPG
RejectOnBadData, 1, Enable, 0, RejectOnMissingPrivateKey, 1, AllowEncryptDataInDB, 0, OutgoingMessagesFormat, RFC

core config

GnuPGOptions
homedir, /opt/rt3/var/data/gpg

core config

HomePageRefreshInterval
0

core config

HomepageComponents
QuickCreate, Quicksearch, MyAdminQueues, MySupportQueues, MyReminders, RefreshHomepage, Dashboards

core config

InactiveStatus
resolved, rejected, deleted

core config

LexiconLanguages

core config

LinkTransactionsRun1Scrip
0

core config

LogDir
/usr/local/rt3/var/log

site config

LogStackTraces

core config

LogToFile
debug

site config

LogToFileNamed
rt.log

site config

LogToScreen
error

site config

LogToSyslogConf

core config

LogoURL
/NoAuth/images/bplogo.gif

core config

LoopsToRTOwner
1

core config

MailCommand
sendmailpipe

core config

MailParams

core config

MasonParameters

core config

MaxAttachmentSize
10000000

core config

MaxInlineBody
12000

core config

MessageBoxHeight
15

core config

MessageBoxIncludeSignature
1

core config

MessageBoxRichText
1

core config

MessageBoxRichTextHeight
200

core config

MessageBoxWidth
72

core config

MessageBoxWrap
HARD

core config

MinimumPasswordLength
5

core config

NetServerOptions

core config

NotifyActor
0

core config

OldestTransactionsFirst
1

core config

Organization
Helpdesk

site config

OwnerEmail
root

core config

PlainTextPre
0

core config

Plugins
RT::Authen::ExternalAuth

site config

PreviewScripMessages
0

core config

RTAddressRegexp
^rt@example.com$

core config

RecordOutgoingEmail
1

core config

RedistributeAutoGeneratedMessages
privileged

core config

SMTPDebug
0

core config

SearchResultsRefreshInterval
0

core config

SelfServiceRegex
Regexp

core config

SendmailArguments
-oi -t

core config

SendmailBounceArguments
-f “<>”

core config

SendmailPath
/usr/sbin/sendmail

core config

ShowBccHeader
0

core config

ShowTransactionImages
1

core config

ShowUnreadMessageNotifications
1

core config

StandaloneMaxServers
1

core config

StandaloneMaxSpareServers
0

core config

StandaloneMinServers
1

core config

StandaloneMinSpareServers
0

core config

StrictLinkACL
1

core config

Timezone
America/Winnipeg

site config

UseFriendlyFromLine
1

core config

UseFriendlyToLine
0

core config

UseTransactionBatch
1

core config

UsernameFormat
concise

core config

WebBaseURL
http://rt.acme.com

site config

WebDefaultStylesheet
web2

core config

WebDomain
localhost

core config

WebFlushDbCacheEveryRequest
1

core config

WebImagesURL
/NoAuth/images/

core config

WebNoAuthRegex
Regexp

core config

WebPath

core config

WebPort
80

core config

WebSecureCookies
0

core config

WebURL
http://rt.acme.com/

core config

WikiImplicitLinks
0

core config

rtname
rt.acme.com

site config

RT Variables

RT::BasePath
/opt/rt3

RT::BinPath
/opt/rt3/bin

RT::EtcPath
/opt/rt3/etc

RT::LocalEtcPath
/opt/rt3/local/etc

RT::LocalLexiconPath
/opt/rt3/local/po

RT::LocalLibPath
/opt/rt3/local/lib

RT::LocalPath
/opt/rt3/local

RT::LocalPluginPath
/opt/rt3/local/plugins

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::SbinPath
/opt/rt3/sbin

RT::VERSION
3.8.4

RT::VarPath
/opt/rt3/var

RT Size

Tickets
0

Queues
11

Transactions
758

Groups
382

Privileged Users
21

Unprivileged Users
275

Perl configuration

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:

Platform:

osname=linux, osvers=2.6.18-128.1.1.el5, archname=i386-linux-thread-multi

uname='linux hs20-bc2-5.build.redhat.com 2.6.18-128.1.1.el5 #1 smp mon jan 26 13:58:24 est 2009 i686 i686 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@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.2 20080704 (Red Hat 4.1.2-44)’, 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’

Perl Include Paths (@INC)

/opt/rt3/bin/…/local/lib

/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib

/opt/rt3/bin/…/lib

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi

/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

/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.8

/usr/lib/perl5/vendor_perl/5.8.7

/usr/lib/perl5/vendor_perl/5.8.6

/usr/lib/perl5/vendor_perl/5.8.5

/usr/lib/perl5/vendor_perl

/usr/lib/perl5/5.8.8/i386-linux-thread-multi

/usr/lib/perl5/5.8.8

.

/etc/httpd

Thanks,

Mike

Set(@Plugins,qw(RT::FM));
Set( @Plugins, qw(RT::Authen::ExternalAuth));

The second line here tells RT to ignore the first one, so you
only actually have RT::Authen::ExternalAuth active
(which is visible from System Configuration)

You need to enable your plugins all at the same time

Set(@Plugins, qw(RT::FM RT::Authen::ExternalAuth) );

-kevin

Yes, thank you, that did it!

-MikeFrom: “Kevin Falcone” falcone@bestpractical.com
Sent: Monday, July 06, 2009 3:45 PM
To: “RT Users” RT-Users@lists.bestpractical.com
Subject: Re: [rt-users] RT 3.8.4 and RTFM 2.4.2 No errors, but no RTFMlinks,
have added "Set(@Plugins,qw(RT::FM)); " to RT_Siteconfig.pm

Set(@Plugins,qw(RT::FM));
Set( @Plugins, qw(RT::Authen::ExternalAuth));

The second line here tells RT to ignore the first one, so you
only actually have RT::Authen::ExternalAuth active
(which is visible from System Configuration)

You need to enable your plugins all at the same time

Set(@Plugins, qw(RT::FM RT::Authen::ExternalAuth) );

-kevin


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