[rt-users] error using Shredder
Nathan, Ahalya
Ahalya_Nathan at mudnebr.com
Tue Oct 25 12:59:36 EDT 2005
I installed it and it gave me this error:
root at web sbin]# ./rtx-shredder --object Users=17062 --sqldump
/usr/local/rt_dev/testdelete
************************************************************************
***
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC
contains: /opt/rt3/local/lib /opt/rt3/lib
/usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .
/opt/rt3/local/lib /opt/rt3/lib) at (eval 201) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Oracle, Proxy, SQLite, Sponge.
at /usr/local/lib/perl5/site_perl/5.8.6/DBIx/SearchBuilder/Handle.pm
line 108.
************************************************************************
****
When I tried installing DBD::mysql, it gave errors. Sample error message
towards the end is:
************************************************************************
***
not ok 1: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
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:
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2) 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.
I can't figure out what the problem is.
Thanks
Ahalya
-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nathan J.
Mehl
Sent: Tuesday, October 25, 2005 11:48 AM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] error using Shredder
In the immortal words of Nathan, Ahalya (Ahalya_Nathan at mudnebr.com):
> How did you install RTx::Shredder?
cd RTx-Shredder-0.02_02
perl Makefile.PL
make
make install
mkdir /opt/rt3/var/data/RTx-Shredder/
chown apache /opt/rt3/var/data/RTx-Shredder/
-n
------------------------------------------------------------<memory at blan
k.org>
"There are only 412 people in the world. And Nathan Mehl is 17 of them."
(--Pete
Ehlke)
<http://blank.org/memory/>----------------------------------------------
------
_______________________________________________
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
More information about the rt-users
mailing list