New 2 rt :-(

hi all!

am new to rt. i think i have done a successful installation of rt 3.0.3, but i
still cant get to start it ! i’m still testing it to run with other content, and
this is is what i’ve put in my httpd.conf:

Alias /rt3 /opt/rt3.local/html
PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt3>
SetHandler perl-script
PerlHandler RT::Mason

on my system, there’s no config.pm file !

apache wont even start now - in var/log/messages, this is what i find:

Starting httpd: [Wed Mar 10 17:37:47 2004] [error] Can’t locate
HTML/Mason/ApacheHandler.pm in @INC (@INC contains: /opt/rt3/local/lib
/opt/rt3/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
/opt/rt3/bin/webmux.pl line 46.!BEGIN failed–compilation aborted at
/opt/rt3/bin/webmux.pl line 51.!Compilation failed in require at (eval 1) line
1.!
[Wed Mar 10 17:37:47 2004] [error] Can’t load Perl file:
/opt/rt3/bin/webmux.pl for server localhost.localdomain:0, exiting…!

not sure about the HTML mason error but the webmux.pl is the right path.

please advise :slight_smile:

ernest.

You don’t have HTML::Mason perl module.
Easy way
$> perl -e ‘install HTML::Mason’ -MCPAN
or RPM

Caveats: you use 3.0.3, it’s better to use => 3.0.9
Perl 5.8.0, it’s recommended to use 5.8.3

Good luck. Ruslan.

Ernest Byaruhanga wrote:

I can’t get RT to show up on my local browser. I have tried to place a sym
link to RT’s html folder in my www root but have had no luck. Can someone
please help.

Running:
Red Hat 9
Fast CGI
MySQL 3.23
Apache 2
Virtual Host Settings In httpd.conf:

ServerName myserver.com DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8
    PerlModule Apache2 Apache::compat

    PerlModule Apache:DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
            SetHandler perl-script
            PerlHandler RT:Mason
    </Location>
Alias Settings In httpd.conf:

Alias /rt “/usr/src/request_tracker/html”

<Directory “/usr/src/request_tracker/html”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all

I can’t get RT to show up on my local browser. I have tried to place a sym
link to RT’s html folder in my www root but have had no luck. Can someone
please help.

Since you’re setting your docroot to /opt/rt3/share/html symlinking
from some other location will not have an effect. What errors do you
show in your web logs?

Andy Harrison
(full headers for details)

I can’t get RT to show up on my local browser. I have tried to place a sym
link to RT’s html folder in my www root but have had no luck.

You don’t need to do that.

Fast CGI

You have the configuration directives for mod_perl not for running
under FastCGI. Try the information here
http://www.anchor.net.au/~jaq/rt/ for a start.

Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

Thank you very much! I had confused the /html/ in the install folder with
the one in /opt/rt3/share/html. I can now bring up a home page. However, now
it appears to not be translating the html code properly. The one button on
the page says <&|/|&>Go!</&> . The rest looks similar, I know I’ve seen a
screen shot of the page I’m seeing before but I can not recall where. Any
ideas would be great. Thanks.From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Andy Harrison
Sent: Wednesday, March 10, 2004 10:27 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Can’t display RT on web

Subject: “[rt-users] Can’t display RT on web”

I can’t get RT to show up on my local browser. I have tried to place
a sym link to RT’s html folder in my www root but have had no luck.
Can someone please help.

Since you’re setting your docroot to /opt/rt3/share/html symlinking from
some other location will not have an effect. What errors do you show in
your web logs?

Andy Harrison
(full headers for details)

rt-users mailing list
rt-users@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Thank you very much! I had confused the /html/ in the install folder with
the one in /opt/rt3/share/html. I can now bring up a home page. However, now
it appears to not be translating the html code properly. The one button on
the page says <&|/|&>Go!</&> . The rest looks similar, I know I’ve seen a
screen shot of the page I’m seeing before but I can not recall where. Any
ideas would be great. Thanks.

Sounds like you need to rerun rt-test-dependencies to check your
environment.

Andy Harrison
(full headers for details)

I ran rt-test-dependencies and they all said “Found”. Let me show you the
entire page so maybe someone can shed some light on this. This is exactly
how I see it other than the fact that I have a clickable button in the
middle :

%# BEGIN LICENSE BLOCK %# %# Copyright (c) 1996-2003 Jesse Vincent %# %#
(Except where explictly superceded by other copyright notices) %# %# This
work is made available to you under the terms of Version 2 of %# the GNU
General Public License. A copy of that license should have %# been provided
with this software, but in any event can be snarfed %# from www.gnu.org. %#
%# This work is distributed in the hope that it will be useful, but %#
WITHOUT ANY WARRANTY; without even the implied warranty of %#
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU %# General
Public License for more details. %# %# Unless otherwise specified, all
modifications, corrections or %# extensions to this work which alter its
source code become the %# property of Best Practical Solutions, LLC when
submitted for %# inclusion in the work. %# %# %# END LICENSE BLOCK <&
/Elements/Header, Title=>loc(“RT at a glance”), Refresh =>
$session{‘home_refresh_interval’} &> <& /Elements/Tabs, current_toptab =>
‘’, Title=>loc(“RT at a glance”) &> <& /Elements/MyTickets &>
<& /Elements/MyRequests &> <& /Elements/Quicksearch &>

<& /Elements/Refresh, Name => ‘HomeRefreshInterval’, Default => $session
{‘home_refresh_interval’} &>

<%init> if ( $ARGS{‘q’} ) { my $query = $ARGS{‘q’}; if ( $query =~
m/^\s*(\d+)\s*$/ ) { $m->redirect(“$RT::WebPath/Ticket/Display.html?id=$1”);
} $session{‘tickets’} = RT::Tickets->new( $session{‘CurrentUser’} ); if (
$query =~ m/@/ ) { $session{‘tickets’}->LimitWatcher( VALUE => $query, TYPE
=> ‘Requestor’, OPERATOR => ‘=’, );
$m->redirect(“$RT::WebPath/Search/Listing.html”); } # # Any search on queue
name or subject will be for new/open tickets # only. #
$session{‘tickets’}->LimitStatus( VALUE => $_, OPERATOR => ‘=’, ) for
qw(open new); my $queue = RT::Queue->new( $session{‘CurrentUser’} ); if (
$queue->Load($query) && $queue->Id ) { $session{‘tickets’}->LimitQueue(
VALUE => $queue->Id, OPERATOR => ‘=’, );
$m->redirect(“$RT::WebPath/Search/Listing.html”); }
$session{‘tickets’}->LimitSubject( VALUE => $query, OPERATOR => ‘LIKE’ );
$m->redirect(“$RT::WebPath/Search/Listing.html”); } if
($ARGS{‘HomeRefreshInterval’}) { $session{‘home_refresh_interval’} =
$ARGS{‘HomeRefreshInterval’}; }From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Andy Harrison
Sent: Wednesday, March 10, 2004 11:28 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Can’t display RT on web

Subject: “RE: [rt-users] Can’t display RT on web”

Thank you very much! I had confused the /html/ in the install folder
with the one in /opt/rt3/share/html. I can now bring up a home page.
However, now it appears to not be translating the html code properly.
The one button on the page says <&|/|&>Go!</&> . The rest looks
similar, I know I’ve seen a screen shot of the page I’m seeing before
but I can not recall where. Any ideas would be great. Thanks.

Sounds like you need to rerun rt-test-dependencies to check your
environment.

Andy Harrison
(full headers for details)

rt-users mailing list
rt-users@lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm