[rt-users] [error] Can't call method "crit"
PF IT
email.lists at pandf.us
Thu Jul 31 18:01:02 EDT 2008
It seams like anything I do with perl or configs I can not get rid of
this error:
[Thu Jul 31 14:47:37 2008] [error] Can't call method "crit" on an
undefined value at /opt/rt3/bin/../lib/RT.pm line 579.\nCompilation
failed in require at (eval 2) line 1.\n
[Thu Jul 31 14:47:37 2008] [error] Can't load Perl
file: /opt/rt3/bin/webmux.pl for server server.domain.local:0,
exiting...
This is a fresh install of RT. I had 3.6 partially installed 3.6 but
since removed 3.6 when a fresh install of 3.8 was done a couple of days
ago. I keep getting this error and apache fails starting.
The setup.
System: Ubuntu 8.04
Web Server: Apache2
We are setting up RT to run as http://servername/rt and have the
configuration file in /etc/apache2/conf.d
rt-modperl2.conf
PerlModule Apache2::RequestRec Apache2::compat
PerlModule Apache::DBI
#PerlRequire /usr/share/request-tracker3.6/libexec/webmux.pl
PerlRequire /opt/rt3/bin/webmux.pl
PerlSetVar MasonArgsMethod CGI
RewriteEngine on
RewriteRule ^/rt$ /rt/
RewriteRule ^/rt/(.*)$ /opt/rt3/share/html/$1
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(/opt/rt3/share/html/.*)/$ $1/index.html
# We need this to prevent requests for images being sent through to
# the RT::Mason handler.
<Directory /opt/rc3/share/html/NoAuth/images>
SetHandler default-handler
</Directory>
<Directory /opt/rt3/share/html>
SetHandler perl-script
PerlHandler RT::Mason
</Directory>
This was a modified unbutu rc3.6 config file altered to use 3.8 /opt/rc3
settings. I have tried to use the permod conf altering it for our
needs:
# RT default Apache configuration
Alias /rt/ /opt/rt3/share/html/
<Directory /opt/rt3/share/html/>
AllowOverride All
Options ExecCGI FollowSymLinks
Options Indexes FollowSymLinks
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt/>
## RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
Neither of these work and still give the same errors. I don't know if
it is a perl issue or our config settings but since this is my first
attempt to setup RT I seriously love some extra help.
Thank you in advance,
-Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080731/2f6501e2/attachment.htm>
More information about the rt-users
mailing list