System error

Hi,

I’m using RT 2.1.48 and i’m getting this error when i click "preferences"
and then “Delegation Rights”:

--------------Begin----------------

System error

error: Can’t locate object method “Load” via package “RT::System” at
/opt/rt3/lib/RT/ACE_Overlay.pm line 782.

context: …
778: $appliesto_obj = $self->__Value(‘ObjectType’)->new($self->CurrentUser);
779: unless (ref( $appliesto_obj) eq $self->__Value(‘ObjectType’)) {
780: return undef;
781: }
782: $appliesto_obj->Load( $self->__Value(‘ObjectId’) );
783: return ($appliesto_obj);
784: }
785: else {
786: $RT::Logger->warning( "$self -> Object called for an object "

code stack: /opt/rt3/lib/RT/ACE_Overlay.pm:782
/opt/rt3/lib/RT/ACL_Overlay.pm:215
/opt/rt3/lib/RT/ACL_Overlay.pm:258
/opt/rt3/lib/RT/ACL_Overlay.pm:249
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder.pm:305
/opt/rt3/lib/RT/ACL_Overlay.pm:212
/opt/rt3/html/User/Delegation.html:79
/opt/rt3/html/autohandler:151
------------------End------------------

     Is this a bug? When will it be fixed? Or tell me if i'm doing 

something wrong.

     I hope someone can help me.

bye.

Rafael Máximo

System error
error: Can’t locate object method “Load” via package “RT::System” at
/opt/rt3/lib/RT/ACE_Overlay.pm line 782.
Is this a bug? When will it be fixed? Or tell me if i’m doing
something wrong.

This patch, as suggested by Jesse, resolved the problem for me.

/Autrijus/

==== lib/RT/System.pm ===

@@ -70,6 +70,7 @@
$RT::ACE::LOWERCASERIGHTNAMES{ lc $right } = $right;
}

+sub Load {}

=head2 AvailableRights

You are a genius. I trusted too much about $35 dollar
book. Please take a look at the system error below.
What type of permission should I give to /opt/rt3/var.
I installed everything by default with root user. Hope
it is the last one.

System error
error: mkdir /opt/rt3/var/mason_data/obj: Permission
denied at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm
line 102
context:

265: # whether they should generate a full stack
trace (confess() and cluck())
266: # or simply report the caller’s package
(croak() and carp()), respectively.
267: # confess() and croak() die, carp() and cluck()
warn.
268:
269: sub croak { die shortmess @_ }
270: sub confess { die longmess @_ }
271: sub carp { warn shortmess @_ }
272: sub cluck { warn longmess @_ }
273:

code stack: /usr/local/lib/perl5/5.8.8/Carp.pm:269
/usr/local/lib/perl5/5.8.8/File/Path.pm:168
/usr/local/lib/perl5/5.8.8/File/Path.pm:161
/usr/local/lib/perl5/5.8.8/File/Path.pm:161
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm:102
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:434
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:238
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:204
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97
/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:275
/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:353
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:869
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:823
/opt/rt3/bin/webmux.pl:123
-e:0

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Please forget about this one. I just manually changed
the attribute of that directory. It works!

You are a genius. I trusted too much about $35
dollar
book. Please take a look at the system error below.
What type of permission should I give to
/opt/rt3/var.
I installed everything by default with root user.
Hope
it is the last one.

System error
error: mkdir /opt/rt3/var/mason_data/obj:
Permission
denied at

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm

line 102
context:

265: # whether they should generate a full stack
trace (confess() and cluck())
266: # or simply report the caller’s package
(croak() and carp()), respectively.
267: # confess() and croak() die, carp() and
cluck()
warn.
268:
269: sub croak { die shortmess @_ }
270: sub confess { die longmess @_ }
271: sub carp { warn shortmess @_ }
272: sub cluck { warn longmess @_ }
273:

code stack: /usr/local/lib/perl5/5.8.8/Carp.pm:269
/usr/local/lib/perl5/5.8.8/File/Path.pm:168
/usr/local/lib/perl5/5.8.8/File/Path.pm:161
/usr/local/lib/perl5/5.8.8/File/Path.pm:161

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm:102

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:434

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:238

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:204

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97

/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:275

/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:353

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:869

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:823

/opt/rt3/bin/webmux.pl:123
-e:0


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

chown -R apache:apache /opt/rtr/var/mason_date
chmod -R 770 /opt/rt3/var/mason_data

apachectl stop
rm -fr /opt/rt3/var/mason_data/*

apachectl start(ssl)

pray

drink some coffee.

zhou jian wrote:

Thanks a lot. I have done this. Right now I can see
the login page of the rt. Thanks for you guys to be
along with me in this journey.

Bizzarely, I can’t login in with root password
combination.

“Your username or password is incorrect”

I even tried with my collegeagues’ machine. Did you
guys encounter this issue before?

chown -R apache:apache /opt/rtr/var/mason_date
chmod -R 770 /opt/rt3/var/mason_data

apachectl stop
rm -fr /opt/rt3/var/mason_data/*

apachectl start(ssl)

pray

drink some coffee.

zhou jian wrote:

You are a genius. I trusted too much about $35
dollar
book. Please take a look at the system error
below.
What type of permission should I give to
/opt/rt3/var.
I installed everything by default with root user.
Hope
it is the last one.

System error
error: mkdir /opt/rt3/var/mason_data/obj:
Permission
denied at

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm

line 102
context:

265: # whether they should generate a full stack
trace (confess() and cluck())
266: # or simply report the caller’s package
(croak() and carp()), respectively.
267: # confess() and croak() die, carp() and
cluck()
warn.
268:
269: sub croak { die shortmess @_ }
270: sub confess { die longmess @_ }
271: sub carp { warn shortmess @_ }
272: sub cluck { warn longmess @_ }
273:

code stack:
/usr/local/lib/perl5/5.8.8/Carp.pm:269
/usr/local/lib/perl5/5.8.8/File/Path.pm:168
/usr/local/lib/perl5/5.8.8/File/Path.pm:161
/usr/local/lib/perl5/5.8.8/File/Path.pm:161

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm:102

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:434

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:238

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:204

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97

/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:275

/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:353

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:869

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:823

/opt/rt3/bin/webmux.pl:123
-e:0


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com


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

Be sure to check out the RT Wiki at
http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials
from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in
Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Yes. I remember that.

I checked the log file of my httpd server. Did you
guys see this before?

[Mon Feb 27 18:32:06 2006] [notice] Apache/2.2.0
(Unix) mod_ssl/2.2.0 OpenSSL/0.9.7a mod_perl/2.0.2
Perl/v5.8.8 configured – resuming normal operations
[Tue Feb 28 00:32:09 2006] [error]: FAILED LOGIN for
root from 128.255.163.124
(/opt/rt3/share/html/autohandler:191)
[Tue Feb 28 00:32:13 2006] [error]: FAILED LOGIN for
root from 128.255.163.124
(/opt/rt3/share/html/autohandler:191)

default password is “password” i think.
its in the README file.

-----Original Message-----
From: zhou jian [mailto:sunzhoujian@yahoo.com]
Sent: Tuesday, 28 February 2006 11:30 AM
To: Chaim Rieger
Cc: agabila@con.mdsnews.com;
rt-users@lists.bestpractical.com
Subject: Re: [rt-users] System error

Thanks a lot. I have done this. Right now I can see
the login page of the rt. Thanks for you guys to be
along with me in this journey.

Bizzarely, I can’t login in with root password
combination.

“Your username or password is incorrect”

I even tried with my collegeagues’ machine. Did you
guys encounter this issue before?

chown -R apache:apache /opt/rtr/var/mason_date
chmod -R 770 /opt/rt3/var/mason_data

apachectl stop
rm -fr /opt/rt3/var/mason_data/*

apachectl start(ssl)

pray

drink some coffee.

zhou jian wrote:

You are a genius. I trusted too much about $35
dollar
book. Please take a look at the system error
below.
What type of permission should I give to
/opt/rt3/var.
I installed everything by default with root
user.
Hope
it is the last one.

System error
error: mkdir /opt/rt3/var/mason_data/obj:
Permission
denied at

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm

line 102
context:

265: # whether they should generate a full
stack
trace (confess() and cluck())
266: # or simply report the caller’s package
(croak() and carp()), respectively.
267: # confess() and croak() die, carp() and
cluck()
warn.
268:
269: sub croak { die shortmess @_ }
270: sub confess { die longmess @_ }
271: sub carp { warn shortmess @_ }
272: sub cluck { warn longmess @_ }
273:

code stack:
/usr/local/lib/perl5/5.8.8/Carp.pm:269
/usr/local/lib/perl5/5.8.8/File/Path.pm:168
/usr/local/lib/perl5/5.8.8/File/Path.pm:161
/usr/local/lib/perl5/5.8.8/File/Path.pm:161

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm:102

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:434

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:238

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:204

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97

/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:275

/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:353

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:869

/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:823

/opt/rt3/bin/webmux.pl:123
-e:0


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com


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

Be sure to check out the RT Wiki at
http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials
from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in
Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around