[rt-users] Newbie - Apache error

Mohammed Ersan javatizer at hotmail.com
Sun Apr 27 08:02:43 EDT 2003


Hi,
   I have been trying to get RT3 runing with Apache2 for some time now, now 
in the final steps, when I reached the point to start Apache using this 
config:

DocumentRoot "/usr/local/apache2/htdocs"
Alias /rt /opt/rt3/share/html

AddDefaultCharset UTF-8
PerlModule Apache2 Apache::compat

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt>
SetHandler perl-script
PerlHandler RT::Mason
</Location>


   I get this error:
[root at lanserver2 conf]# ../bin/apachectl start
[Sun Apr 27 19:53:33 2003] [error] Bareword "REDIRECT" not allowed while 
"strict subs" in use at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 188.
BEGIN not safe after errors--compilation aborted at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 197.
Compilation failed in require at /opt/rt3/bin/webmux.pl line 45.
BEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 51.
Compilation failed in require at (eval 1) line 1.

[Sun Apr 27 19:53:33 2003] [error] Can't load Perl file: 
/opt/rt3/bin/webmux.pl for server lanserver2:0, exiting...

[root at lanserver2 conf]#


   Its running on RH 8.0/PG DB/perl, v5.8.0 built for 
i386-linux-thread-multi/ Compiled RT3 with modperl2.


   What might be the problem ..is it the perl modules ? I tried to recompile 
and install them again, still the same problem. Given that the 
test-dependcies script says that all is OK.



Thanks...








