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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux