RT 3.0.5 - Login problem

Hi everyone,

I’m looking for a bit of help with getting RT 3.0.5 up and running on
RedHat 8.0 (x86), apache 1.3.27 and mod_perl 1.26

We have been running RT 3.0.5 on RedHat 7.3 with perl 5.6.1 for a few
months, it seems to be working quite well. However we’ve been getting
assorted perl errors from RT which are particularly annoying the users,
so we are going to upgrade to perl 5.8 (hence RedHat 8.0)

I’ve done my best to follow RT README document. httpd.conf is basically
exactly what’s in the README (except for the Apache2 stuff), I have
installed all the required modules for RT using CPAN and ensured they
are all ‘found’ by rt-test-dependencies.

The problem? When requesting RT from the web server using http://ipaddr,
the RT login page loads OK, but after I submit username root and
password password, I am returned to the login page. There is no errors
when starting apache, all the logging options are set to DEBUG, there
are also no debugging messages in /var/log/httpd/error_log or
/opt/rt3/var/log/rt.log to head me in the right direction. The webpage
itself doesn’t return an error either?

I have just installed RT, so there shouldn’t be any problems with
authentication for the root user. I have confirmed that the username and
password specified in my RT_SiteConfig.pm can access the rt3 Mysql
database on localhost. When I installed RT, initialize-database didn’t
give me any errors

As a test, I commented out some of the code utilising $session{*}, so
that the the " $m->call_next(%ARGS);" section of
/opt/rt3/share/html/autohandler is reached without error. When I did
this, the RT page after login loaded ok (obviously didn’t care about
username/password). Some of the links in the left hand navigation column
in RT even worked. This had lead me to believe that $session is causing
a problem, is this the Apache::Session module? I’m fairly sure the
module is installed correctly, I even re-installed it

Does anyone out there have any ideas?

Thanks in advance for any help

Geoff

The problem? When requesting RT from the web server using http://ipaddr,
the RT login page loads OK, but after I submit username root and
password password, I am returned to the login page. There is no errors
when starting apache, all the logging options are set to DEBUG, there
are also no debugging messages in /var/log/httpd/error_log or
/opt/rt3/var/log/rt.log to head me in the right direction. The webpage
itself doesn’t return an error either?

Sounds like a problem with the cookies RT is sending you or your
browser’s ability to cope with those cookies. I’d recommend sniffing
the interaction.

-jesse

Request Tracker — Best Practical Solutions – Trouble Ticketing. Free.

On Tue, Nov 11, 2003 at 07:52:01AM +1100, Geoff Powell said:

The problem? When requesting RT from the web server using http://ipaddr,
the RT login page loads OK, but after I submit username root and
password password, I am returned to the login page. There is no errors
when starting apache, all the logging options are set to DEBUG, there
are also no debugging messages in /var/log/httpd/error_log or
/opt/rt3/var/log/rt.log to head me in the right direction. The webpage
itself doesn’t return an error either?

Make sure you have “PerlSetupEnv On” in the apache config.