Installation

Hi,

I was having problems in the testdeps where the DBD::mysql,
Apache::Session were giving me problems, so I downloaded the source from
CPAN and got DBD-mysql and Apache::DBI installed. Apache::Session is not
installing though and its giving me an error on a gmake test… The error
is as follows:-

Test returned status 2 (wstat 512, 0x200)

Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------t/99base64.t
2 512 ?? ?? % ??
t/99dbfile.t 2 512 ?? ?? % ??
t/99dbfilestore.t 2 512 ?? ?? % ??
t/99file.t 2 512 ?? ?? % ??
t/99md5gen.t 2 512 ?? ?? % ??
t/99mysql.t 2 512 ?? ?? % ??
t/99oracle.t 2 512 ?? ?? % ??
t/99postgres.t 2 512 ?? ?? % ??
t/99storable.t 2 512 ?? ?? % ??
t/99uue.t 2 512 ?? ?? % ??
3 tests skipped.
Failed 10/18 test scripts, 44.44% okay. 0/44 subtests failed, 100.00%
okay.
gmake: *** [test_dynamic] Error 2

Any ideas would be great, thanks…

I installed everything by hand and Mysql and Apache::DBI installed ok…
Now Apache::Session failed on the make test but on a make install went
through fine… Now, just for kicks I also went ahead on the RT Install and
I hit this error:-

Enter the mysql password for rt_user:
Creating database schema.
DBI->connect(dbname=rt2;host=localhost) failed: Access denied for user:
‘rt_user@localhost’ (Using password: YES) at tools/initdb line 144
Access denied for user: ‘rt_user@localhost’ (Using password: YES) at
tools/initdb line 144, line 1.
make: *** [initdb.rtuser] Error 255

Now I guess this is the DBD:mysql mod doing it, or I am screwing something
else up…

Any ideas?

Thanks…On Sun, 18 Nov 2001, Ashwin Kutty wrote:

Hi,

I was having problems in the testdeps where the DBD::mysql,
Apache::Session were giving me problems, so I downloaded the source from
CPAN and got DBD-mysql and Apache::DBI installed. Apache::Session is not
installing though and its giving me an error on a gmake test… The error
is as follows:-

Test returned status 2 (wstat 512, 0x200)
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------t/99base64.t
2 512 ?? ?? % ??
t/99dbfile.t 2 512 ?? ?? % ??
t/99dbfilestore.t 2 512 ?? ?? % ??
t/99file.t 2 512 ?? ?? % ??
t/99md5gen.t 2 512 ?? ?? % ??
t/99mysql.t 2 512 ?? ?? % ??
t/99oracle.t 2 512 ?? ?? % ??
t/99postgres.t 2 512 ?? ?? % ??
t/99storable.t 2 512 ?? ?? % ??
t/99uue.t 2 512 ?? ?? % ??
3 tests skipped.
Failed 10/18 test scripts, 44.44% okay. 0/44 subtests failed, 100.00%
okay.
gmake: *** [test_dynamic] Error 2

Any ideas would be great, thanks…

Ashwin Kutty wrote:

I hit this error:-

Enter the mysql password for rt_user:
Creating database schema.
DBI->connect(dbname=rt2;host=localhost) failed: Access denied for user:
‘rt_user@localhost’ (Using password: YES)

Drop your database, and try again - double check the makefile has the
correct password (both rt_user AND the mysql root account). I seem to
remember the ‘make install’ target asking for a password a second time,
though this might have been for an unset mysql root password.

T�o de Hesselle, \ One possible reason that things
Unix Systems Administrator \ aren’t going according to plan
\ is that there never was a plan
University of Technology, Sydney \ in the first place.

OK… All that solved now, I have this problem when I try to restart
httpd…

Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 1050 of /etc/httpd/conf/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 4)
line 3.

                                                       [FAILED]

However, here is a copy of my install of Apache::DBI

[root@mysystem ApacheDBI-0.88]# perl Makefile.PL
Writing Makefile for Apache::DBI
[root@mysystem ApacheDBI-0.88]# make
Manifying blib/man3/Apache::DBI.3
Manifying blib/man3/Apache::AuthDBI.3
[root@mysystem ApacheDBI-0.88]# make install
Installing /usr/local/man/man3/Apache::DBI.3
Installing /usr/local/man/man3/Apache::AuthDBI.3
Writing
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/Apache/DBI/.packlist
Appending installation info to
/usr/local/lib/perl5/5.6.1/i686-linux/perllocal.pod

Any ideas?On Mon, 19 Nov 2001, Teo de Hesselle wrote:

Ashwin Kutty wrote:

I hit this error:-

Enter the mysql password for rt_user:
Creating database schema.
DBI->connect(dbname=rt2;host=localhost) failed: Access denied for user:
‘rt_user@localhost’ (Using password: YES)

Drop your database, and try again - double check the makefile has the
correct password (both rt_user AND the mysql root account). I seem to
remember the ‘make install’ target asking for a password a second time,
though this might have been for an unset mysql root password.


Téo de Hesselle, \ One possible reason that things
Unix Systems Administrator \ aren’t going according to plan
\ is that there never was a plan
University of Technology, Sydney \ in the first place.


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

“The difference between genius and stupidity is that genius has its
limits.” - Albert Einstein

Ashwin
kutty…
Systems Administrator
Dalhousie University Libraries
(902) 494-2694

There are two differnet versions of perl on your system. apache is linked against something other than your system perl.On Tue, Nov 20, 2001 at 02:38:26PM -0400, Ashwin Kutty wrote:

OK… All that solved now, I have this problem when I try to restart
httpd…

Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 1050 of /etc/httpd/conf/httpd.conf:
Can’t locate Apache/DBI.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl) at (eval 4)
line 3.

                                                       [FAILED]

However, here is a copy of my install of Apache::DBI

[root@mysystem ApacheDBI-0.88]# perl Makefile.PL
Writing Makefile for Apache::DBI
[root@mysystem ApacheDBI-0.88]# make
Manifying blib/man3/Apache::DBI.3
Manifying blib/man3/Apache::AuthDBI.3
[root@mysystem ApacheDBI-0.88]# make install
Installing /usr/local/man/man3/Apache::DBI.3
Installing /usr/local/man/man3/Apache::AuthDBI.3
Writing
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/Apache/DBI/.packlist
Appending installation info to
/usr/local/lib/perl5/5.6.1/i686-linux/perllocal.pod

Any ideas?

On Mon, 19 Nov 2001, Teo de Hesselle wrote:

Ashwin Kutty wrote:

I hit this error:-

Enter the mysql password for rt_user:
Creating database schema.
DBI->connect(dbname=rt2;host=localhost) failed: Access denied for user:
‘rt_user@localhost’ (Using password: YES)

Drop your database, and try again - double check the makefile has the
correct password (both rt_user AND the mysql root account). I seem to
remember the ‘make install’ target asking for a password a second time,
though this might have been for an unset mysql root password.


Téo de Hesselle, \ One possible reason that things
Unix Systems Administrator \ aren’t going according to plan
\ is that there never was a plan
University of Technology, Sydney \ in the first place.


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


“The difference between genius and stupidity is that genius has its
limits.” - Albert Einstein

Ashwin
kutty…
Systems Administrator
Dalhousie University Libraries
(902) 494-2694


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

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