[rt-users] Can't start Apache after installing RT 2.0.13
V S R A, Prasad (Prasad)
vsra at lucent.com
Tue Apr 23 05:18:01 EDT 2002
Downgrade HTML::Mason to 1.02 ....
That should fix.
regards
-----Original Message-----
From: Frederic Gobin [mailto:frederic.gobin at mindmatics.de]
Sent: Tuesday, April 23, 2002 2:10 PM
To: rt-users; rt-devel
Subject: [rt-users] Can't start Apache after installing RT 2.0.13
Each time I try to start apache with
apachectl start
I get an error :
Variable "$m" is not imported at /usr/local/rt2/bin/webmux.pl line 94.
[Mon Apr 22 15:37:27 2002] [error] Global symbol "$m" requires
explicit package name at /usr/local/rt2/bin/webmux.pl line 94.
Compilation failed in require at (eval 1) line 1.
Syntax error on line 587 of /usr/local/apache/conf/httpd.conf:
Global symbol "$m" requires explicit package name at
/usr/local/rt2/bin/webmux.pl line 94.
Compilation failed in require at (eval 1) line 1.
/usr/local/apache/bin/apachectl start : httpd could not be started
Here is the part of my httpd.conf I changed :
Alias /rt2 "/usr/local/rt2/WebRT/html"
PerlRequire /Usr/local/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</IfModule>
And here is the relevant part of my webmux.pl
use Apache::Session::File;
#...
sub SetContentType {
my $type = shift;
$RT::Mason::r->content_type($type);
}
sub CGIObject {
$m->cgi_object();
}
}
The line with the $m is the line 94 and the only one with $m ...
Whats going wrong ?
_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
More information about the rt-users
mailing list