[rt-users] webmux.pl error - Apache won't start

Joop van de Wege JoopvandeWege at mococo.nl
Wed Jun 30 10:48:34 EDT 2010


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: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Patton, Brandon
> Sent: Tuesday, June 29, 2010 2:50 PM
> To: rt-users at lists.bestpractical.com
> 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



More information about the rt-users mailing list