Repeat login requests under FreeBSD

Greetings all –

I managed to get RT 3.6.5 running under FreeBSD 6.2, MySQL and Apache
2.2 with mod_perl via the rt36, mysql50-server, apache22, and mod_perl2
ports. When I fire up Apache and login as root, I can follow links, but
I have to re-enter the login at each link. I’m using Firefox 2.0.0.11
and IE6, and I see a cookie called RT_SID_…

I didn’t encounter this problem when I installed from RT source under
Debian with comparable packages and config settings. Any ideas?

Many thanks,
Yitzchak Schaffer
Systems Librarian
Touro College Libraries
33 West 23rd Street
New York, NY 10010
Tel (212) 463-0400 x230
Fax (212) 627-3197
yitzchas@touro.edu

Yitzchak,

I have just gone thru this problem. Believe it or not, it is easy to 

fix. The answer came to me from someone who uses RT and is an Apache
expert. You need to specify a tighter control (Transaction) over your
session locks. Are you using the DataBase session record or file?

Kenn
LBNLOn 1/15/2008 12:31 PM, Yitzchak Schaffer wrote:

Greetings all –

I managed to get RT 3.6.5 running under FreeBSD 6.2, MySQL and Apache
2.2 with mod_perl via the rt36, mysql50-server, apache22, and mod_perl2
ports. When I fire up Apache and login as root, I can follow links, but
I have to re-enter the login at each link. I’m using Firefox 2.0.0.11
and IE6, and I see a cookie called RT_SID_…

I didn’t encounter this problem when I installed from RT source under
Debian with comparable packages and config settings. Any ideas?

Many thanks,

Yitzchak Schaffer
Systems Librarian
Touro College Libraries
33 West 23rd Street
New York, NY 10010
Tel (212) 463-0400 x230
Fax (212) 627-3197
yitzchas@touro.edu



The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Kenneth:

Thanks for the help. I haven’t changed from whatever the default is; I
copied RT_Config.pm to RT_SiteConfig.pm and made some local changes.
From there the setting appears to be DB, as ::File is commented out:

$WebSessionClass is the class you wish to use for managing Sessions.

It defaults to use your SQL database, but if you are using MySQL 3.x and

plans to use non-ascii Queue names, uncomment and add this line to

RT_SiteConfig.pm will prevent session corruption.

Set($WebSessionClass , ‘Apache::Session::File’);

Yitzchak Schaffer
Systems Librarian
Touro College Libraries
33 West 23rd Street
New York, NY 10010
Tel (212) 463-0400 x230
Fax (212) 627-3197
yitzchas@touro.edu

Kenneth Crocker wrote:

Yitzchak Schaffer wrote:

Greetings all –

I managed to get RT 3.6.5 running under FreeBSD 6.2, MySQL and Apache
2.2 with mod_perl via the rt36, mysql50-server, apache22, and mod_perl2
ports. When I fire up Apache and login as root, I can follow links, but
I have to re-enter the login at each link. I’m using Firefox 2.0.0.11
and IE6, and I see a cookie called RT_SID_…

I didn’t encounter this problem when I installed from RT source under
Debian with comparable packages and config settings. Any ideas?

Many thanks,

I have much the same setup you do – I found this fix on the list:

ALTER TABLE sessions MODIFY a_session longblob ;

which worked for me.

See: [rt-users] Access values of "UpdateCc" from within Scrip / Template ...

Cheers,

Matthew

Dr Matthew Seaman The Bunker, Ash Radar Station
PGP: 0x60AE908C on servers Marshborough Rd
Tel: +44 1304 814800 Sandwich
Fax: +44 1304 814899 Kent, CT13 0PL, UK

signature.asc (250 Bytes)

When I make that change and restart Apache, I see the following in
/var/logs/httpd-error.log:

[Wed Jan 16 02:25:33 2008] [notice] caught SIGTERM, shutting down
[Wed Jan 16 02:25:53 2008] [error] Insecure dependency in unlink while
running with -T switch at /usr/local/lib/perl5/5.8.8/File/Path.pm line
267.\nCompilation failed in require at (eval 6) line 1.\n
[Wed Jan 16 02:25:53 2008] [error] Can’t load Perl file:
/usr/local/rt3/bin/webmux.pl for server libtest.touro.edu:0, exiting…

Yitzchak Schaffer
Systems Librarian
Touro College Libraries
33 West 23rd Street
New York, NY 10010
Tel (212) 463-0400 x230
Fax (212) 627-3197
yitzchas@touro.edu

Matthew Seaman wrote:

Heh, fixed - in trying to set up mod_perl earlier, I followed a howto
that mentioned using taint mode - which doesn’t work with the Session
modules. Now all appears to be shipshape. Thanks for your help!

Yitzchak Schaffer
Systems Librarian
Touro College Libraries
33 West 23rd Street
New York, NY 10010
Tel (212) 463-0400 x230
Fax (212) 627-3197
yitzchas@touro.edu

Yitzchak Schaffer wrote: