[check_postgres] make test failed - check_postgres.pl

Ahmed Abdelghani Bakri ahmed.bakri at techno-tec.net
Sun Aug 23 07:55:57 UTC 2020


Hi dears, 
Hope your doing well. 

I was trying to run postgres DB monitoring script in Librenms by following the instructions mentioned at : [ https://github.com/bucardo/check_postgres | https://github.com/bucardo/check_postgres ] . 
I have get a failed output when i run the make test command as it appears below: 


root at sahl:/etc/snmp/check_postgres-2.25.0# env -i make test 
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t 
t/00_basic.t ............... ok 
t/00_release.t ............. skipped: Test skipped unless environment variable RELEASE_TESTING is set 
t/00_signature.t ........... skipped: Test skipped unless environment variable RELEASE_TESTING is set 
t/00_test_tester.t ......... skipped: Test skipped unless environment variable RELEASE_TESTING is set 
t/01_validate_range.t ...... ok 
t/02_autovac_freeze.t ...... Bailout called. Further testing stopped: Cannot continue without a test database 
# Could not open "test_database_check_postgres/data space/postgresql.conf": No such file or directory 
FAILED--Further testing stopped: Cannot continue without a test database 
Makefile:791: recipe for target 'test_dynamic' failed 
make: *** [test_dynamic] Error 255 

My DB version is : 
psql (PostgreSQL) 10.13 (Ubuntu 10.13-1.pgdg18.04+1 

My OS version : Ubuntu 18.04.4 LTS 


Kindly your support ! 
BR. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://bucardo.org/pipermail/check_postgres/attachments/20200823/d5b83137/attachment.htm>


More information about the Check_postgres mailing list