Can't load Perl file: /usr/local/rt3/bin/ Low on time with this one


Guys, I’m under pressure by my boss to get this help desk up before I go on holidays. I installed all the modules and am usig mysql.

Sorry about the spelling, etc, it’s late and I’m tired.

I did some googling, and found some info on it, but no immediate answers.

All modules and dependencies have been satisfied as per the README.

Can anyone help. I’m thinking is may be semi common. Oh, I’m running perl-cgi because I could not quickly locate fastcgi, anyone know where it is for mandrake 10?

Here is the message. (using Mandrake 10, apache2, perl-cgi5.3.8 and
Mysql Distrib 4.0.18

when I type:

service httpd start I get:

Starting httpd2: [Mon Jul 05 23:46:45 2004] [error] Can’t locate object method “menu_item” via package “Apache::Status” at /usr/lib/perl5/site_perl/5.8.3/HTML/Mason/ line 651.
Compilation failed in require at /usr/local/rt3/bin/ line 62.
BEGIN failed–compilation aborted at /usr/local/rt3/bin/ line 68.
Compilation failed in require at (eval 3) line 1.

/var/log/httpd/error.log shows:
[Mon Jul 05 20:43:08 2004] [notice] caught SIGTERM, shutting down
[Mon Jul 05 20:43:11 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/apache2-suexec)
[Mon Jul 05 20:43:11 2004] [notice] Digest: generating secret for digest authentication …
[Mon Jul 05 20:43:11 2004] [notice] Digest: done
[Mon Jul 05 20:43:12 2004] [notice] Apache-AdvancedExtranetServer/2.0.48 (Mandrake Linux/5mdk) mod_perl/1.99_11 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.4 configured – resuming normal operations
[Mon Jul 05 20:58:23 2004] [notice] caught SIGTERM, shutting down

[Mon Jul 05 23:46:45 2004] [error] Can’t load Perl file: /usr/local/rt3/bin/ for server testme:0, exiting…

Here are some settings.

ServerName testme
DocumentRoot /usr/local/rt3/share/html
AddDefaultCharset UTF-8

# these four lines apply to Apache2+mod_perl2 only: {{{
PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat
RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html
# }}}

PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/

<Location />
    SetHandler perl-script
    PerlHandler RT::Mason

Here is the RT site conf file

package RT;

=head1 NAME


=for testing

use RT::Config;

Set($rtname , “”);
Set($Organization , “”);
Set($MinimumPasswordLength , “5”);
Set($Timezone , ‘AEST’);
Set($DatabaseType , ‘mysql’);
Set($DatabaseHost , ‘localhost’);
Set($DatabaseRTHost , ‘localhost’);
Set($DatabasePort , ‘’);
Set($DatabaseUser , ‘rt_user’);
Set($DatabasePassword , ‘blahblah’);
Set($DatabaseName , ‘rt3’);
Set($DatabaseRequireSSL , undef);
Set($OwnerEmail , ‘’);
Set($LoopsToRTOwner , 1);
Set($StoreLoops , undef);
Set($MaxAttachmentSize , 10000000);
Set($TruncateLongAttachments , undef);
Set($DropLongAttachments , undef);
Set($ParseNewMessageForTicketCcs , undef);
Set($RTAddressRegexp , ‘^$’);
Set($CanonicalizeEmailAddressReplace , ‘’);
Set($CanonicalizeOnCreate , 0);
Set($SenderMustExistInExternalDatabase , undef);
Set($CorrespondAddress , ‘RT_CorrespondAddressNotSet’);
Set($CommentAddress , ‘RT_CommentAddressNotSet’);
Set($MailCommand , ‘sendmailpipe’);
Set($SendmailArguments , “-oi -t”);
Set($SendmailPath , “/usr/sbin/sendmail”);
Set($UseFriendlyFromLine , 1);
Set($FriendlyFromLineFormat , “"%s via RT" <%s>”);
Set($UseFriendlyToLine , 0);
Set($FriendlyToLineFormat, “"%s of $RT::rtname Ticket #%s":;”);
Set($NotifyActor, 0);
Set($LogToSyslog , ‘debug’);
Set($LogToScreen , ‘error’);
Set($LogToFile , undef);
Set($LogDir, ‘/usr/local/rt3/var/log’);
Set($LogToFileNamed , “rt.log”); #log to rt.log
@LogToSyslogConf = () unless (@LogToSyslogConf);
Set($WebPath , “”);
Set($WebBaseURL , “http://testme.staff”);
Set($WebURL , $WebBaseURL . $WebPath . “/”);
Set($WebImagesURL , $WebURL . “NoAuth/images/”);
Set($LogoURL , $WebImagesURL . “rt.jpg”);
Set($WebNoAuthRegex, qr!^(?:/+NoAuth/|
/+REST/\d+.\d+/NoAuth/)!x );
Set($MessageBoxWidth , 72);
Set($MessageBoxWrap, “HARD”);
Set($TrustHTMLAttachments , undef);
Set($PreferRichText, undef);
Set($WebExternalAuth , undef);
Set($WebFallbackToInternalAuth , undef);
Set($WebExternalGecos , undef);
Set($WebExternalAuto , undef);
Set($MaxInlineBody, 13456);
Set($MyTicketsLength, 10);
Set($MyRequestsLength, 10);
@MasonParameters = () unless (@MasonParameters);
Set ($DefaultSearchResultFormat, qq{

@LexiconLanguages = qw(*) unless (@LexiconLanguages);
@EmailInputEncodings = qw(utf-8 iso-8859-1 us-ascii) unless (@EmailInputEncodings);
Set($EmailOutputEncoding , ‘utf-8’);
Set($DateDayBeforeMonth , 1);
Set($AmbiguousDayInPast , 1);

Thanks to all,

If you have received this email in error, please immediately advise the sender by return email and delete the email message and any attachments from your system. No confidentiality or privilege is waived or lost by mistransmission.
Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of St Joseph’s College, Geelong +61 3 5226-8100.
Whilst we use software to detect viruses we exclude all liability for the presence of any virus or alike in any email message or attachments.