[rt-users] rt-3.4.5 on Mandriva2006 - perl errors?? (method "new")

Alois Sefu asefu at fooie.net
Tue Apr 18 12:18:46 EDT 2006


Hello,

I'm running rt-3.4.5 on mandriva2006 w/ apache 1.3.34, mod_perl -1.29 
(DSO).
I also tried with apache-2.0.2 that came stock with the system with 
mandriva2006 updates applied - I get the same errors.

I can log into RT via the browser, but when I try to create a ticket or 
view queues I get errors shown below (showing only two to keep it brief).
(env info below)

clicked "Tickets"  http://tickets.sys02.dl:8080/Search/Build.html

*** START ERROR from browser ***

Can't locate object method "new" via package "RT::Interface::Web::QueryBuilder::Tree" at /opt/rt3/share/html/Search/Build.html line 288.


Trace begun at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "new" via package "RT::Interface::Web::QueryBuilder::Tree" at /opt/rt3/share/html/Search/Build.html line 288.^J') called at /opt/rt3/share/html/Search/Build.html line 288
HTML::Mason::Commands::__ANON__(undef, 'SCALAR(0x99bec34)', 'ARRAY(0x99be91c)') called at /opt/rt3/share/html/Search/Build.html line 451
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99c7dec)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1251
eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef) called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x99a49a8)') called at /opt/rt3/share/html/autohandler line 215
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x84fd9e4)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1246
eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 459
eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 459
eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 411
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x99a49a8)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x99a49a8)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 826
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x924ab30)', 'Apache=SCALAR(0x8ef3b0c)') called at /opt/rt3/bin/webmux.pl line 123
eval {...} at /opt/rt3/bin/webmux.pl line 123
RT::Mason::handler('Apache=SCALAR(0x8ef3b0c)') called at /dev/null line 0
eval {...} at /dev/null line 0


*** END ERROR from browser ***


clicked "Tools"   http://tickets.sys02.dl:8080/Tools/Offline.html

*** START ERROR from browser ***

Undefined subroutine &Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 108.


Trace begun at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Undefined subroutine &Scalar::Util::weaken called at /opt/rt3/lib/RT/Action/Generic.pm line 108.^J') called at /opt/rt3/lib/RT/Action/Generic.pm line 108
RT::Action::Generic::_Init('RT::Action::CreateTickets=HASH(0x9b889b4)', 'CurrentUser', 'RT::CurrentUser=HASH(0x84fa3c0)') called at /opt/rt3/lib/RT/Action/Generic.pm line 80
RT::Action::Generic::new('RT::Action::CreateTickets', 'CurrentUser', 'RT::CurrentUser=HASH(0x84fa3c0)') called at /opt/rt3/share/html/Tools/Offline.html line 107
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9b88ad4)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1251
eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef) called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 914
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x96b4234)') called at /opt/rt3/share/html/autohandler line 215
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99143d0)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1246
eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1245
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 459
eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 459
eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 411
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x96b4234)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x96b4234)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 826
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x924ab30)', 'Apache=SCALAR(0x8ef3b0c)') called at /opt/rt3/bin/webmux.pl line 123
eval {...} at /opt/rt3/bin/webmux.pl line 123
RT::Mason::handler('Apache=SCALAR(0x8ef3b0c)') called at /dev/null line 0
eval {...} at /dev/null line 0

*** END ERROR from browser ***



** Apache Conf **

<VirtualHost *:80>
        ServerName tickets.sys02.dl
        DocumentRoot /opt/rt3/share/html
        AddDefaultCharset UTF-8
        PerlModule Apache::DBI
        PerlRequire /opt/rt3/bin/webmux.pl

   <Location />
       SetHandler perl-script
       PerlHandler RT::Mason
   </Location>
</VirtualHost>


** apache **

 /opt/apache-1.3.34/bin/httpd -l
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_info.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_access.c
  mod_auth.c
  mod_so.c
  mod_setenvif.c


Server Version: Apache/1.3.34 (Unix) mod_perl/1.29
Server Built: Apr 18 2006 12:00:34
API Version: 19990320:18
Run Mode: standalone
User/Group: apache(71)/65534
Hostname/port: sys02.dl:80
Daemons: start: 5    min idle: 5    max idle: 10    max: 150
Max Requests: per child: 0    keep alive: on    max per connection: 100
Threads: per child: 0  
Excess requests: per child: 0  
Timeouts: connection: 300    keep-alive: 15
Server Root: /opt/apache-1.3.34
Config File: conf/httpd.conf
PID File: /opt/apache-1.3.34/logs/httpd.pid
Scoreboard File: /opt/apache-1.3.34/logs/httpd.scoreboard



mod_perl was install with "perl Makefile.PL USE_APXS=1 
WITH_APXS=/opt/apache-1.3.34/bin/apxs   EVERYTHING=1"

rt configure with "./configure --with-web-user=apache 
--with-web-group=apache"

apache is in rt group.


*****


Thanks for reading ...

Alois.








More information about the rt-users mailing list