Failure report: rt-2.1.59 on RedHat 8

Hello Jesse,
testing the 2.1.59 release on a stock RedHat 8 (with all current
updates), I observed the following errors:

  • make fixdeps is not installing Apche::Session correctly (DB_File is
    not pulled in as a prerequisite for the tests - possibly a CPAN error)

  • some of the permissions seem to be wrong

  • running the rtadmin cli, I get the following error:

./rtadmin
Global symbol “$watchers” requires explicit package name at ./rtadmin
line 469.
Global symbol “$watchers” requires explicit package name at ./rtadmin
line 470.
BEGIN not safe after errors–compilation aborted at ./rtadmin line 506.

  • I cannot login into the web ui using root/password as a means for
    authentication

  • The most recent import tool hiccups on user creation:

./2to3 export
Empty compile time value given to use lib at ./2to3 line 14
Name “RT::DontCacheSearchBuilderRecords” used only once: possible typo
at ./2
line 7.
Possible unintended interpolation of @hamburg in string at
/opt/rt3/etc/RT_Si
onfig.pm line 4.
Unquoted string “true” may clash with future reserved word at
/opt/rt3/etc/RT
teConfig.pm line 21.
Unquoted string “true” may clash with future reserved word at
/opt/rt3/etc/RT
teConfig.pm line 22.
Unquoted string “true” may clash with future reserved word at
/opt/rt3/etc/RT
teConfig.pm line 23.
Creating 497 - [snip]
Creating 498 - [snip]
Creating 268 - [snip]
Creating 225 - [snip]
Creating 235 - [snip]
Creating 139 - ablumenhagen
[Wed Jan 22 15:26:08 2003] [warning]: DBD::mysql::st execute failed:
Unknown
umn ‘CryptedPassword’ in ‘field list’ at
/usr/lib/perl5/site_perl/5.8.0/DBIx/
rchBuilder/Handle.pm line 376.
(/opt/rt3/lib/RT.pm:220)
[Wed Jan 22 15:26:08 2003] [warning]: RT::Handle=HASH(0x8b8c780)
couldn’t exe
e the query ‘INSERT INTO Users (Comments, RealName, Creator,
EmailAddress, Pa
ord, LastUpdatedBy, CryptedPassword, Created, id, Name, LastUpdated)
VALUES (
?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ at
/usr/lib/perl5/site_perl/5.8.0/DBIx/SearchB
der/Handle.pm line 383.
(/opt/rt3/lib/RT.pm:220)
[Wed Jan 22 15:26:08 2003] [error]: Could not create a new user
(/opt/rt3/lib
/User_Overlay.pm:210)
[Wed Jan 22 15:26:08 2003] [crit]: Failed to create user for$VAR1 = {
‘Comments’ => ‘Autocreated on ticket submission’,
‘RealName’ => ‘“Annemarie Blumenhagen”’,
‘EmailAddress’ => ‘[snip]’,
‘Creator’ => ‘1’,
‘LastUpdatedBy’ => ‘1’,
‘CryptedPassword’ => ‘HgYXBYtCh4Rwk’,
‘Created’ => ‘2001-08-17 07:56:29’,
‘LastUpdated’ => ‘2001-08-17 07:56:29’,
‘Name’ => ‘ablumenhagen’
};
(/opt/rt3/lib/RT.pm:226)

Regards,
Harald


Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg

Just as an addition: I found 2.1.61 - now I can login, but get the
following error after that:

Can’t locate object method “LimitOwner” via package “RT::Tickets” at
/opt/rt3/share/html/Elements/MyTickets line 76.

Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm
line 123
HTML::Mason::Exceptions::rethrow_exception(‘Can’t locate object method
"LimitOwner" via package “RT::Tickets” at
/opt/rt3/share/html/Elements/MyTickets line 76.^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 281
HTML::Mason::Request::ANON(‘Can’t locate object method
"LimitOwner" via package “RT::Tickets” at
/opt/rt3/share/html/Elements/MyTickets line 76.^J’) called at
/opt/rt3/share/html/Elements/MyTickets line 76
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 133
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x92
cde68)’) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 1045
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x92cde68)’) called
at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x8
46df74)’, ‘/Elements/MyTickets’) called at
/opt/rt3/share/html/index.html line 33
HTML::Mason::Commands::ANON(‘pass’, ‘password’, ‘user’, ‘root’,
‘pass’, ‘password’, ‘user’, ‘root’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 133
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x84
cb4e8)’, ‘pass’, ‘password’, ‘user’, ‘root’, ‘pass’, ‘password’,
‘user’, ‘root’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1045
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x84cb4e8)’, ‘pass’,
‘password’, ‘user’, ‘root’, ‘pass’, ‘password’, ‘user’, ‘root’) called
at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x8
46df74)’, ‘HTML::Mason::Component::FileBased=HASH(0x84cb4e8)’, ‘pass’,
‘password’, ‘user’, ‘root’, ‘pass’, ‘password’, ‘user’, ‘root’) called
at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 735
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HAS
H(0x846df74)’, ‘pass’, ‘password’, ‘user’, ‘root’) called at
/opt/rt3/share/html/autohandler line 160
HTML::Mason::Commands::ANON(‘pass’, ‘password’, ‘user’, ‘root’)
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line
133
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x85
d3098)’, ‘pass’, ‘password’, ‘user’, ‘root’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1040
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x85d3098)’, ‘pass’,
‘password’, ‘user’, ‘root’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1039
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x8
46df74)’, ‘HASH(0x85d05a4)’,
‘HTML::Mason::Component::FileBased=HASH(0x85d3098)’, ‘pass’,
‘password’, ‘user’, ‘root’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 336
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x846df74)’,
‘HASH(0x85d05a4)’, ‘HTML::Mason::Component::FileBased=HASH(0x85d3098)’,
‘pass’, ‘password’, ‘user’, ‘root’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 336
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x846df74)’,
‘HASH(0x85d05a4)’, ‘HTML::Mason::Component::FileBased=HASH(0x85d3098)’,
‘pass’, ‘password’, ‘user’, ‘root’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 296
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x8
46df74)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x846df74)’)
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm
line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheH
andler=HASH(0x846df74)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 783
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=H
ASH(0x85c3134)’, ‘Apache::RequestRec=SCALAR(0x8501528)’) called at
/opt/rt3/bin/webmux.pl line 119
RT::Mason::handler(‘Apache::RequestRec=SCALAR(0x8501528)’) called at -e
line 0
eval {…}(‘Apache::RequestRec=SCALAR(0x8501528)’) called at -e line 0

Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg

What happens if you chmod -R 755 /opt/rt3/lib ?

No change in behavior…
Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg

Am Mittwoch, 22.01.03 um 17:21 Uhr schrieb Jesse Vincent:

What happens if you chmod -R 755 /opt/rt3/lib ?

No change in behavior…

I had a closer look at the error again and saw some light in the error
message Mason spits out (I left it out, thinking the raw error would
suffice). The error is as follows:

|System error
|error: Can’t locate object method “LimitOwner” via package
"RT::Tickets" at /|opt/rt3/share/html/Elements/MyTickets line 76.

On my system:

grep -l “sub LimitOwner” /opt/rt3/lib/RT/*

/opt/rt3/lib/RT/Tickets_Overlay.pm

Maybe that helps?

Regards,
Harald

|context:
|…
|277: }
|278:
|279: # All errors returned from this routine will be in exception
form.
|280: local $SIG{‘DIE’} = sub {
|281: rethrow_exception( $_[0] );
|282: };
|283:
|284: #
|285: # $m is a dynamically scoped global containing this
|…
|code stack: /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:281
|/opt/rt3/share/html/Elements/MyTickets:76
|/opt/rt3/share/html/index.html:33
|/opt/rt3/share/html/autohandler:160
Harald Wagener * FCB/Wilkens * An der Alster 42 * 20099 Hamburg