LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-01-2005, 09:01 PM   #1
sohaib
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Perl Module cant Install


I am installing perl Module every time I try to install that it give me error, please help thats the out put I am getting :-

DIED. FAILED tests 1-351
Failed 351/351 tests, 0.00% okay
t/dbdadmin...........DBI connect('test','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/dbdadmin.t line 74
t/dbdadmin...........NOK 1Cannot connect: Access denied for user 'root'@'localhost' (using password: NO)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
t/dbdadmin...........dubious
Test returned status 10 (wstat 2560, 0xa00)
DIED. FAILED tests 1-21
Failed 21/21 tests, 0.00% okay
t/insertid...........DBI connect('test','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/insertid.t line 13
t/insertid...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
t/mysql..............Mysql connect('database=test;host=','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/mysql.t line 55
not ok 1: Access denied for user 'root'@'localhost' (using password: NO)
It looks as if your server is not up and running.
This test requires a running server.
Please make sure your server is running and retry.
FAILED before any test output arrived
t/mysql2.............Mysql connect('database=test;host=','',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/mysql2.t line 29
Can't call method "getserverinfo" on an undefined value at t/mysql2.t line 30.
t/mysql2.............dubious
Test returned status 255 (wstat 65280, 0xff00)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10dsnlist.t 10 2560 9 17 188.89% 1-9
t/20createdrop.t 10 2560 5 9 180.00% 1-5
t/30insertfetch.t 10 2560 11 21 190.91% 1-11
t/35limit.t 10 2560 113 225 199.12% 1-113
t/40bindparam.t 10 2560 27 53 196.30% 1-27
t/40blobs.t 10 2560 11 21 190.91% 1-11
t/40listfields.t 10 2560 18 35 194.44% 1-18
t/40nulls.t 10 2560 11 21 190.91% 1-11
t/40numrows.t 10 2560 25 49 196.00% 1-25
t/41blobs_prepare.t 10 2560 24 47 195.83% 1-24
t/50chopblanks.t 10 2560 35 69 197.14% 1-35
t/50commit.t 255 65280 30 59 196.67% 1-30
t/ak-dbd.t 255 65280 90 175 194.44% 1 4-90
t/akmisc.t 10 2560 351 701 199.72% 1-351
t/dbdadmin.t 10 2560 21 41 195.24% 1-21
t/insertid.t 255 65280 12 24 200.00% 1-12
t/mysql.t ?? ?? % ??
t/mysql2.t 255 65280 ?? ?? % ??
1 test skipped.
Failed 18/20 test scripts, 10.00% okay. 859/866 subtests failed, 0.81% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
 
Old 12-02-2005, 06:48 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
is the mysql server running?
ps -e | grep mysql
if not start it before DBI module tries to connect...
 
Old 12-02-2005, 07:14 AM   #3
sohaib
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
yes - its running -
 
Old 12-02-2005, 08:44 AM   #4
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
is root@localhost with no password the correct username for read/write access to your mysql installation? This may be a mysql configuration problem rather than a perl problem. Can you create a database and drop it from the command line using that username?
 
Old 12-02-2005, 08:53 AM   #5
sohaib
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
can I specify the username and password in Makefile.PL , if yes than how /
 
Old 12-02-2005, 09:14 AM   #6
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
Check your installation documentation. I'm not sure what your module does, but in the perl install method of

perl Makefile.PL
make
make test
make install

The test part is actually running the module, so if the test fails, the module knows it is pointless to continue the install. It would seem that somewhere you would need to be able to configure the username/password for the database. root@localhost is a common default, but it may have been deemed insecure at your site.
 
Old 12-02-2005, 09:22 AM   #7
sohaib
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
It's a DB::mysql module - also if I cant install thru install DBI::mysql what should I do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install Perl module via CPAN Sparky.Watson Linux - Software 1 08-24-2005 08:23 PM
Install perl module mosh Programming 2 06-21-2004 12:12 PM
Perl and GD module install problem timfair Linux - Software 0 09-17-2003 08:47 PM
perl module install? DKY Linux - Newbie 33 08-04-2003 01:24 PM
perl-module Net::RawIP - install problem nic_d Linux - Software 0 07-06-2002 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration