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

Re: Can't locate Test/Parser/ 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/ in DBT2 tests
Date: 2009-02-06 11:46:57
Message-ID: (view raw or whole 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_OUTPUT_DIR}/`hostname`/client-${SEG}.out 2>&1
> waiting for server to shut down.... done
> server stopped
> Can't locate Test/Parser/ 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/ 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


pgsql-performance by date

Next:From: Grzegorz JaƛkiewiczDate: 2009-02-06 13:13:31
Subject: Re: Number of occurrence of characters?
Previous:From: Rohan PethkarDate: 2009-02-06 11:37:31
Subject: Can't locate Test/Parser/ in DBT2 tests

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