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

From: Richard Huxton <dev(at)archonet(dot)com>
To: Rohan Pethkar <rohanpethkar(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, markwkm(at)postgresql(dot)org
Subject: Re: Can't locate Test/Parser/Dbt2.pm in DBT2 tests
Date: 2009-02-06 11:46:57
Message-ID: 498C2331.905@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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).

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2009-02-06 13:13:31 Re: Number of occurrence of characters?
Previous Message Rohan Pethkar 2009-02-06 11:37:31 Can't locate Test/Parser/Dbt2.pm in DBT2 tests