[check_postgres] check_postgres make test failing

McGinley, Jamie jmcginley at pcrb.com
Wed Sep 23 21:26:49 UTC 2015


Support,
                I've been trying to complete the script installation for a couple days with no success. We are a SUSE SLES 11 & 12 Linux System z installation running under IBM z/VM. Our PostgreSQL guest machine is running fine but we need to monitor it as it's growing in size and use. I have installed Nagios 3.0.6 and want to incorporate check_postgres.pl to aid in the monitoring of our databases. I've been working on mainframe s/w for over 25 years but my Linux is a little lite. I do have access to the Postgres binaries. I also found I had to install the perl-DBI interface but that didn't resolve many errors. Also the test_database_check_postgres folder is empty.

I'm getting make test errors and have not been able to determine the cause. I found someone else on the internet would encountered the same problem but they never posted the resolution. I'm getting the following errors:

login as: jamie
Using keyboard-interactive authentication.
Password:
Last login: Wed Sep 23 05:49:57 2015 from 192.168.0.86
susemk:~ # cd /home
susemk:/home # grep jamie /etc/passwd
jamie:x:0:0:Jamie McGinley:/home/jamie:/bin/bash
susemk:/home # ls -l
total 404
drwxr-xr-x 5     503   504   4096 Sep 22 17:41 check_postgres-2.22.0
-rw-r--r-- 1 jamie   root  180992 Sep 17 06:10 check_postgres-2.22.0.tar.gz
-rwxr-xr-x 1 jamie   root   18658 Sep 23 08:59 dtunixtool324-suse.sh
drwxrwxrwx 2 jamie   root    4096 Jun  9 13:35 hung
drwxr-xr-x 3     110 users   4096 Sep 22 18:09 jamie
drwx------ 2 jamie   root   16384 Dec  4  2013 lost+found
drwxr-xr-x 5 maricel users   4096 Dec  4  2013 maricel
drwxrwxrwx 2 jamie   root    4096 Jun 10 15:40 peep
-rw-r--r-- 1 jamie   root  161471 Sep 23 09:28 susemk.09.23.2015.output.tar.gz
susemk:/home # cd check_postgres-2.22.0
susemk:/home/check_postgres-2.22.0 # perl Makefile.PL
Configuring check_postgres 2.22.0
Writing Makefile for check_postgres
susemk:/home/check_postgres-2.22.0 # make
cp check_postgres.pl blib/script/check_postgres.pl
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/check_postgres.pl
Manifying blib/man1/check_postgres.1p
susemk:/home/check_postgres-2.22.0 # make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_basic.................ok
t/00_signature.............skipped
        all skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/00_test_tester...........skipped
        all skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/01_validate_range........ok
t/02_autovac_freeze........Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory
# Looks like your test died before it could output anything.
t/02_autovac_freeze........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-8
        Failed 8/8 tests, 0.00% okay

I have attached the entire log to this email.

The other post I found is located at:
https://mail.endcrypt.com/pipermail/check_postgres-announce/2013-April/000031.html

That person was trying to run make test in a 64bit Centos 6.3 system. Is it because our Linux is 64bit?

Any help would be appreciated.

Regards,

Jamie

Jamie McGinley - Mainframe Support
Pennsylvania Compensation Rating Bureau
United Plaza Building - Suite 1500
30 South 17th Street
Philadelphia, PA 19103
Phone: 215.320.4406
Cell: 973.296.8089




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20150923/99778493/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Make test errors.txt
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20150923/99778493/attachment-0001.txt>


More information about the Check_postgres mailing list