[rt-users] Can't load Perl file: /usr/local/rt3/bin/webmux.pl Low on time with this one.
Chris Welsh
chrisw at sjc.vic.edu.au
Mon Jul 5 10:25:34 EDT 2004
Hi,
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
libmysql12-4.0.18-1mdk
php-mysql-4.3.4-1mdk
libmysql12-devel-4.0.18-1mdk
perl-Mysql-1.22_19-9mdk
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/ApacheHandler.pm line 651.
Compilation failed in require at /usr/local/rt3/bin/webmux.pl line 62.
BEGIN failed--compilation aborted at /usr/local/rt3/bin/webmux.pl 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/webmux.pl for server testme:0, exiting...
---------
Here are some settings.
/etc/httpd/vhosts/Vhost.conf
<VirtualHost 10.0.2.203>
ServerName testme
DocumentRoot /usr/local/rt3/share/html
AddDefaultCharset UTF-8
#Alias
# 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/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
-------
Here is the RT site conf file
package RT;
=head1 NAME
RT::Config
=for testing
use RT::Config;
=cut
Set($rtname , "sjc.vic.edu.au");
Set($Organization , "sjc.vic.edu.au");
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 , 'chrisw at sjc.vic.edu.au');
Set($LoopsToRTOwner , 1);
Set($StoreLoops , undef);
Set($MaxAttachmentSize , 10000000);
Set($TruncateLongAttachments , undef);
Set($DropLongAttachments , undef);
Set($ParseNewMessageForTicketCcs , undef);
Set($RTAddressRegexp , '^rt\@sjc.vic.edu.au$');
Set($CanonicalizeEmailAddressReplace , 'sjc.vic.edu.au');
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{
'<B><A HREF="$RT::WebPath/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#',
'<B><A HREF="$RT::WebPath/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>'});
@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);
1;
Thanks to all,
CHris
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.
More information about the rt-users
mailing list