RT not working yet. Help!

Alright let’s try this again.

Here’s my problem. I got everything installed (as far as I can tell),
except when I access RT (for the first time mind you) I get the following
error showing up in my apache webserver log:
[error] Can’t locate object method “new” via package “RT::Handle” at
/data/htdocs/base/rt3/lib/RT.pm line 122.

I did look in rtfm and it does have this error mentioned in it, however
my RT_Config.pm does contain a correct lowercase database type:
Set($DatabaseType , ‘mysql’);

And even users (yes I know they are default, but I want to get it up and
running to see if my teamates like it before I start the serious work to
get it ready for prod)
Set($DatabaseUser , ‘rt_user’);
Set($DatabasePassword , ‘rt_pass’);

My database host is the same machine the webserver is running on:
Set($DatabaseHost , ‘localhost’);
Set($DatabaseRTHost , ‘localhost’);

Mysql is up an running (it worked for creating the default database when
using make setup-database during installation).
Mysql is version 4.0.12-max for Aix (compiled by mysql).
DBD::Mysql is installed (version 2.1026, make test ok during build)
DBIx::Searchbuilder is installed (version 0.80)
Apache::DBI is installed (version 0.91)

Apache is version 1.3.7 with Mod_sll 2.8.12, Mod_perl v1.27 and
php4-STABLE-200303201630 all compiled in as static modules. I am running
all of this on Aix v5.1 with Maintence Level 2(?).

This is my VirtualHost entry:
<VirtualHost 10.178.67.100>
ServerName tracker
DocumentRoot /data/htdocs/base/rt3/share/html
AddDefaultCharset UTF-8
LogLevel debug
ErrorLog /sftw/apache/logs/rt3-error.log
PerlModule Apache::DBI
PerlRequire /data/htdocs/base/rt3/bin/webmux.pl

Options +ExecCGI +MultiViews
SetHandler perl-script
PerlHandler RT::Mason

So…Ideas? I know that line 122 is $Handle = RT::Handle->new(); which
basically means (I think) that it’s trying to connect to mysql and can’t…

Which I can do using mysqladmin -u rt_user -p -h localhost status…so I
know that the rt_user has access from localhost to get to mysql…So what
gives?

mysqladmin -u rt_user -p -h localhost status
Enter password:
Uptime: 17 Threads: 1 Questions: 1 Slow queries: 0 Opens: 6 Flush
tables: 1 Open tables: 0 Queries per second avg: 0.059

Thanks.

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

Still not working, No change with:

Set($DatabaseHost , ‘undef’);
Set($DatabaseRTHost , ‘undef’);

or with:
Set($DatabaseHost , ‘’);
Set($DatabaseRTHost , ‘’);

I still get

