Can't call method "crit"

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 /opt/rt3/share/html>
SetHandler perl-script
PerlHandler RT::Mason

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

Order allow,deny
Allow from all

PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt/>

RewriteEngine On

    RedirectMatch permanent (.*)/$ $1/index.html
    AddDefaultCharset UTF-8
    SetHandler perl-script
    PerlHandler RT::Mason

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

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@pandf.us
Reply-To: email.lists@pandf.us
To: RT-Users@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 /opt/rt3/share/html>
SetHandler perl-script
PerlHandler RT::Mason

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

Order allow,deny
Allow from all

PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt/>

RewriteEngine On

    RedirectMatch permanent (.*)/$ $1/index.html
    AddDefaultCharset UTF-8
    SetHandler perl-script
    PerlHandler RT::Mason

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@bestpractical.com

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

By default no plugins are installed and desiable @Plugins option in your config.On Fri, Aug 1, 2008 at 3:24 AM, PF IT email.lists@pandf.us wrote:

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@pandf.us
Reply-To: email.lists@pandf.us
To: RT-Users@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 /opt/rt3/share/html>
SetHandler perl-script
PerlHandler RT::Mason

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

Order allow,deny
Allow from all

PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt/>

RewriteEngine On

    RedirectMatch permanent (.*)/$ $1/index.html
    AddDefaultCharset UTF-8
    SetHandler perl-script
    PerlHandler RT::Mason

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@bestpractical.com

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


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

Best regards, Ruslan.

By default no plugins are installed and desiable @Plugins option in your config.

Is this related to why I get this error when using:

RT default Apache configuration

Alias /rt/ /opt/rt3/share/html/

<Directory /opt/rt3/share/html/>
AllowOverride All
Options ExecCGI FollowSymLinks
Options Indexes FollowSymLinks

Order allow,deny
Allow from all

PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt/>
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

/var/log/apache2/error.log gives me this error.

[Thu Aug 07 10:30:19 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 Aug 07 10:30:19 2008] [error] Can’t load Perl file: /opt/rt3/bin/webmux.pl for server PFServer7.pfsandiego.local:0, exiting…

This is holding up using RT.

-Adam

I see the following in one of your previous messages:

[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

RT tries to load a plugin that is not installed, but is enabled in
your RT_SiteConfig.pm, not apache’s conig.On Thu, Aug 7, 2008 at 9:32 PM, PF IT email.lists@pandf.us wrote:

-----Original Message-----
From: Ruslan Zakirov ruz@bestpractical.com
To: email.lists@pandf.us
Cc: RT-Users@lists.bestpractical.com
Subject: Re: [rt-users] [error] Can’t call method "crit"
Date: Fri, 1 Aug 2008 04:42:45 +0400

By default no plugins are installed and desiable @Plugins option in your
config.


Is this related to why I get this error when using:

RT default Apache configuration

Alias /rt/ /opt/rt3/share/html/

<Directory /opt/rt3/share/html/>
AllowOverride All
Options ExecCGI FollowSymLinks
Options Indexes FollowSymLinks

Order allow,deny
Allow from all

PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt/>
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

/var/log/apache2/error.log gives me this error.

[Thu Aug 07 10:30:19 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 Aug 07 10:30:19 2008] [error] Can’t load Perl file:
/opt/rt3/bin/webmux.pl for server PFServer7.pfsandiego.local:0, exiting…

This is holding up using RT.

-Adam


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

Best regards, Ruslan.