>From: "Ray Walters" <ray.walters at kiffanalytical.com>
>To: "'Kelly F. Hickel'" <kfh at mqsoftware.com>
>CC: <rt-users at lists.fsck.com>
>Subject: RE: [rt-users] Newbie - Apache error
>Date: Fri, 25 Apr 2003 09:36:13 -0700
>MIME-Version: 1.0
>Received: from pallas.eruditorum.org ([63.251.136.85]) by 
>mc7-f20.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 25 Apr 
>2003 09:35:31 -0700
>Received: from pallas.eruditorum.org (localhost [127.0.0.1])by 
>pallas.eruditorum.org (Postfix) with ESMTPid 8BDDC112AD; Fri, 25 Apr 2003 
>12:35:10 -0400 (EDT)
>Received: from site.kiffanalytical.com 
>(adsl-67-116-82-213.dsl.lsan03.pacbell.net [67.116.82.213])by 
>pallas.eruditorum.org (Postfix) with ESMTP id B5DC911297for 
><rt-users at lists.fsck.com>; Fri, 25 Apr 2003 12:34:01 -0400 (EDT)
>Received: from ya (localhost [10.10.10.147] (may be forged))by 
>site.kiffanalytical.com (8.12.5/8.12.5) with ESMTP id h3PGY0kh010207;Fri, 
>25 Apr 2003 09:34:00 -0700
>X-Message-Info: UZmYcfFpTCewzfqvyl1d15R59mlxBfYY
>Delivered-To: rt-users at pallas.eruditorum.org
>Message-ID: <000b01c30b48$c99a0150$930a0a0a at ya>
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook, Build 10.0.4510
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
>In-Reply-To: 
><A14F6A96A4696D468FBF4256637CBAA8521C6C at MAILSERVERMN.mqsoftware.com>
>Importance: Normal
>Sender: rt-users-admin at lists.fsck.com
>Errors-To: rt-users-admin at lists.fsck.com
>X-BeenThere: rt-users at lists.fsck.com
>X-Mailman-Version: 2.0.12
>Precedence: bulk
>List-Help: <mailto:rt-users-request at lists.fsck.com?subject=help>
>List-Post: <mailto:rt-users at lists.fsck.com>
>List-Subscribe: 
><http://lists.fsck.com/mailman/listinfo/rt-users>,<mailto:rt-users-request at lists.fsck.com?subject=subscribe>
>List-Id: For users of RT: Request Tracker <rt-users.lists.fsck.com>
>List-Unsubscribe: 
><http://lists.fsck.com/mailman/listinfo/rt-users>,<mailto:rt-users-request at lists.fsck.com?subject=unsubscribe>
>List-Archive: <http://lists.fsck.com/pipermail/rt-users/>
>Return-Path: rt-users-admin at lists.fsck.com
>X-OriginalArrivalTime: 25 Apr 2003 16:35:31.0434 (UTC) 
>FILETIME=[AFF844A0:01C30B48]
>
>I got RT 3.0.1 working with Apache2 and mod_perl 1.99.  I used the conf 
>file
>recommended here:
>
>
>
>http://lists.fsck.com/pipermail/rt-devel/2002-November/002769.html
>
>
>
>The recommended conf file is:
>
>
>
>    <VirtualHost your.ip.address>
>         DocumentRoot /path/to/rt3/share/html
>         ServerName your.rt.server.hostname
>
>         PerlFreshRestart On                 # only for Apache/mod_perl 1.x
>         PerlModule Apache2 Apache::compat   # only for Apache/mod_perl 2.x
>
>         PerlModule Apache::DBI
>         PerlRequire /path/to/rt3/bin/webmux.pl
>
>         <FilesMatch "\.html$">
>             SetHandler perl-script
>             PerlHandler RT::Mason
>         </FilesMatch>
>         <LocationMatch "/Attachment/">
>             SetHandler perl-script
>             PerlHanler RT::Mason
>         </LocationMatch>
>     </VirtualHost>
>
>
>
>
>
>This solved my problems.
>
>
>
>Ray
>
>
>
>-----Original Message-----
>From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]
>On Behalf Of Kelly F. Hickel
>Sent: Friday, April 25, 2003 8:47 AM
>To: Oscar Arranz; rt-users at lists.fsck.com
>Subject: RE: [rt-users] Newbie - Apache error
>
>
>
>  I had the same problem, and was told that  RedHat 8 came with apache 2, 
>and
>that RT didn't work with Apache 2.  I end up going out and getting the
>latest apache 1 source and building it.
>
>-Kelly Hickel
>
>
>
>-----Original Message-----
>From: Oscar Arranz [mailto:oscar at e-milio.com]
>Sent: Friday, April 25, 2003 10:44 AM
>To: rt-users at lists.fsck.com
>Subject: Re: [rt-users] Newbie - Apache error
>
>
>
>Thanks Roger, it worked. But now when I enter my username and password it
>says: "Your username or password is incorrect". I have checked the 
>usernames
>in the database rt3, table Users and I'm writing the right values... I 
>don't
>know what's happening and nothing is showed in the log files.
>
>Regards,
>Oscar
>
>Spencer, Roger wrote:
>
>Had the same problem on the same platform.  If you specify the exact url,
>you probably will get a response, i.e. /index.html.
>
>
>
>Downgrading to apache to 1.3 and mod_perl 1 corrected the problem.
>
>
>
>
>
>-----Original Message-----
>From: Oscar Arranz [mailto:oscar at e-milio.com]
>Sent: Friday, April 25, 2003 5:43 AM
>To: rt-users at lists.fsck.com
>Subject: [rt-users] Newbie - Apache error
>
>
>
>Hi all,
>
>     I have installed RT  3 in a linux Red Hat 8 using mysql and this 
>apache
>configuration:
>
>             Apache/2.0.45 (Unix) mod_perl/1.99_08 Perl/v5.8.0 Server at
>192.168.0.10 Port 8080
>
>     When I connect to the URL http://192.168.0.10:8080 I get a 404 error
>(Page not found). The apache error log has the following line:
>
>     [error] [client 192.168.0.11] Attempt to serve directory:
>/opt/rt3/share/html/
>
>     The directory exists and has read permission for everybody.
>
>     What could be happening?
>
>Thanks,
>Oscar
>
>_______________________________________________ rt-users mailing list
>rt-users at lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users 
>Have
>you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>
>
>
>_______________________________________________ rt-users mailing list
>rt-users at lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users 
>Have
>you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the rt-users mailing list