Code: Select all
cpan -i YAML
cpan -i Test::CPAN::Meta
cpan -i Test::Pod::Coverage
cpan -i Test::PodCode: Select all
cpan -i WWW::Curl::EasyCode: Select all
cpan -i YAML
cpan -i Test::CPAN::Meta
cpan -i Test::Pod::Coverage
cpan -i Test::PodCode: Select all
cpan -i WWW::Curl::Easyi have successfully installed all the manual packagestgriep wrote:It could be that your server doesn't have direct access to the internet is causing ht e modules to not download and install but here is a new list on perl modules you need to install.If the above install, then try this againCode: Select all
cpan -i YAML cpan -i Test::CPAN::Meta cpan -i Test::Pod::Coverage cpan -i Test::PodIf you see any missing required modules, install them as well and try again.Code: Select all
cpan -i WWW::Curl::Easy
Code: Select all
[root@nagios libexec]# cpan -i YAML
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 14 Feb 2018 18:17:03 GMT
YAML is up to date (1.24).
[root@nagios libexec]# cpan -i Test::CPAN::Meta
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 14 Feb 2018 18:17:03 GMT
Test::CPAN::Meta is up to date (0.25).
[root@nagios libexec]# cpan -i Test::Pod::Coverage
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 14 Feb 2018 18:17:03 GMT
Test::Pod::Coverage is up to date (1.10).
[root@nagios libexec]# cpan -i Test::Pod
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 14 Feb 2018 18:17:03 GMT
Test::Pod is up to date (1.51).
Code: Select all
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Wed, 14 Feb 2018 18:17:03 GMT
Running install for module 'WWW::Curl::Easy'
CPAN: YAML loaded ok (v1.24)
Running make for S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.021)
Checksum for /root/.cpan/sources/authors/id/S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz ok
WWW-Curl-4.17/
WWW-Curl-4.17/LICENSE
WWW-Curl-4.17/META.yml
WWW-Curl-4.17/typemap
WWW-Curl-4.17/template/
WWW-Curl-4.17/template/Easy.pm.tmpl
WWW-Curl-4.17/template/Share.pm.tmpl
WWW-Curl-4.17/lib/
WWW-Curl-4.17/lib/WWW/
WWW-Curl-4.17/lib/WWW/Curl/
WWW-Curl-4.17/lib/WWW/Curl/Form.pm
WWW-Curl-4.17/lib/WWW/Curl/Multi.pm
WWW-Curl-4.17/lib/WWW/Curl/Easy.pm
WWW-Curl-4.17/lib/WWW/Curl/Share.pm
WWW-Curl-4.17/lib/WWW/Curl.pm
WWW-Curl-4.17/README.Win32
WWW-Curl-4.17/Curl.xs
WWW-Curl-4.17/Makefile.PL
WWW-Curl-4.17/MANIFEST
WWW-Curl-4.17/inc/
WWW-Curl-4.17/inc/Module/
WWW-Curl-4.17/inc/Module/Install.pm
WWW-Curl-4.17/inc/Module/Install/
WWW-Curl-4.17/inc/Module/Install/MakeMaker.pm
WWW-Curl-4.17/inc/Module/Install/Metadata.pm
WWW-Curl-4.17/inc/Module/Install/External.pm
WWW-Curl-4.17/inc/Module/Install/Base.pm
WWW-Curl-4.17/inc/Module/Install/Makefile.pm
WWW-Curl-4.17/inc/Module/Install/Can.pm
WWW-Curl-4.17/t/
WWW-Curl-4.17/t/06http-post.t
WWW-Curl-4.17/t/07ftp-upload.t
WWW-Curl-4.17/t/17slist.t
WWW-Curl-4.17/t/21write-to-scalar.t
WWW-Curl-4.17/t/symbols-in-versions
WWW-Curl-4.17/t/05progress.t
WWW-Curl-4.17/t/19multi.t
WWW-Curl-4.17/t/pod.t
WWW-Curl-4.17/t/15duphandle-callback.t
WWW-Curl-4.17/t/10errbuf.t
WWW-Curl-4.17/t/02callbacks.t
WWW-Curl-4.17/t/pod-coverage.t
WWW-Curl-4.17/t/14duphandle.t
WWW-Curl-4.17/t/18twinhandles.t
WWW-Curl-4.17/t/04abort-test.t
WWW-Curl-4.17/t/new/
WWW-Curl-4.17/t/new/07errbuf.t
WWW-Curl-4.17/t/new/08duphandle.t
WWW-Curl-4.17/t/new/06http-post.t
WWW-Curl-4.17/t/new/03body-callback.t
WWW-Curl-4.17/t/new/04abort.t
WWW-Curl-4.17/t/new/02header-callback.t
WWW-Curl-4.17/t/new/05progress.t
WWW-Curl-4.17/t/new/10multi-callback.t
WWW-Curl-4.17/t/new/09duphandle-callback.t
WWW-Curl-4.17/t/new/README
WWW-Curl-4.17/t/new/01basic.t
WWW-Curl-4.17/t/new/00constants.t
WWW-Curl-4.17/t/meta.t
WWW-Curl-4.17/t/09times.t
WWW-Curl-4.17/t/08ssl.t
WWW-Curl-4.17/t/20undefined_subs.t
WWW-Curl-4.17/t/01basic.t
WWW-Curl-4.17/t/13slowleak.t
WWW-Curl-4.17/t/16formpost.t
WWW-Curl-4.17/t/00constants.t
WWW-Curl-4.17/README
WWW-Curl-4.17/Changes
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build S/SZ/SZBALINT/WWW-Curl-4.17.tar.gz
Locating required external dependency bin:curl-config... found at /usr/bin/curl-config.
The version is libcurl 7.19.7
Found curl.h in /usr/include/curl/curl.h
Building curlopt-constants.c for your libcurl version
Building Easy.pm constants for your libcurl version
Building Share.pm constants for your libcurl version
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for WWW::Curl
Writing MYMETA.yml and MYMETA.json
cp lib/WWW/Curl/Share.pm blib/lib/WWW/Curl/Share.pm
cp lib/WWW/Curl/Form.pm blib/lib/WWW/Curl/Form.pm
cp lib/WWW/Curl/Multi.pm blib/lib/WWW/Curl/Multi.pm
cp lib/WWW/Curl/Easy.pm blib/lib/WWW/Curl/Easy.pm
cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm
Running Mkbootstrap for Curl ()
chmod 644 "Curl.bs"
"/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644
"/usr/bin/perl" "-Iinc" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/root/.cpan/build/WWW-Curl-4.17-5Jg2lB/typemap' Curl.xs > Curl.xsc
mv Curl.xsc Curl.c
gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" -fPIC "-I/usr/lib64/perl5/CORE" Curl.c
rm -f blib/arch/auto/WWW/Curl/Curl.so
LD_RUN_PATH="/usr/lib64" gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Curl.o -o blib/arch/auto/WWW/Curl/Curl.so \
-lcurl \
chmod 755 blib/arch/auto/WWW/Curl/Curl.so
Manifying 1 pod document
SZBALINT/WWW-Curl-4.17.tar.gz
/usr/bin/make -- OK
Running make test
"/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- Curl.bs blib/arch/auto/WWW/Curl/Curl.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00constants.t ........... ok
t/01basic.t ...............
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/19 subtests
t/02callbacks.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/7 subtests
t/04abort-test.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
t/05progress.t ............
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/16 subtests
t/06http-post.t ........... skipped: Not performing http POST/upload tests
t/07ftp-upload.t .......... skipped: Not performing ftp upload tests
t/08ssl.t .................
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 9/19 subtests
t/09times.t ...............
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 9/19 subtests
t/10errbuf.t .............. ok
t/13slowleak.t ............ skipped: Not performing slow leakage regression test
t/14duphandle.t ...........
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/17 subtests
t/15duphandle-callback.t ..
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/25 subtests
t/16formpost.t ............ skipped: Not performing POST
t/17slist.t ............... skipped: Not performing printenv cgi tests
t/18twinhandles.t .........
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/12 subtests
t/19multi.t ............... ok
t/20undefined_subs.t ...... ok
t/21write-to-scalar.t .....
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/12 subtests
t/meta.t .................. ok
t/pod-coverage.t .......... ok
t/pod.t ................... ok
Test Summary Report
-------------------
t/01basic.t (Wstat: 1024 Tests: 19 Failed: 4)
Failed tests: 14-15, 17, 19
Non-zero exit status: 4
t/02callbacks.t (Wstat: 512 Tests: 7 Failed: 2)
Failed tests: 6-7
Non-zero exit status: 2
t/04abort-test.t (Wstat: 256 Tests: 8 Failed: 1)
Failed test: 8
Non-zero exit status: 1
t/05progress.t (Wstat: 768 Tests: 16 Failed: 3)
Failed tests: 14-16
Non-zero exit status: 3
t/08ssl.t (Wstat: 2304 Tests: 19 Failed: 9)
Failed tests: 8-9, 11-17
Non-zero exit status: 9
t/09times.t (Wstat: 1536 Tests: 16 Failed: 6)
Failed tests: 11-16
Non-zero exit status: 6
Parse errors: Bad plan. You planned 19 tests but ran 16.
t/14duphandle.t (Wstat: 768 Tests: 17 Failed: 3)
Failed tests: 12-13, 16
Non-zero exit status: 3
t/15duphandle-callback.t (Wstat: 1792 Tests: 25 Failed: 7)
Failed tests: 14-17, 19, 24-25
Non-zero exit status: 7
t/18twinhandles.t (Wstat: 768 Tests: 12 Failed: 3)
Failed tests: 10-12
Non-zero exit status: 3
t/21write-to-scalar.t (Wstat: 768 Tests: 12 Failed: 3)
Failed tests: 9-10, 12
Non-zero exit status: 3
Files=22, Tests=737, 1 wallclock secs ( 0.07 usr 0.03 sys + 0.62 cusr 0.10 csys = 0.82 CPU)
Result: FAIL
SZBALINT/WWW-Curl-4.17.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SZBALINT/WWW-Curl-4.17.tar.gz
Running make install
make test had returned bad status, won't install without force
Code: Select all
[root@nagios libexec]# sudo perl check_zevenet_cpu.pl -H HOSTIP-z ZapiKey-w 20 -c 10
ZEVENET_CPU CRITICAL - Zevenet ADC Load Balancer CPU usage is 0.12 % (99.88 % idle) | Idle=99.88%;20;10 IOWait=0%;; IRQ=0%;; Nice=0%;; SoftIRQ=0%;; Sys=0%;; Usage=0.12%;; User=0.12%;; Total=100%;;