[rt-users] Apache doesn't start after installing RT

Binand Raj S. binand at cysphere.com
Tue Jun 11 11:16:21 EDT 2002


Hi All,

Please help me with this one.

I installed RT on a system (RedHat Linux 7.2) with the
following software:

[root at internal rt-2-0-13]# rpm -q apache mod_perl sendmail mysql
apache-1.3.20-16
mod_perl-1.24_01-3
sendmail-8.11.6-3
mysql-3.23.41-1

I was following the directions given at
http://fsck.com/rtfm/article.html?id=2

RT version is 2.0.13, HTML-Mason version is 1.09_02.

Installation went fine, and I have a VirtualHost rt2.cysphere.com
with the following configuration:

<VirtualHost *>
    ServerAdmin binand at cysphere.com
    #DocumentRoot /path/to/rt2/WebRT/html
    DocumentRoot /var/www/vhosts/rt2.cysphere.com
    ServerName rt2.cysphere.com
    ErrorLog logs/rt2.cysphere.com-error_log
    CustomLog logs/rt2.cysphere.com-access_log common
    PerlModule Apache::DBI
    PerlFreshRestart On
    PerlRequire /usr/local/rt2/bin/webmux.pl
    <Directory /var/www/vhosts/rt2.cysphere.com>
        Options ExecCGI
        DirectoryIndex query.cgi
        AllowOverride None
    </Directory>
    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>

Now, when I restart apache, I get this error:

[root at internal rt-2-0-13]# service httpd start
Starting httpd: Variable "$m" is not imported at /usr/local/rt2/bin/webmux.pl
line 94.
[Tue Jun 11 20:41:28 2002] [error] Global symbol "$m" requires explicit package
name at /usr/local/rt2/bin/webmux.pl line 94.
Compilation failed in require at (eval 7) line 1.

Syntax error on line 67 of /etc/httpd/conf/vhosts.conf:
Global symbol "$m" requires explicit package name at
/usr/local/rt2/bin/webmux.pl line 94.
Compilation failed in require at (eval 7) line 1.
                                                           [FAILED]

Line 94 of webmux.pl is:

     93             sub CGIObject {
     94                 $m->cgi_object();
     95             }

What is happening here? It looks to me that the interface to HTML::Mason
has changed, and RT is not aware of that. I am thinking of downgrading
Mason to a version that works with RT. A google search of this error with
site:fsck.com didn't tell me anything.

TIA,

Binand





More information about the rt-users mailing list