[Thu Apr 3 10:46:59 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /data/htdocs/base/rt3/lib/RT.pm line 122.

Any other ideas? Could it be something not quite right with my perl
modules? the make test for Apache::DBI didn’t go well (no problems with the
make however)…Could that be it?

Here is the output of the make test for Apache::DBI
PERL_DL_NONLAZY=1 /opt/freeware/bin/perl -Iblib/arch -Iblib/lib
-I/opt/freeware/lib/perl5/5.6.1/ppc-aix -I/opt/freeware/lib/perl5/5.6.1 -e
’use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/10mysql…ok 2/7# Failed test (t/10mysql.t at line 28)

got: ‘123’

expected: ‘124’

t/10mysql…ok 7/7# Looks like you failed 1 tests of 7.
t/10mysql…dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/7 tests, 85.71% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
t/10mysql.t 1 256 7 1 14.29% 5
Failed 1/1 test scripts, 0.00% okay. 1/7 subtests failed, 85.71% okay.
make: *** [test_dynamic] Error 2

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

                                           cc:                                                                                     
                    Jesse Vincent          Subject: Re: [rt-users] RT not working yet. Help!                                       
                    <jesse@bestprac                                                                                                
                    tical.com>                                                                                                     
                                                                                                                                   
                    04/03/2003                                                                                                     
                    08:24 AM                                                                                                       

try setting DatabaseHost to undef?

Alright let’s try this again.

Here’s my problem. I got everything installed (as far as I can tell),
except when I access RT (for the first time mind you) I get the following
error showing up in my apache webserver log:
[error] Can’t locate object method “new” via package "RT::Handle"
at
/data/htdocs/base/rt3/lib/RT.pm line 122.

I did look in rtfm and it does have this error mentioned in it, however
my RT_Config.pm does contain a correct lowercase database type:
Set($DatabaseType , ‘mysql’);

And even users (yes I know they are default, but I want to get it up and
running to see if my teamates like it before I start the serious work to
get it ready for prod)
Set($DatabaseUser , ‘rt_user’);
Set($DatabasePassword , ‘rt_pass’);

My database host is the same machine the webserver is running on:
Set($DatabaseHost , ‘localhost’);
Set($DatabaseRTHost , ‘localhost’);

Mysql is up an running (it worked for creating the default database when
using make setup-database during installation).
Mysql is version 4.0.12-max for Aix (compiled by mysql).
DBD::Mysql is installed (version 2.1026, make test ok during
build)
DBIx::Searchbuilder is installed (version 0.80)
Apache::DBI is installed (version 0.91)

Apache is version 1.3.7 with Mod_sll 2.8.12, Mod_perl v1.27 and
php4-STABLE-200303201630 all compiled in as static modules. I am running
all of this on Aix v5.1 with Maintence Level 2(?).

This is my VirtualHost entry:
<VirtualHost 10.178.67.100>
ServerName tracker
DocumentRoot /data/htdocs/base/rt3/share/html
AddDefaultCharset UTF-8
LogLevel debug
ErrorLog /sftw/apache/logs/rt3-error.log
PerlModule Apache::DBI
PerlRequire /data/htdocs/base/rt3/bin/webmux.pl

Options +ExecCGI +MultiViews
SetHandler perl-script
PerlHandler RT::Mason

So…Ideas? I know that line 122 is $Handle = RT::Handle->new(); which
basically means (I think) that it’s trying to connect to mysql and
can’t…

Which I can do using mysqladmin -u rt_user -p -h localhost status…so I
know that the rt_user has access from localhost to get to mysql…So what
gives?

mysqladmin -u rt_user -p -h localhost status
Enter password:
Uptime: 17 Threads: 1 Questions: 1 Slow queries: 0 Opens: 6 Flush
tables: 1 Open tables: 0 Queries per second avg: 0.059

Thanks.

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

no quotes around the undef.On Thu, Apr 03, 2003 at 11:09:20AM -0600, jkaufman@footlocker.com wrote:

Still not working, No change with:

Set($DatabaseHost , ‘undef’);
Set($DatabaseRTHost , ‘undef’);

or with:
Set($DatabaseHost , ‘’);
Set($DatabaseRTHost , ‘’);

I still get

[Thu Apr 3 10:46:59 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /data/htdocs/base/rt3/lib/RT.pm line 122.

Any other ideas? Could it be something not quite right with my perl
modules? the make test for Apache::DBI didn’t go well (no problems with the
make however)…Could that be it?

Here is the output of the make test for Apache::DBI
PERL_DL_NONLAZY=1 /opt/freeware/bin/perl -Iblib/arch -Iblib/lib
-I/opt/freeware/lib/perl5/5.6.1/ppc-aix -I/opt/freeware/lib/perl5/5.6.1 -e
’use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/10mysql…ok 2/7# Failed test (t/10mysql.t at line 28)

got: ‘123’

expected: ‘124’

t/10mysql…ok 7/7# Looks like you failed 1 tests of 7.
t/10mysql…dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/7 tests, 85.71% okay
Failed Test Stat Wstat Total Fail Failed List of Failed

t/10mysql.t 1 256 7 1 14.29% 5
Failed 1/1 test scripts, 0.00% okay. 1/7 subtests failed, 85.71% okay.
make: *** [test_dynamic] Error 2

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

                                           To:      jkaufman@footlocker.com                                                        
                                           cc:                                                                                     
                    Jesse Vincent          Subject: Re: [rt-users] RT not working yet. Help!                                       
                    <jesse@bestprac                                                                                                
                    tical.com>                                                                                                     
                                                                                                                                   
                    04/03/2003                                                                                                     
                    08:24 AM                                                                                                       

try setting DatabaseHost to undef?

On Thu, Apr 03, 2003 at 07:42:32AM -0600, jkaufman@footlocker.com wrote:

Alright let’s try this again.

Here’s my problem. I got everything installed (as far as I can tell),
except when I access RT (for the first time mind you) I get the following
error showing up in my apache webserver log:
[error] Can’t locate object method “new” via package "RT::Handle"
at
/data/htdocs/base/rt3/lib/RT.pm line 122.

I did look in rtfm and it does have this error mentioned in it, however
my RT_Config.pm does contain a correct lowercase database type:
Set($DatabaseType , ‘mysql’);

And even users (yes I know they are default, but I want to get it up and
running to see if my teamates like it before I start the serious work to
get it ready for prod)
Set($DatabaseUser , ‘rt_user’);
Set($DatabasePassword , ‘rt_pass’);

My database host is the same machine the webserver is running on:
Set($DatabaseHost , ‘localhost’);
Set($DatabaseRTHost , ‘localhost’);

Mysql is up an running (it worked for creating the default database when
using make setup-database during installation).
Mysql is version 4.0.12-max for Aix (compiled by mysql).
DBD::Mysql is installed (version 2.1026, make test ok during
build)
DBIx::Searchbuilder is installed (version 0.80)
Apache::DBI is installed (version 0.91)

Apache is version 1.3.7 with Mod_sll 2.8.12, Mod_perl v1.27 and
php4-STABLE-200303201630 all compiled in as static modules. I am running
all of this on Aix v5.1 with Maintence Level 2(?).

This is my VirtualHost entry:
<VirtualHost 10.178.67.100>
ServerName tracker
DocumentRoot /data/htdocs/base/rt3/share/html
AddDefaultCharset UTF-8
LogLevel debug
ErrorLog /sftw/apache/logs/rt3-error.log
PerlModule Apache::DBI
PerlRequire /data/htdocs/base/rt3/bin/webmux.pl

Options +ExecCGI +MultiViews
SetHandler perl-script
PerlHandler RT::Mason

So…Ideas? I know that line 122 is $Handle = RT::Handle->new(); which
basically means (I think) that it’s trying to connect to mysql and
can’t…

Which I can do using mysqladmin -u rt_user -p -h localhost status…so I
know that the rt_user has access from localhost to get to mysql…So what
gives?

mysqladmin -u rt_user -p -h localhost status
Enter password:
Uptime: 17 Threads: 1 Questions: 1 Slow queries: 0 Opens: 6 Flush
tables: 1 Open tables: 0 Queries per second avg: 0.059

Thanks.

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


http://www.bestpractical.com/rt – Trouble Ticketing. Free.

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

No luck with;
Set($DatabaseHost , undef);
Set($DatabaseRTHost , undef);

Still getting the error.

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

                                            cc:      rt-users@lists.fsck.com                                                        
                    Jesse Vincent           Subject: Re: [rt-users] RT not working yet. Help!                                       
                    <jesse@bestpract                                                                                                
                    ical.com>                                                                                                       
                    Sent by:                                                                                                        
                    rt-users-admin@l                                                                                                
                    ists.fsck.com                                                                                                   
                                                                                                                                    
                                                                                                                                    
                    04/03/2003 11:17                                                                                                
                    AM                                                                                                              

no quotes around the undef.

Still not working, No change with:

Set($DatabaseHost , ‘undef’);
Set($DatabaseRTHost , ‘undef’);

or with:
Set($DatabaseHost , ‘’);
Set($DatabaseRTHost , ‘’);

I still get

[Thu Apr 3 10:46:59 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /data/htdocs/base/rt3/lib/RT.pm line 122.

Any other ideas? Could it be something not quite right with my perl
modules? the make test for Apache::DBI didn’t go well (no problems with
the
make however)…Could that be it?

Here is the output of the make test for Apache::DBI
PERL_DL_NONLAZY=1 /opt/freeware/bin/perl -Iblib/arch -Iblib/lib
-I/opt/freeware/lib/perl5/5.6.1/ppc-aix -I/opt/freeware/lib/perl5/5.6.1
-e
’use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/10mysql…ok 2/7# Failed test (t/10mysql.t at line 28)

got: ‘123’

expected: ‘124’

t/10mysql…ok 7/7# Looks like you failed 1 tests of 7.
t/10mysql…dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/7 tests, 85.71% okay
Failed Test Stat Wstat Total Fail Failed List of Failed

t/10mysql.t 1 256 7 1 14.29% 5
Failed 1/1 test scripts, 0.00% okay. 1/7 subtests failed, 85.71% okay.
make: *** [test_dynamic] Error 2

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

                                           To:

jkaufman@footlocker.com

                                           cc:
                    Jesse Vincent          Subject: Re: [rt-users] RT

not working yet. Help!

                    <jesse@bestprac
                    tical.com>
                    04/03/2003
                    08:24 AM

try setting DatabaseHost to undef?

Alright let’s try this again.

Here’s my problem. I got everything installed (as far as I can tell),
except when I access RT (for the first time mind you) I get the
following

error showing up in my apache webserver log:
[error] Can’t locate object method “new” via package
"RT::Handle"
at

/data/htdocs/base/rt3/lib/RT.pm line 122.

I did look in rtfm and it does have this error mentioned in it,
however

my RT_Config.pm does contain a correct lowercase database type:
Set($DatabaseType , ‘mysql’);

And even users (yes I know they are default, but I want to get it up
and

running to see if my teamates like it before I start the serious work
to

get it ready for prod)
Set($DatabaseUser , ‘rt_user’);
Set($DatabasePassword , ‘rt_pass’);

My database host is the same machine the webserver is running on:
Set($DatabaseHost , ‘localhost’);
Set($DatabaseRTHost , ‘localhost’);

Mysql is up an running (it worked for creating the default database
when

using make setup-database during installation).
Mysql is version 4.0.12-max for Aix (compiled by mysql).
DBD::Mysql is installed (version 2.1026, make test ok during
build)
DBIx::Searchbuilder is installed (version 0.80)
Apache::DBI is installed (version 0.91)

Apache is version 1.3.7 with Mod_sll 2.8.12, Mod_perl v1.27 and
php4-STABLE-200303201630 all compiled in as static modules. I am
running

all of this on Aix v5.1 with Maintence Level 2(?).

This is my VirtualHost entry:
<VirtualHost 10.178.67.100>
ServerName tracker
DocumentRoot /data/htdocs/base/rt3/share/html
AddDefaultCharset UTF-8
LogLevel debug
ErrorLog /sftw/apache/logs/rt3-error.log
PerlModule Apache::DBI
PerlRequire /data/htdocs/base/rt3/bin/webmux.pl

Options +ExecCGI +MultiViews
SetHandler perl-script
PerlHandler RT::Mason

So…Ideas? I know that line 122 is $Handle = RT::Handle->new(); which
basically means (I think) that it’s trying to connect to mysql and
can’t…

Which I can do using mysqladmin -u rt_user -p -h localhost status…so
I

know that the rt_user has access from localhost to get to mysql…So
what

gives?

mysqladmin -u rt_user -p -h localhost status
Enter password:
Uptime: 17 Threads: 1 Questions: 1 Slow queries: 0 Opens: 6 Flush
tables: 1 Open tables: 0 Queries per second avg: 0.059

Thanks.

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


http://www.bestpractical.com/rt – Trouble Ticketing. Free.

http://www.bestpractical.com/rt – Trouble Ticketing. Free.
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Still doesn’t work. I’m going to try down leveling to the 3.x release of
mysql and see if it changes the error code or not. Unfortunately I don’t
know enough about Perl/Apache to know if it’s failing before it is trying
to connect or fails in connecting (but actuallly tries)… If I come up
with anything I’ll let you know.

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

                                           cc:                                                                               
                    Jesse Vincent          Subject: Re: [rt-users] RT not working yet. Help!                                 
                    <jesse@bestprac                                                                                          
                    tical.com>                                                                                               
                                                                                                                             
                    04/03/2003                                                                                               
                    06:20 PM                                                                                                 

what happens if you chmod -R 777 /data/htdocs/base/rt3/etc and stop and
start apache?

Alright let’s try this again.

Here’s my problem. I got everything installed (as far as I can tell),
except when I access RT (for the first time mind you) I get the following
error showing up in my apache webserver log:
[error] Can’t locate object method “new” via package "RT::Handle"
at
/data/htdocs/base/rt3/lib/RT.pm line 122.

I did look in rtfm and it does have this error mentioned in it, however
my RT_Config.pm does contain a correct lowercase database type:
Set($DatabaseType , ‘mysql’);

And even users (yes I know they are default, but I want to get it up and
running to see if my teamates like it before I start the serious work to
get it ready for prod)
Set($DatabaseUser , ‘rt_user’);
Set($DatabasePassword , ‘rt_pass’);

My database host is the same machine the webserver is running on:
Set($DatabaseHost , ‘localhost’);
Set($DatabaseRTHost , ‘localhost’);

Mysql is up an running (it worked for creating the default database when
using make setup-database during installation).
Mysql is version 4.0.12-max for Aix (compiled by mysql).
DBD::Mysql is installed (version 2.1026, make test ok during
build)
DBIx::Searchbuilder is installed (version 0.80)
Apache::DBI is installed (version 0.91)

Apache is version 1.3.7 with Mod_sll 2.8.12, Mod_perl v1.27 and
php4-STABLE-200303201630 all compiled in as static modules. I am running
all of this on Aix v5.1 with Maintence Level 2(?).

This is my VirtualHost entry:
<VirtualHost 10.178.67.100>
ServerName tracker
DocumentRoot /data/htdocs/base/rt3/share/html
AddDefaultCharset UTF-8
LogLevel debug
ErrorLog /sftw/apache/logs/rt3-error.log
PerlModule Apache::DBI
PerlRequire /data/htdocs/base/rt3/bin/webmux.pl

Options +ExecCGI +MultiViews
SetHandler perl-script
PerlHandler RT::Mason

So…Ideas? I know that line 122 is $Handle = RT::Handle->new(); which
basically means (I think) that it’s trying to connect to mysql and
can’t…

Which I can do using mysqladmin -u rt_user -p -h localhost status…so I
know that the rt_user has access from localhost to get to mysql…So what
gives?

mysqladmin -u rt_user -p -h localhost status
Enter password:
Uptime: 17 Threads: 1 Questions: 1 Slow queries: 0 Opens: 6 Flush
tables: 1 Open tables: 0 Queries per second avg: 0.059

Thanks.

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

Hi Jonathan,

I very recently installed RT3, and my Apache::DBI also did not install due
to failing mysql tests.

Doing a “force install Apache::DBI” from perl -MCPAN -eshell did the trick.

Good luck,

Rich-----Original Message-----
From: jkaufman@footlocker.com [mailto:jkaufman@footlocker.com]
Sent: donderdag 3 april 2003 19:09
To: Jesse Vincent
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT not working yet. Help!

Still not working, No change with:

Set($DatabaseHost , ‘undef’);
Set($DatabaseRTHost , ‘undef’);

or with:
Set($DatabaseHost , ‘’);
Set($DatabaseRTHost , ‘’);

I still get

[Thu Apr 3 10:46:59 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /data/htdocs/base/rt3/lib/RT.pm line 122.

Any other ideas? Could it be something not quite right with my perl
modules? the make test for Apache::DBI didn’t go well (no problems with the
make however)…Could that be it?

Here is the output of the make test for Apache::DBI
PERL_DL_NONLAZY=1 /opt/freeware/bin/perl -Iblib/arch -Iblib/lib
-I/opt/freeware/lib/perl5/5.6.1/ppc-aix -I/opt/freeware/lib/perl5/5.6.1 -e
’use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/10mysql…ok 2/7# Failed test (t/10mysql.t at line 28)

got: ‘123’

expected: ‘124’

t/10mysql…ok 7/7# Looks like you failed 1 tests of 7.
t/10mysql…dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/7 tests, 85.71% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
t/10mysql.t 1 256 7 1 14.29% 5
Failed 1/1 test scripts, 0.00% okay. 1/7 subtests failed, 85.71% okay.
make: *** [test_dynamic] Error 2

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

hmm… I’ll remember that next time I use CPAN to install stuff. I noticed
it failed and then went into my .cpan/build directory and manually did a
make install (so it is installed). Does your RT3 install work with the
"failure" of the make test for Apache::DBI?

Jonathan Kaufman

Foot Locker Corporate Services, Inc.
E-Mail: jkaufman@footlocker.com
Tel:414-357-4062
Fax:717-972-3700
Tie Line:89-221-4062

                                           cc:      rt-users@lists.fsck.com                                                  
                    Richard de Jong        Subject: RE: [rt-users] RT not working yet. Help!                                 
                    <richard.de.jon                                                                                          
                    g@framfab.nl>                                                                                            
                                                                                                                             
                    04/04/2003                                                                                               
                    08:20 AM                                                                                                 

Hi Jonathan,

I very recently installed RT3, and my Apache::DBI also did not install due
to failing mysql tests.

Doing a “force install Apache::DBI” from perl -MCPAN -eshell did the trick.

Good luck,

Rich-----Original Message-----
From: jkaufman@footlocker.com [mailto:jkaufman@footlocker.com]
Sent: donderdag 3 april 2003 19:09
To: Jesse Vincent
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT not working yet. Help!

Still not working, No change with:

Set($DatabaseHost , ‘undef’);
Set($DatabaseRTHost , ‘undef’);

or with:
Set($DatabaseHost , ‘’);
Set($DatabaseRTHost , ‘’);

I still get

[Thu Apr 3 10:46:59 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /data/htdocs/base/rt3/lib/RT.pm line 122.

Any other ideas? Could it be something not quite right with my perl
modules? the make test for Apache::DBI didn’t go well (no problems with the
make however)…Could that be it?

Here is the output of the make test for Apache::DBI
PERL_DL_NONLAZY=1 /opt/freeware/bin/perl -Iblib/arch -Iblib/lib
-I/opt/freeware/lib/perl5/5.6.1/ppc-aix -I/opt/freeware/lib/perl5/5.6.1 -e
’use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/10mysql…ok 2/7# Failed test (t/10mysql.t at line 28)

got: ‘123’

expected: ‘124’

t/10mysql…ok 7/7# Looks like you failed 1 tests of 7.
t/10mysql…dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 5
Failed 1/7 tests, 85.71% okay
Failed Test Stat Wstat Total Fail Failed List of Failed

t/10mysql.t 1 256 7 1 14.29% 5
Failed 1/1 test scripts, 0.00% okay. 1/7 subtests failed, 85.71% okay.
make: *** [test_dynamic] Error 2

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

Well met, Is your mod_perl compiled as a DSO? (Dynamically loaded module)
or compiled directly into apache (You should be able to check using httpd
-l). The RT Doc’s do state that you shouldn’t run mod_perl as a DSO and
that it’s a good idea to use EVERYTHING=1 during the compilation of
mod_perl (if you can get away with it)…Can someone on the list explain
the particular’s of why?

Jonathan Kaufman

Foot Locker Inc.
E-Mail: jkaufman@footlocker.com

                                           cc:                                                                               
                    Luc Violaté            Subject: Re: [rt-users] RT not working yet. Help!                                 
                    <luc.violate@ol                                                                                          
                    eane.net>                                                                                                
                                                                                                                             
                    04/04/2003                                                                                               
                    10:28 AM                                                                                                 

Hello all,

I got the same kind of problems with Apache::DBI and the test part.
I forced the install of Apache::DBI.

The rest of the install was ok

I finnally got to the point to restart the apache :

/usr/sbin/apachectl configtest
Syntax OK
/usr/sbin/apachectl: line 171: 24805 Segmentation fault $HTTPD -t

When I remove the PerlRequire /opt/rt3/bin/webmux.pl from the httpd.conf
the Segmentation fault vanish.

So I tried again the test on Apache-DBI, and as it is still failling I
think this is the reason of the Segmentation fault.

I’m looking at the configuration of mod_perl right now as it seems I
miss PERL_CHILD_INIT=1 et PERL_STACKED_HANDLERS=1

(apache & libapache_mod_perl from stable debian)

Do you think this is the probleme, or am I rebuilding libapache_mod_perl
for nothing?

      Luc

:~/.cpan/build/Apache-DBI-0.91# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl/5.6.1
-I/usr/share/perl/5.6.1 -e ‘use Test::Harness qw(&runtests $verbose);
$verbose=0; runtests @ARGV;’ t/*.t
t/10mysql…ok 2/719465 Apache::DBI need ping: yes
19465 Apache::DBI new connect to
’testAutoCommit=1PrintError=1RaiseError=1’
t/10mysql…NOK 3# Failed test (t/10mysql.t at line 23)
19465 Apache::DBI need ping: no
19465 Apache::DBI already connected to
’testAutoCommit=1PrintError=1RaiseError=1’
t/10mysql…NOK 4# Failed test (t/10mysql.t at line 26)
t/10mysql…ok 5/719465 Apache::DBI need ping: no
19465 Apache::DBI already connected to
’testAutoCommit=1PrintError=1RaiseError=1’
t/10mysql…NOK 6# Failed test (t/10mysql.t at line 31)
t/10mysql…NOK 7# Failed test (t/10mysql.t at line 33)

‘ne’

undef

Looks like you failed 4 tests of 7.

t/10mysql…dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 3-4, 6-7
Failed 4/7 tests, 42.86% okay
Failed Test Stat Wstat Total Fail Failed List of
Failed

t/10mysql.t 4 1024 7 4 57.14% 3-4 6-7
Failed 1/1 test scripts, 0.00% okay. 4/7 subtests failed, 42.86% okay.
make: *** [test_dynamic] Error 2

jkaufman@footlocker.com wrote:

hmm… I’ll remember that next time I use CPAN to install stuff. I noticed
it failed and then went into my .cpan/build directory and manually did a
make install (so it is installed). Does your RT3 install work with the
"failure" of the make test for Apache::DBI?

Jonathan Kaufman

Foot Locker Corporate Services, Inc.
E-Mail: jkaufman@footlocker.com
Tel:414-357-4062
Fax:717-972-3700
Tie Line:89-221-4062

                                           To:

“‘jkaufman@footlocker.com’” jkaufman@footlocker.com

                                           cc:

rt-users@lists.fsck.com

                    Richard de Jong        Subject: RE: [rt-users] RT

not working yet. Help!

                    <richard.de.jon
                    g@framfab.nl>
                    04/04/2003
                    08:20 AM

Hi Jonathan,

I very recently installed RT3, and my Apache::DBI also did not install
due
to failing mysql tests.

Doing a “force install Apache::DBI” from perl -MCPAN -eshell did the
trick.

Good luck,

Rich

-----Original Message-----
From: jkaufman@footlocker.com [mailto:jkaufman@footlocker.com]
Sent: donderdag 3 april 2003 19:09
To: Jesse Vincent
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT not working yet. Help!

Still not working, No change with:

Set($DatabaseHost , ‘undef’);
Set($DatabaseRTHost , ‘undef’);

or with:
Set($DatabaseHost , ‘’);
Set($DatabaseRTHost , ‘’);

I still get

[Thu Apr 3 10:46:59 2003] [error] Can’t locate object method “new” via
package “RT::Handle” at /data/htdocs/base/rt3/lib/RT.pm line 122.

Any other ideas? Could it be something not quite right with my perl
modules? the make test for Apache::DBI didn’t go well (no problems with
the
make however)…Could that be it?

Here is the output of the make test for Apache::DBI
PERL_DL_NONLAZY=1 /opt/freeware/bin/perl -Iblib/arch -Iblib/lib
-I/opt/freeware/lib/perl5/5.6.1/ppc-aix -I/opt/freeware/lib/perl5/5.6.1
-e