[rt-users] [error] Can't call method "crit"
PF IT
email.lists at pandf.us
Thu Jul 31 19:24:06 EDT 2008
I decided to go back and clean out rt3 mysql database and /opt/rt3 but I
then noticed these errors when executing make install:
cd: 1: can't cd to local/html
make: [local-install] Error 2 (ignored)
cd local/html && find . -type d -name .svn -prune -o -type f
-exec /usr/bin/install -c -m 0644 {} /opt/rt3/local/html/{} \;
cd: 1: can't cd to local/html
make: [local-install] Error 2 (ignored)
cd local/po && find . -type d -name .svn -prune -o -type d
-exec /usr/bin/install -c -m 0755 -d /opt/rt3/local/po/{} \;
cd: 1: can't cd to local/po
make: [local-install] Error 2 (ignored)
cd local/po && find . -type d -name .svn -prune -o -type f
-exec /usr/bin/install -c -m 0644 {} /opt/rt3/local/po/{} \;
cd: 1: can't cd to local/po
make: [local-install] Error 2 (ignored)
cd local/etc && find . -type d -name .svn -prune -o -type d
-exec /usr/bin/install -c -m 0755 -d /opt/rt3/local/etc/{} \;
cd: 1: can't cd to local/etc
make: [local-install] Error 2 (ignored)
cd local/etc && find . -type d -name .svn -prune -o -type f
-exec /usr/bin/install -c -m 0644 {} /opt/rt3/local/etc/{} \;
cd: 1: can't cd to local/etc
make: [local-install] Error 2 (ignored)
# RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir
[ -f /opt/rt3/share/doc ] && rm /opt/rt3/share/doc
make: [doc-install] Error 1 (ignored)
[ -d /opt/rt3/share/doc ] || /usr/bin/install -c -m 0755
-d /opt/rt3/share/doc
/usr/bin/install -c -m 0644 ./README /opt/rt3/share/doc/
When executing make initialize-database
[Thu Jul 31 23:19:04 2008] [crit]: Plugin Extension-QuickDelete not
found in /opt/rt3/local/plugins
(/var/www/rt-3.8.0/sbin/../lib/RT.pm:579)
[Thu Jul 31 23:19:04 2008] [crit]: Can't locate Extension-QuickDelete.pm
in @INC (@INC
contains: /var/www/rt-3.8.0/sbin/../local/lib /var/www/rt-3.8.0/sbin/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /var/www/rt-3.8.0/sbin/../lib/RT.pm line 595. (/var/www/rt-3.8.0/sbin/../lib/RT.pm:375)
Can't locate Extension-QuickDelete.pm in @INC (@INC
contains: /var/www/rt-3.8.0/sbin/../local/lib /var/www/rt-3.8.0/sbin/../lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /var/www/rt-3.8.0/sbin/../lib/RT.pm line 595.
make: *** [initialize-database] Error 255
I noticed /opt/rt3/local/plugins/ is empty. I think all this maybe
related to the orrig post. I have gone though all the steps in the
README, wiki, documentation, and postings regarding dependencies but it
looks like the plugins are not getting installed. I have been trying
over the past couple of days and still have not been able to get RT
properly installed.
-Adam
-----Original Message-----
From: PF IT <email.lists at pandf.us>
Reply-To: email.lists at pandf.us
To: RT-Users at lists.bestpractical.com
Subject: [rt-users] [error] Can't call method "crit"
Date: Thu, 31 Jul 2008 15:01:02 -0700
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
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080731/7fa827a9/attachment.htm>
More information about the rt-users
mailing list