[check_postgres] make test failed - check_postgres.pl

David Christensen david at endpoint.com
Wed Aug 26 12:47:55 UTC 2020


Hi Ahmed,

Is `initdb` is in PATH when you run this?  If not, you might adjust PATH to include the PostgreSQL 10 bin directory and try again.

Best,

David
--
David Christensen
Senior Software and Database Engineer
End Point Corporation
david at endpoint.com
785-727-1171


> On Aug 23, 2020, at 2:55 AM, Ahmed Abdelghani Bakri <ahmed.bakri at techno-tec.net> wrote:
> 
> 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 .
> 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.
> 
> _______________________________________________
> Check_postgres mailing list
> Check_postgres at bucardo.org
> https://bucardo.org/mailman/listinfo/check_postgres

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://bucardo.org/pipermail/check_postgres/attachments/20200826/21a5f101/attachment.sig>


More information about the Check_postgres mailing list