Still no go, because your config also has reference to " PerlRequire 
/opt/rt3/bin/webmux.pl"

If I comment this line out, Apache will start but then when you browse the site 
you get the webpage that says "You're Almost There!".

How can I tell if I have the latest Apache::DBI installed? Like I mentioned 
earlier, I'm a linux novice and inherited this machine after a co-worker left.



-----Original Message-----
From: Joop van de Wege [mailto:[email protected]] 
Sent: Wednesday, June 30, 2010 10:49 AM
To: Patton, Brandon
Cc: [email protected]
Subject: Re: [rt-users] webmux.pl error - Apache won't start

Patton, Brandon wrote:
> Found another error in the apache2 logfile showing this error when trying to 
> start apache2.
> 
> Can't locate object method "Config" via package "RT" at 
> /opt/rt3/bin/webmux.pl line 136.
> Compilation failed in require at (eval 242) line 1.
> 
> This is the other error I have:
> 
> Can't load Perl file: /opt/rt3/bin/webmux.pl
> 
> 
> 
> Can someone please help me? I really need to get this up and running. More 
> details can be found below from previous emails.
> Thanks!
> 
> 
> 
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Patton, Brandon
> Sent: Tuesday, June 29, 2010 2:50 PM
> To: [email protected]
> Subject: Re: [rt-users] Upgrading from RT 3.6.5
> 
> Ok, I'm getting closer and closer to getting this to work but having a 
> problem with the Apache setup. I have created the config for Apache as shown 
> by numerous examples but no matter which example I follow, I get the 
> following error trying to start Apache:
> 
> Can't load Perl file: /opt/rt3/bin/webmux.pl
> 
> If I uncomment the "PerlRequire" line apache will start and I get the website 
> with the "Your Almost There!" message.
> 
> Here is the config info I'm using for Apache
> 
> <VirtualHost *>
> ServerName nethealth
> DocumentRoot /opt/rt3/share/html
> AddDefaultCharset UTF-8
> PerlModule Apache2 Apache::compat
> PerlModule Apache::DBI
> PerlRequire /opt/rt3/bin/webmux.pl
> ErrorLog /opt/rt3/var/log/apache2.error
> 
> <Location />
>         SetHandler perl-script
>         PerlHandler RT::Mason
> </Location>
> </VirtualHost>

This is my RT config vhost

<VirtualHost *>
        ServerName rt3.server.nl
        DocumentRoot /opt/rt3/share/html

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

        Alias /rt3 /opt/rt3/share/html
        
        <Location /NoAuth/images>
                SetHandler default
        </Location>
        
        <Location /rt3/>
                SetHandler perl-script
                PerlHandler RT::Mason
        </Location>
        
        ErrorLog /var/log/httpd/rt_error.log
        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel info
        ServerSignature On
</VirtualHost>

This one is simpler might help since it doesn't include the problem 
module. Further do you have the latest of Apache::DBI installed? If my 
memory is correct I had problems that make testdeps didn't detect if I 
had it installed. Had to do that by hand.

Regards,

Joop

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to