[check_postgres] Make test error log - 21FEB2011

Joshua Tolley josh at endpoint.com
Fri Feb 25 16:23:00 UTC 2011


On Mon, Feb 21, 2011 at 04:02:21AM -0800, savio rodriges wrote:
> Attach is "make test" error log FYI.

This is the important bit:

> Could not connect: install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains: t . /var/lib/pgsql/monitor/check_postgres-2.16.0/blib/lib /var/lib/pgsql/monitor/check_postgres-2.16.0/blib/arch /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at (eval 7) line 3.
> Perhaps the DBD::Pg perl module hasn't been fully installed,
> or perhaps the capitalisation of 'Pg' isn't right.

It means you need to install Perl's DBD::Pg library, which allows Perl
programs to talk directly to PostgreSQL. I'm guessing you're using some Linux
version; this library is widely available in various distributions' package
repositories. For instance, in Debian it's known as libdbd-pg-perl and in the
RPM world as perl-DBD-Pg. You should be able simply to install it with your
system's package management tools and get past this problem.

-- 
Josh Tolley   josh at endpoint.com   801-987-0252
End Point Corporation  http://www.endpoint.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20110225/ea3191e9/attachment.bin 


More information about the Check_postgres mailing list