Skip site navigation (1) Skip section navigation (2)

Re: Can't locate Test/Parser/Dbt2.pm in DBT2 tests

From: Mark Wong <markwkm(at)gmail(dot)com>
To: Rohan Pethkar <rohanpethkar(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, Richard Huxton <dev(at)archonet(dot)com>, osdldbt-general(at)lists(dot)sourceforge(dot)net
Subject: Re: Can't locate Test/Parser/Dbt2.pm in DBT2 tests
Date: 2009-02-07 05:46:44
Message-ID: 70c01d1d0902062146r2d6240b0sb3f59271165b38ec@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-performance
On Fri, Feb 6, 2009 at 3:46 AM, Richard Huxton <dev(at)archonet(dot)com> wrote:
> Rohan Pethkar wrote:
>> Hi All,
>>
>> I am conductingDBT2 tests on PostgreSQL. After completing the test while
>> analyzing and creating the results I am getting following error:
>>
>> ./dbt2-run-workload: line 514:   731 Terminated              dbt2-client
>> ${CLIENT_COMMAND_ARGS} -p ${PORT} -o ${CDIR} >
>> ${CLIENT_OUTPUT_DIR}/`hostname`/client-${SEG}.out 2>&1
>> waiting for server to shut down.... done
>> server stopped
>> Can't locate Test/Parser/Dbt2.pm in @INC (@INC contains:
>> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
>> /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
>> /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
>> /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
>> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
>> /usr/lib/perl5/site_perl
>> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
>> /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
>> /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
>> /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
>> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
>> /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
>> /usr/lib/perl5/5.8.8 .) at
>> /home/rohan/NEW_DBT2/Installer/DBT2_SETUP/bin/dbt2-post-process line 13.
>
> Well, if Test::Parser::Dbt2 isn't in somewhere in that list of
> directories, you'll need to tell perl where to look. Simplest is
> probably just to:
>  export PERL5LIB="/path/to/extra/libs"
> before running your tests.
>
>> Can't exec "gnuplot": No such file or directory at
>> /home/rohan/NEW_DBT2/Installer/DBT2_SETUP/bin/dbt2-pgsql-analyze-stats line
>> 113.
>
> It also looks like you're missing gnuplot for your charts.
>
>> I ma not sure why it doesn't find Test/Parser/Dbt2.pm even if I have
>> installed DBT2 completely. Did I miss any steps? Do I need to install some
>> extra packages? If any then please let me know.
>
> You can always "perldoc perlrun" for more info (google it if you don't
> have docs installed locally).

Hi Rohan,

In addition to what Richard said, I'm guessing you don't have those
perl modules installed.  In the main README file lists the perl
modules required for the post processing of the data colelcted, which
is what failed here:

"The data analysis scripts requires two additional Perl packages to be
installed,
which are not checked by configure.  They are Statistics::Descriptive and
Test::Parser.  To generate HTML reports, Test::Reporter is required."

Sorry, it's still a work in progress., as slow as that may be.

Regards,
Mark

In response to

pgsql-performance by date

Next:From: Thomas FinneidDate: 2009-02-07 09:27:34
Subject: Re: explanation of some configs
Previous:From: Mark WongDate: 2009-02-07 05:31:46
Subject: Re: Getting error while running DBT2 test for PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group