Cannot get the login screen

Please help!!!

I’m installing RT3.4.1 on a Solaris machine ==> unname -a output: SunOS tocrsv02 5.8 Generic_117350-12 sun4u sparc SUNW,Sun-Fire-280R and I cannot get the login screen.

I’ve installed Apache, mod_perl and RT as non-root (rtusr). RT will be the only app running using this installed apache so here’s a snip from my httpd.conf file:
DocumentRoot “/home/rtusr/RT/share/html”

<Directory “/home/rtusr/RT/share/html”>
AllowOverride All
Options Indexes ExecCGI FollowSymLinks

PerlModule Apache::DBI
PerlRequire /home/rtusr/RT/bin/

AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

<IfModule mod_access.c>
       Order allow,deny
       Allow from all

The area where this fails is at PerlHandler RT::Mason. If I replace RT::Mason with HTML::Mason::ApacheHandler this is what shows up in my browser:
System error

error: Can’t call method “TransactionDepth” on an undefined value at /home/rtusr/RT/share/html/autohandler line 49.


46: <%INIT>
48: # Roll back any dangling transactions from a previous failed connection
49: $RT::Handle->ForceRollback() if $RT::Handle->TransactionDepth;
52: local *session unless $m->is_subrequest; # avoid reentrancy, as suggested by masonbook

code stack: /home/rtusr/RT/share/html/autohandler:49

Can’t call method “TransactionDepth” on an undefined value at /home/rtusr/RT/share/html/autohandler line 49.Trace begun at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 131 HTML::Mason::Exceptions::rethrow_exception(‘Can’t call method “TransactionDepth” on an undefined value at /home/rtusr/RT/share/html/autohandler line 49.^J’) called at /home/rtusr/RT/share/html/autohandler line 49HTML::Mason::Commands::ANON at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 136 HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x1046b3c)’) called at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 1069 eval {…} at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 1068HTML::Mason::Request::comp(undef, undef, undef) called at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 338eval {…} at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 338eval {…} at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 297 HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x1015730)’) called at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 134eval {…} at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 134 HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x1015730)’) called at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ line 827 HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x1014fb0)’, ‘Apache=SCALAR(0x23cf2c)’) called at (eval 175) line 8 HTML::Mason::ApacheHandler::handler(‘HTML::Mason::ApacheHandler’, ‘Apache=SCALAR(0x23cf2c)’) called at /dev/null line 0eval {…} at /dev/null line 0
Can anyone help me please? Thanks.

Please try to change line from
$RT::Handle->ForceRollback() if $RT::Handle->TransactionDepth;
$RT::Handle->ForceRollback() if $RT::Handle &&
and see if it gives other error, more informative.

Looks like you can’t connect to your DB.
Turn on debug RT log(
and see if it has some records.

Brookes, Iris wrote: