Problems w/ Fresh Install of RT3.4.4

On a fresh install of Ubuntu Linux 5.10 server I am receiveing the following error when I access the webpage (servername/rt)

error: Can’t locate Apache/Session/MySQL.pm in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at /opt/rt3/share/html/Elements/SetupSessionCookie line 57.
context:

53: Pg => ‘Apache::Session::Postgres’,
54: # Oracle => ‘Apache::Session::Oracle’,
55: ) unless $RT::WebSessionClass;
56: my $session_class = $RT::WebSessionClass || $backends{$RT::DatabaseType} || ‘Apache::Session::File’;
57: my $pm = “$session_class.pm”; $pm =~ s|::|/|g; require $pm;
58:
59: # morning bug avoidance attempt – pdh 20030815
60: unless ($RT::Handle->dbh && $RT::Handle->dbh->ping) {
61: $RT::Handle->Connect();

code stack: /opt/rt3/share/html/Elements/SetupSessionCookie:57
/opt/rt3/share/html/autohandler:73

Any help would be greatly appreciated,

Jonathan

On a fresh install of Ubuntu Linux 5.10 server I am receiveing the following error when I access the webpage (servername/rt)

error: Can’t locate Apache/Session/MySQL.pm in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at /opt/rt3/share/html/Elements/SetupSessionCookie line 57.
context:

53: Pg => ‘Apache::Session::Postgres’,
54: # Oracle => ‘Apache::Session::Oracle’,
55: ) unless $RT::WebSessionClass;
56: my $session_class = $RT::WebSessionClass || $backends{$RT::DatabaseType} || ‘Apache::Session::File’;
57: my $pm = “$session_class.pm”; $pm =~ s|::|/|g; require $pm;
58:
59: # morning bug avoidance attempt – pdh 20030815
60: unless ($RT::Handle->dbh && $RT::Handle->dbh->ping) {
61: $RT::Handle->Connect();

code stack: /opt/rt3/share/html/Elements/SetupSessionCookie:57
/opt/rt3/share/html/autohandler:73

Does “make testdeps” run without error?

Hi.

Jonathan Jesse wrote:

On a fresh install of Ubuntu Linux 5.10 server I am receiveing the
following error when I access the webpage (servername/rt)

error: Can’t locate Apache/Session/MySQL.pm in @INC (@INC contains:
/opt/rt3/local/lib /opt/rt3/lib /etc/perl /usr/local/lib/perl/5.8.7
/usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .
/etc/apache2) at /opt/rt3/share/html/Elements/SetupSessionCookie line 57.
context:

53: Pg => ‘Apache::Session::Postgres’,

What you have as your $DatabaseType in RT_Config or overridden in
RT_SiteConfig?
Judging by the error output RT is trying to look at mysql (default) but
you have your database as postgres.

Kind regards.
Luke.

54: # Oracle => ‘Apache::Session::Oracle’,
55: ) unless $RT::WebSessionClass;
56: my $session_class = $RT::WebSessionClass ||
$backends{$RT::DatabaseType} || ‘Apache::Session::File’;
57: my $pm = “$session_class.pm”; $pm =~ s|::|/|g; require $pm;
58:
59: # morning bug avoidance attempt – pdh 20030815
60: unless ($RT::Handle->dbh && $RT::Handle->dbh->ping) {
61: $RT::Handle->Connect();

code stack: /opt/rt3/share/html/Elements/SetupSessionCookie:57
/opt/rt3/share/html/autohandler:73

Any help would be greatly appreciated,

Jonathan



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

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

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

Luke